Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relation
Message
From
15/10/1999 12:20:24
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00276774
Message ID:
00276933
Views:
31
Milt,

Are you using relations defined in the Form or in the DBC as RI?

Overall, it sounds to me like you may want to rethink the architecture....or, think about this: Add a field to the table(s) named newflag, logical. When appending (using INSERT INTO I hope or this won't work), set it .T. and then set false later, right before the Tableupdate.

In your validation logic, check for that .T. setting. If newflag=.T. for the record, skip all other validation (return .t.)


>Don't I have to do a skip in order to update the relations in the tables. In another words if I don't then the relations between orders and clients won't be refresh on the screen. Won't it still be showing the another record.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform