A
Asif
I have a textbox (txt_StartDate) and I have a listbox (lst_CableEnds).
The listbox picks up data from a query (qry_Cables) and the contents
of that listbox are Bin Number, Date and Quantity. Just to make
something clear txt_StartDate and Date are two different fields with
different information. txt_StartDate is the date when the bin was
started and Date is the individual dates when something is emptied
into a bin. What I want to do is when I go to a new record the
contents of the listbox are cleared but I want the value in
txt_StartDate to change so that it includes the last date in the
listbox before it was cleared i.e. if the last entry in the listbox is
23/04/07 and I go to a new record then txt_StartDate should show
23/04/07.
Any suggestions??
The listbox picks up data from a query (qry_Cables) and the contents
of that listbox are Bin Number, Date and Quantity. Just to make
something clear txt_StartDate and Date are two different fields with
different information. txt_StartDate is the date when the bin was
started and Date is the individual dates when something is emptied
into a bin. What I want to do is when I go to a new record the
contents of the listbox are cleared but I want the value in
txt_StartDate to change so that it includes the last date in the
listbox before it was cleared i.e. if the last entry in the listbox is
23/04/07 and I go to a new record then txt_StartDate should show
23/04/07.
Any suggestions??