K
Kate
I have a query that has two fields in it. The first is a batch number,
and the second is the quantity of that batch issued. The second field
is sometimes empty. This is because the main form has a subform which
keeps track each time the part is issued. The second field in my query
is based on the table belonging to the subform, so that if a part has
not been issued, it won't be in the subform table, and therefore won't
appear in the second field in my query.
Currently I have this:
field: Batch QtyIssued: QtyIssued
table: Batch BatchIssue
total: GroupBy Sum
The second field appears on a separate subform on the main form, and if
it is empty, I want '0' to appear on the form (and on the query
preferably). But I'm having trouble setting this as a default. It
doesnt seem to work if I do it on the form and I'm not quite sure how
to do it from the query. Maybe i need to turn the query into an update
query, create a new table to update, and base my subform off that??
Help!
and the second is the quantity of that batch issued. The second field
is sometimes empty. This is because the main form has a subform which
keeps track each time the part is issued. The second field in my query
is based on the table belonging to the subform, so that if a part has
not been issued, it won't be in the subform table, and therefore won't
appear in the second field in my query.
Currently I have this:
field: Batch QtyIssued: QtyIssued
table: Batch BatchIssue
total: GroupBy Sum
The second field appears on a separate subform on the main form, and if
it is empty, I want '0' to appear on the form (and on the query
preferably). But I'm having trouble setting this as a default. It
doesnt seem to work if I do it on the form and I'm not quite sure how
to do it from the query. Maybe i need to turn the query into an update
query, create a new table to update, and base my subform off that??
Help!