This message serves for Google indexing. It only includes the first message of each thread from technical forums. To see the entire thread, the solutions and the technical content related to each message, you need to log in by going to the main page. This can be done at http://www.universalthread.com. If you do not have an account, we encourage you to create one now and start participating in Microsoft .NET and SQL Server related technology forums, just to name a few. Our database contains nearly two millions valuable high end technical messages. Thanks for the generous contribution to everyone who participated on the site so far, including MVP, Microsoft employees and many other well known contributors. The valuable content of the Universal Thread has created a history of 16 years of high end technical content which has helped many consultants, developers and many others in the industry on a daily basis. The site also offers a subscription option that greatly enhances your site experience.


View message
From22/07/1997 08:54:39
Ron Tse-Jung Huang #011017
Leader Professional Consulting
Shin-Chu, Taiwan
To  
All


Dear sir,

I am now developing application for multiuser networked database and
I am really confused with these things:

1. Begin transaction, rollback, and End Transaction
2. Tableupdate and Tablerevert.
3. Buffering mode


If I have operations on five tables, let's say table TA,TB, TC,TD, and TE
like the following:

Begin transaction
select TA
append blank
replace whatever with whatever
insert into TB (f1,f2,f3) values (x,y,z)
select C
set filter to whatever
replace ALL f1 with value2
select TD
set filter to whatever
go top
Do while !eof()
select TE
append blank
replace f1 with TD.f1
replace f2 with TD.f2*f4*... whatever
select TD
skip
Enddo
End transaction

Are these valid operations? And How can I know whether the commit operations
are performed successfully? Does EndTransaction commit all changes made above?
Or should I issue Begin and End transaction for each respectively?

Another question is about buffer mode. Does begin transaction open buffers for each
table automatically? Or should I issue a setcursorpro statement for each table respectively,
or set form's buffer mode properties?

What is the difference between tableupdate, end transaction, and tablerevert, rollback?
When to use these pairs?

I really need more detailed explaination about all of these, and thanks in advance to any information
that could help me clarify these things.