Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field not saving
Message
 
 
To
10/06/2001 20:53:30
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00517405
Message ID:
00517606
Views:
14
>These forms are NEVER opened at the same time. The only thing they share is the memo field. Same bound field, two forms which are never opened at the same time. Form A always can save it additions and changed, while form B never does. I even copied the exact control from form A to form B. Same problem.

Are you 100% sure, it's the same table in both cases? Could it be, that one of the form uses another table (say, in its DE)? I once had similar situation. My first application called another application. In the second I made some changes in a table, but the first form never sees them. Finally I found, that I had the same table in Data directory of the first application, so instead of main copy it took another version. Check this.

Other than that, I'm afraid, I'm out of ideas :(

>
>>>"Does the data entered in the form show up in the table if you browse the table?" - only if I use form A, if I use Form B it's as if the changes were never made.
>>>
>>>
>>>"Does the data entered in the form show up in the table if you browse the table?" - see above
>>>
>>>"What kind of buffering are you using on the table in each form?" - optimistic table and it returns ok that the update was successful.
>>>
>>
>>Do these forms share one DS or each opens this table in its own DS. If yes, this is the culprit, I think.
>>
>>
>>
>>>Pretty strange
>>>
>>>
>>>>I want to narrow down where the actual problem is.
>>>>
>>>>Does the data entered in the form show up in the table if you browse the table?
>>>>
>>>>Is the 2nd form open when you are editing the field in the first form?
>>>>
>>>>What kind of buffering are you using on the table in each form?
>>>>
>>>>If using buffering, what value does TableUpdate() return?
>>>>
>>>>>EDIT control bound to a table. No views.
>>>>>
>>>>>
>>>>>>>I have two modal forms which share the same memo field. When notes are entered into the memo field in one form, they are not saved and do not show up in the memo field when one form is closed and the other is opened. I'm doing a tableupdate and everything seems ok. Am I forgetting to do something basic?
>>>>>>>
>>>>>>>thanks
>>>>>>
>>>>>>Are you using a view or editing the table directly? If a view, is the property SendUpdates set to true? Can you browse the table and verify the data was not saved. Are you using an Edit control on the form and binding it to the memo field?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform