Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AfterOpenTable - Is it really AFTER?
Message
From
02/11/2001 15:05:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
AfterOpenTable - Is it really AFTER?
Miscellaneous
Thread ID:
00576953
Message ID:
00576953
Views:
41
The AfterOpenTable Event in the .DBC seems to fire *during* the opening of the file, not *after* it.

Try the following:
PROCEDURE dbc_AfterOpenTable(cTableName)
*After a table or view is opened.
	GO BOTTOM
ENDPROC
When you BROWSE after issuing USE MyDBC.MyFile, you're at the top!

The record pointer does move, however. Try the following:
PROCEDURE dbc_AfterOpenTable(cTableName)
*After a table or view is opened.
	GO BOTTOM
	SUSPEND
ENDPROC
When you suspend, you're at the bottom of the file. After you resume, you're at the top.

I guess what I need is a "CompletelyAfterOpenTable" Event.

Anyone have any ideas on how to achieve this?

- George
Next
Reply
Map
View

Click here to load this message in the networking platform