M
Mike
Hi, I postthis question alomost a month ago and got few
suggestions, but couldn't get it to work. I'm back and
here it is again.
Good old Inventory question.
one table as Inventory "tblInventory" another table for
Transaction "tblTransaction".
I have a frmInventory that is used to enter data into the
tblInventory. For transactions, i.e. items moving out of
the inventory and out of the shop, I need to have a from
on which I can enter more than one items at a time and
charge them to a job number. I have created another
table, "tblInvoice" with InvoiceNumber (code generate
it),CustomerName, and InvoiceDate on it and created a
form based on this tblInvoice, continous form and had the
Transaction form, frmTransation on this form as a
subform. The job number comes from another table, tblJobs
and is a Combo box onthe FrmTransaction. Now I enter one
record, its ok, as soon as I enter a second record, same
InvoiceNumber, same Invoicedate, and same JobNumber, I
get an error message that cannot create duplicate value.
I have played wiht the primKey of these tables as below:
Index, InvoiceNumber, Index primKey for the tblInvoice
Index, PartNumber - PrimKey for the tblTransaction
I have made the index prim key but still getting the same
message. I tried to change the primkey in my tblJobs to
index form the jobNumber but same problem.
can someone please help me get this done. I'm running out
of time and under a lot of pressue from my user community.
Thank you in advance.
Mike
suggestions, but couldn't get it to work. I'm back and
here it is again.
Good old Inventory question.
one table as Inventory "tblInventory" another table for
Transaction "tblTransaction".
I have a frmInventory that is used to enter data into the
tblInventory. For transactions, i.e. items moving out of
the inventory and out of the shop, I need to have a from
on which I can enter more than one items at a time and
charge them to a job number. I have created another
table, "tblInvoice" with InvoiceNumber (code generate
it),CustomerName, and InvoiceDate on it and created a
form based on this tblInvoice, continous form and had the
Transaction form, frmTransation on this form as a
subform. The job number comes from another table, tblJobs
and is a Combo box onthe FrmTransaction. Now I enter one
record, its ok, as soon as I enter a second record, same
InvoiceNumber, same Invoicedate, and same JobNumber, I
get an error message that cannot create duplicate value.
I have played wiht the primKey of these tables as below:
Index, InvoiceNumber, Index primKey for the tblInvoice
Index, PartNumber - PrimKey for the tblTransaction
I have made the index prim key but still getting the same
message. I tried to change the primkey in my tblJobs to
index form the jobNumber but same problem.
can someone please help me get this done. I'm running out
of time and under a lot of pressue from my user community.
Thank you in advance.
Mike