Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you open multiple tables from a database in a form and update..

Status
Not open for further replies.

samuelsisgay

Programmer
Apr 17, 2002
4
0
0
AU
How do you open multiple tables from a database in a form and update records - that is, fill the records according to user entries in a textbox, checkbox, etc.

I have a problem with updating multiple table records from a single database. Eg.

I can open a certain table from a database and retrieve its records but cannot connect to another table within the same database(in the same form) and add new records to it. I have a command button that should do this job.
 
You can specify different recordsets to open or different tables. If you are to update many tables at 1 time, then it would be better to have commit/rollback sessions :>
 
How do you organise commit/rollback sessions??
Can you point out where i can find some code?
 
If you're using Jet, then look up 'Transaction' in JetSQL help, which is normally in:
"C:\Program Files\Common Files\Microsoft Shared\Office10\1033"

If you're using MSSQL look in SQLBooksOnLine, downloaded from:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top