Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whats wrong with this Update statement?
Message
From
04/01/2003 18:51:48
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
To
04/01/2003 18:38:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00738082
Message ID:
00738090
Views:
23
Hi Al:

Thank you for your response.

>In general the use of RECNO() in SQL commands is unreliable; VFP may open other instances of your table(s) in unexpected order(s). If you look closely at your table you may actually find that a record other than the one you want is getting updated.

There is only one record in the the Clinic table.
>
>Instead, each table should have a primary key and you should update based on that key.

I don;t have a primary key there because the clinic numbers and group numbers are hardcoded during production.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform