Hello List.

I'm hoping that someone out there can help me. I have an application in Visual Basic that uses UniObjects. There is a text box that prompts for a record id. In the lost focus event of the record id's text box, I am opening a file, reading a record, and populating all of the other text boxes on the form. At the end of the SUB, it closes the file, and disconnects from the ObjSession. Sounds easy enough right? Wrong!

The first pass through goes fine. I enter an ID and the boxes are populated. However, when I go back to enter a second record id, it appears that the .OPENFILE method in the lost focus event fails. The FileObj is set to NOTHING. However, the .ERROR property of the ObjSession is set to 0 (zero) so it also seems that no error occurred.

Either way, I cannot use the File Object as all of the subsequent methods of the File Object fails.

I have searched the UVDocs documentation and, according to it, I am using all of the objects and methods correctly.

Universe 9.6.1.3 on NT

Thanks, in advance, for any help that anyone can offer.

_________________________________________________________________
Rethink your business approach for the new year with the helpful tips here. http://special.msn.com/bcentral/prep04.armx


_______________________________________________
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to