Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Corrupted view
Message
From
11/10/2001 07:21:18
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
11/10/2001 06:41:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00566834
Message ID:
00566853
Views:
12
sorry you are right Francisco maybe the problem is in the second tableupdate if the second tableupdate is over the child view and the child view is table buffering then use TABLEUPDATE(1,.t.,"B")
I think that .t. as the first is only use for record buffering (idon't know if this is true or not perhaps someone can confirm this).

>Hello Alexandre,
>
>The tableupdate parameters are ok. The table alias is the third parameter and the error array is the fourth parameter.
>We only use the first three parameters of tableupdate.
>
>>Hi Francisco
>>is something wrong with your tableupdate since the second parameter is the table alias and the third is the name of an array to be created if the table update fails
>>
>>>I have a very strange problem that happens only in VFP7
>>>
>>>I have two parameterized remote views (parent and child)
>>>The parent view has only one record and child view as several records
>>>
>>>When I want to update the server, I do:
>>>
>>>
>>>begin transaction
>>>if tableupdate(.t.,.t.,"A") and tableupdate(.t.,.t.,"B")
>>> end transaction
>>>else
>>> rollback
>>>endif
>>>
>>>
>>>after the «end transaction» command, the remote view "B" (the child one which has several records) becomes corrupted.
>>>
>>>Any clues ?
>>>
>>>Thank you.
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform