Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert into dbf()
Message
De
06/08/2001 19:49:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Insert into dbf()
Divers
Thread ID:
00540471
Message ID:
00540471
Vues:
56
I'm using VFP 5.0a
I'm looking to insert a record into a table from the validation rule of the same table.
Procedure SomeTable_Valid()
if Some_Test
    insert into SomeTable .......
endif
I've discovered that this will generate an error "illegal recursion ....", but it still inserts the new record and executes SomeTable_Valid() on the new record.

My question:
Is there any reason to believe that this action will change in future versions? IOW: Does any one know of any reason why I can't put in a test to trap for this particular error and ignore it?
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform