Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug? - Select in dbc_AfterOpenTable() causes infinite lo
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00897019
Message ID:
00897031
Vues:
13
No, it's not a bug. Each SELECT statement opens new copy of the table (similar to USE AGAIN) and that causes AfterOpenTable() event to fire.

>I am using VFP 8 SP1.
>To duplicate what looks like a bug:
>
>Create a dbc_AfterOpenTable() event procedure.
>Put a SQL SELECT statement in there.
>Select any fields FROM THE TABLE BEING OPENED,
>into any destination (TO SCREEN, INTO CURSOR).
>
>Result:
>    The SELECT statement causes the AfterOpenTable() to call itself infinitely.
>    Eventually FoxPro will give an error.
>
>Isn't this a bug?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform