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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting data in two tables

Status
Not open for further replies.

gcastillo

Programmer
Jun 9, 2000
127
MX
Hello
Has somebody tweaked the code to insert data in two databases with DW-UD
 
I dit it with 3 pages.
1) the form
2) page with code to fill the furst table with a redirect to the third
3) fills the other table

You can do this with session vars or with reguest.form

regards
Joszja
 
I don't understand if you want to insert data in two different databases or in two different tables.
In two tables is very simple. You make pages with ultradev as if you want to insert data in only one table and after that you add in the asp code the SQL statement that insert data in the second table.
With different databases you must also open two different connections, and think that UD doesn't allow it so you have to do it by hand Stevie B. Gibson
 
Yes, I mean tables, not databases. I know that you need to add the code to do that, now, the question is, where and how would be the sql statment?
 
I have inserted data from one form into two tables. What error message are you getting? Are you using PHP or ASP?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top