H
Hutch
I am new so sorry if this is basic. I am designing a larger database, but was
able to reproduce the problem with a smaller one. Here is the problem.
I have two tables, the first is Main which has four fields,
ID (autonumber), Date, Name and OrderID (number).
The second table is Order which has two fields,
OrderID (autonumber) and ProductName.
I created a query and only included all fields from Main and only
ProductName from Order.
The problem I am having is that I do not use the ProductName field on every
data entry that is done. I get an error that it cannot locate the OrderID. I
know that this error is because I did not enter any data in the Order Table,
which did not generate the autonumber for the Order Table. I have seen this
done in the Northwind Database, but am not sure how it was done.
Can I have tables that include auto numbering, but only use the tables when
needed?
able to reproduce the problem with a smaller one. Here is the problem.
I have two tables, the first is Main which has four fields,
ID (autonumber), Date, Name and OrderID (number).
The second table is Order which has two fields,
OrderID (autonumber) and ProductName.
I created a query and only included all fields from Main and only
ProductName from Order.
The problem I am having is that I do not use the ProductName field on every
data entry that is done. I get an error that it cannot locate the OrderID. I
know that this error is because I did not enter any data in the Order Table,
which did not generate the autonumber for the Order Table. I have seen this
done in the Northwind Database, but am not sure how it was done.
Can I have tables that include auto numbering, but only use the tables when
needed?