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

_tally will tell you how many records updated. What leads you to the conclusion that the update is not succeeding? What is clinic, a table? a local view? a remote view?

I'd guess that the first record in the table is deleted, with SET DELETED ON.

If clinic is a view the change won't make it to the real table until you issue a TableUpdate().

>The following is an update statement in the save button. It gives no error messages, but the table is not updated.
>
>
update clinic set clinic.grop_num = int(mgrop_num)), ;
>	clinic.clnc_name = mclnc_name, ;
>	clinic.address2 = maddress2, ;
>	clinic.address22 = maddrss_22 ,;
>	clinic.city = mcity, ;
>	clinic.province = mprovince, ;
>	clinic.postalcode = mpostalcode, ;
>	clinic.area_phone = marea_phone,;
>	clinic.phone = mphone, ;
>	clinic.area_fax = marea_fax ,;
>	clinic.facsimile = mfacsimile, ;
>	clinic.Gender = mDefaultGender;
>	where recno() = 1
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform