Forum Moderators: LifeinAsia
Make sure you've got a field in the tables that will relate to each other in all the databases and make sure they match. I've got my site set up with about 5 different databases as it's really a drag to add something new when you've got to download and upload something that is 50 megs or more in size. Split it up and it's much more manageable. You can use your autonumber in the "key" database, but you'll have to create a field in the "sub" or non-key database to match in with the field in the key. That way you don't have to create a bunch of empty rows in the event that information isn't added to both tables simultaneously (and makes it so you don't HAVE to update/add records simultaneously).
Good Luck.
G.
JuDDeR, what would be the correct "code" to do this?;
Set adoCon = Server.CreateObject("ADODB.Connection")
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/guestbook/db1.mdb")
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/forum/db2.mdb")
Grumpus, my db's are not related to each other in any way, is there really a need to connect them ?
Thanx Again