L
Leslie Isaacs
Hello All
I am using A97.
I need to create two tables, [payments] and [equipment].
The idea is that [payments] contains various details about all the payments
that are made, some of which are for items of equipment, and for those
payments that are for equipment I need to record further information about
the equipment (serial number, make, model number, warranty period, etc.).
The equipment information should be stored in table [equipment].
I know how to set up the tables (I think!: primary key in table [payments]
joined one-to-many to foreign key field in table [eqiopment]), but my
difficulty is that I want the user to have a single form to enter data into
both tables, such that if (and only if) they enter any data in (say) the
'equipment_serial' or equipment_make' fields - or any of the fields from
table [equipment] - then a new record is created in table [equipment], with
the corresponding value in the foreign key field that is related to the
primary key field in table [payments].
I hope I have explained this adequately, and that someone can help.
Thanks
Les
I am using A97.
I need to create two tables, [payments] and [equipment].
The idea is that [payments] contains various details about all the payments
that are made, some of which are for items of equipment, and for those
payments that are for equipment I need to record further information about
the equipment (serial number, make, model number, warranty period, etc.).
The equipment information should be stored in table [equipment].
I know how to set up the tables (I think!: primary key in table [payments]
joined one-to-many to foreign key field in table [eqiopment]), but my
difficulty is that I want the user to have a single form to enter data into
both tables, such that if (and only if) they enter any data in (say) the
'equipment_serial' or equipment_make' fields - or any of the fields from
table [equipment] - then a new record is created in table [equipment], with
the corresponding value in the foreign key field that is related to the
primary key field in table [payments].
I hope I have explained this adequately, and that someone can help.
Thanks
Les