Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AfterOpenTable - Is it really AFTER?
Message
De
02/11/2001 15:12:51
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
02/11/2001 15:05:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00576953
Message ID:
00576958
Vues:
15
Put a breakpoint on RECNO(tablename) and see where it goes back to the top. Put your code there.

>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
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform