trying to help

August 14, 2003 by Amaro Amaral

Hello!

You want to write in two tables at the same time, OR... to write in 2 separate tables passing de IDKEY of the primary table to make a relationship with the SECOND table?

I use a little thing since ever, a passit to a second page where it performs a INSERT TO command for the second table. I retrive the data or the IDKEY only by a recordset using order DESC selecting the last one inserted, in case of several users i make a field in the inserting table where in records always the username and a timestamp, so when i make the recordset i use the DESC and WHERE USERNAME LIKE.

 I know it sounds complicated due this "not so good" explanation, sorry for my bad english!

hope it helps you, somehow.

A. Amaral

ImpAKT

November 8, 2004 by Chris Charlton
Check out ImpAKT Otherwise you can do things in MySQL like multiple VALUES strings [ex: (value1a,value2a)(value1b,value2b) ]