Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate() Problem
Message
From
16/10/1998 07:32:57
 
 
To
16/10/1998 07:18:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00147398
Message ID:
00147418
Views:
37
>>>Hi !
>>>The question was perhaps allready answered but I have a strange problem :
>>>
>>>1. I had a form with text fields with buttons on the form to Edit, Save or Restore With TableUpdate() or TableRevert(). I could edit a record, change something in one field and when I click Save --> It was saved...
>>>
>>>2. Now I've done a toolbar instead of buttons of the form. But If I edit and don't go to the next field, nothing is updated with the Save button !!! If I go to the next field with TAB or Enter the field is updated when I Click Save on the toolbar...
>>>
>>>It seem that there is no valid or LostFocus Event since I have put a Toolbar !!
>>>
>>>Thanks for your help and sorry for my bad english !
>>>
>>>Gilles
>>
>>Hello, Gilles
>>
>>Is there any code in Valid/LostFocus that you're depending on? ControlSource on your fields is a table/view field?
>> Your english is just fine. :-)
>
>I have no code in Valid and LostFocus and my Controlsource is a table field....
>
>Gilles


Ok, just wondered.
Do you call a form's method which updates the table from the toolbar, or do you try TableUpdate() right there? If you do as I suspect, directly on toolbar, try a method in your form, I do it that way and it works.
Danijel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform