db_dump error
- Posted by ronaustin at alltel.net Oct 16, 2003
- 476 views
I tried the following code to do a dump of my database but got an error. = =0D =0D procedure onClick_MenuPrint(integer self, integer even, sequence parms)=0D err =3D db_open("Eye-Comp",DB_LOCK_NO)=0D fn =3D open("diag.dmp","w")=0D db_dump(fn,0)=0D db_close()=0D end procedure =0D setHandler({ MenuPrint, ToolPrint}, w32HClick, routine_id(=20 onClick_MenuPrint" ))=0D =0D =0D ex.err=0D =3D=3D=3D=3D=0D work.exw:504 in procedure onClick_MenuPrint() =0D type_check failure, fn is 4 =0D self =3D 25=0D even =3D 4=0D parms =3D {}=0D =2E.. called from E:\Euphoria\EyeComp\win32lib.ew:7146 in function invokeHandler() =0D id =3D 25=0D event =3D 4=0D params =3D {}=0D lRoutines =3D {=0D {76'L'}=0D }=0D lCallType =3D 1=0D i =3D 1=0D j =3D 1=0D It looks to me like I did it just like the documentation said to, but I m= ust have done something wrong.=0D =20