Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction syntax
Message
From
13/04/2004 12:03:35
 
 
To
13/04/2004 10:29:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00894208
Message ID:
00894449
Views:
9
><snip>
>Hi Nancy,
>
>Do I need to include llOK evaluation for the VW_CHILD tableupdate?

Usually I set llOK = Tableupdate, yes. But in the example code, no, because the LOCAL statement initializes it to false.

>
>
>>local llOK
>>begin transaction
>>  if tableupdate(.t.,.t.,'vw_child') && do I need llOK here?
>>     llOK = tableupdate(.t.,.t.,'vw_parent')
>>  endif
>>if llOK
>>  end transaction
>>else
>>  rollback
>>  tablerevert(.t.,'vw_child') && Or do something to fix the problem
>>  tablerevert(.t.,'vw_parent') && Or do something to fix the problem
>>endif
>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform