Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 version of PreVFP historic code
Message
 
To
14/07/2004 08:55:07
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00922398
Message ID:
00924211
Views:
33
Hi Alan

Thanks for responding.

> If you use READ EVENTS more than once in an app, the second and subsequent READS EVENTS have no effect. It isn't like the old READ where you could pile them up and nest them, it is a different approach(sophisticated? ) to doing the job.

Okay

> If your framework sticks in a READ EVENTS for you then I would stay with that alone and only CLEAR EVENTS when you want to exit the app at the end. This means that you don't need a tlFirstTime routine, just call on the select object when you need it by making it visible.

Done.

> In order to look at this I will need a bit more detail about your specific app. Does your framework generate code that you can look at and possibly edit?

I am using CodeBook, and yes the code is editable, in fact overrideable.

> I assume that it starts by initialising some variables, opening tables, setting indexes, defining the environment, etc. The next step would normally be to DO a form followed by a READ EVENTS followed by a tidy up routine.

DO the menu and READ EVENTS I guess, there is no default form, just the desktop.

> I can't find a reference to an error "table is not accessible". Is the error message you get "Cannot access the selected table"? This is documented in the help file as "attempting to reference a file variable in a table that is not open" where file variable means field name. If so it would suggest that the table you are using has been closed in an earlier step.

Yup I tried to keep the cursor open. There are some quirks with other related things and it is working to an extent, but now the selection fails, is it because the form is not released?

> If you want to email me your code, tables and the sequence you go through to generate the problem, I will be glad to take a look at it.

That will be the whole jing-bang.

Do I have to do a locate to get the selection (see above) details?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform