Johnny23
Feb 8th, 2001, 04:00 PM
how do i create a .asp within Ultradev
that inserts records into 2 of my tables when i click
on the submit button
ie
my text box fields on the details.asp are
UserFirstName
UserSurname
Email
ManagerName:
managersSurname:
EMail
ClientNAme
ClientSurname
Email
im using an SQL7 database
with the following TABLES and fields
USER
userid (primarykey)
managerID (foreignkey)
ClientID (foriegnkey)
UserFirstName
UserSurname
Email
MANAGER
MANAGERID (PrimaryKey)
ManagerName:
managersSurname:
EMail
CLIENT
Clientid (primarykey)
ClientNAme
ClientSurname
Email
i have been stuck on this for days i can insert a record into the user table but it will not allow me to insert into more then one TABLE per page and i have 3 tables i want to inserton on in this page
please help me out as im really really stuck
also
my ID Fields in my database all have primary keys set to
not allow nulls how do i get my form to increment these values
each value of
userid
managerid
clientid
as i insert more records?
im so verystuck and tried everything i can???
PLEASE
PLEASE
HELP ME OUT
that inserts records into 2 of my tables when i click
on the submit button
ie
my text box fields on the details.asp are
UserFirstName
UserSurname
ManagerName:
managersSurname:
ClientNAme
ClientSurname
im using an SQL7 database
with the following TABLES and fields
USER
userid (primarykey)
managerID (foreignkey)
ClientID (foriegnkey)
UserFirstName
UserSurname
MANAGER
MANAGERID (PrimaryKey)
ManagerName:
managersSurname:
CLIENT
Clientid (primarykey)
ClientNAme
ClientSurname
i have been stuck on this for days i can insert a record into the user table but it will not allow me to insert into more then one TABLE per page and i have 3 tables i want to inserton on in this page
please help me out as im really really stuck
also
my ID Fields in my database all have primary keys set to
not allow nulls how do i get my form to increment these values
each value of
userid
managerid
clientid
as i insert more records?
im so verystuck and tried everything i can???
PLEASE
PLEASE
HELP ME OUT