Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter default 'Add' button behavior
Message
From
14/06/1999 15:44:56
 
 
To
14/06/1999 15:38:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00229627
Message ID:
00229662
Views:
15
Hi Lorne ---

Something is going wrong, then. At the simplest level, your Add button Click() code, with table buffering, should look like:

INSERT INTO table (field1,field2) VALUES (mVal1,mVal2)
THISFORM.Refresh()

Maybe your not doing the refresh?

>Changing to Table buffering stopped the error message, but the insert does not happen, so I assume I will have to overwrite to Add button behavior after all.
------------------------------------------------
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
Next
Reply
Map
View

Click here to load this message in the networking platform