Wol >From memory (sorry using webmail here) you're calling the subroutine with a >record read throug a file object.
Make sure you extract the stringvalue for the call or you may get reference errors - remember record is a dynamic array object not a string. This may be why it doesn't fail if the record is changed: it's creating a new reference. Regards Brian In message <[EMAIL PROTECTED]>, David Jordan <[EMAIL PROTECTED]> writes >Hi Wol > >UniObjects does not like returning unassigned variables, it causes a fatal. >In the unibasic subroutine, you could check if the parameter is unassigned >and set it to "" before returning. > Thanks - that's a good thing to know. But it's not the case here. The error is that the subroutine never gets called, if I've got it right. Certainly, none of the DataBasic code seems to run (almost the first thing it does is write diagnostic tracking stuff to a file, and that never happens). And all the arguments are assigned in my VB app before I call it, so they should still be assigned when it returns :-) Thanks, Wol -- Anthony W. Youngman <[EMAIL PROTECTED]> 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - <http://www.maverick-dbms.org> Open Source Pick ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
