Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert into dbf()
Message
From
06/08/2001 19:49:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Insert into dbf()
Miscellaneous
Thread ID:
00540471
Message ID:
00540471
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform