I
idtjes3
Hello
Im working on a form and i want to calculate a column on a sub form based
on a specific condition. I basically have 4 items a user can choose from in
a drop down box. The user selects which item it is, enters a unit quantity,
and the date it was purchased. Off to the side i want to create a section
where it will list: Item1, Item2, Item3, and Item4. Then, I want next to each
item the total number of units for that item taken from the subform.
This needs to be done because i need to know how much of each item was used
for a particular job and not just a complete total of all the units
reguardless of the item they are for. In the box next to the Item i want
something along the lines of : Sum([UnitQuantity]) Where([ItemID]="Item1")
and so on for each item. Ive tried this a few ways but all returned an error.
Any ideas? Is this the best way to approach this sort of thing? I prefer to
show it this way so a user has a quick reference for the items of the job.
Thanks.
Im working on a form and i want to calculate a column on a sub form based
on a specific condition. I basically have 4 items a user can choose from in
a drop down box. The user selects which item it is, enters a unit quantity,
and the date it was purchased. Off to the side i want to create a section
where it will list: Item1, Item2, Item3, and Item4. Then, I want next to each
item the total number of units for that item taken from the subform.
This needs to be done because i need to know how much of each item was used
for a particular job and not just a complete total of all the units
reguardless of the item they are for. In the box next to the Item i want
something along the lines of : Sum([UnitQuantity]) Where([ItemID]="Item1")
and so on for each item. Ive tried this a few ways but all returned an error.
Any ideas? Is this the best way to approach this sort of thing? I prefer to
show it this way so a user has a quick reference for the items of the job.
Thanks.