Hi all,
Not sure if this is possible, so I'm after some advice.
I have a field in my form that records the turntime taken for items being returned by a vendor. There will be multiple records in the db that are linked by a common serial number, but the different items will be despatched and returned at different times, hence more than one record is needed. The turntime is calculated from the last item despatched date, to the last item received date.
Is it possible to -
1) Filter all records with a particular serial number.
2) Select the latest despatched date from the filtered records.
3) Select the latest date received from the filtered records.
4) Calculate the turntime based on these two dates and enter the value into a field on all of the filtered records.
I think I may have to create an outer form with the serial number on it, and then a subform for all the items despatched that are linked to that serial number.
Any ideas would be greatly appreciated.
Kev.
Not sure if this is possible, so I'm after some advice.
I have a field in my form that records the turntime taken for items being returned by a vendor. There will be multiple records in the db that are linked by a common serial number, but the different items will be despatched and returned at different times, hence more than one record is needed. The turntime is calculated from the last item despatched date, to the last item received date.
Is it possible to -
1) Filter all records with a particular serial number.
2) Select the latest despatched date from the filtered records.
3) Select the latest date received from the filtered records.
4) Calculate the turntime based on these two dates and enter the value into a field on all of the filtered records.
I think I may have to create an outer form with the serial number on it, and then a subform for all the items despatched that are linked to that serial number.
Any ideas would be greatly appreciated.
Kev.