Hi!
I would like to use a text box that would return the last value entered.
I have a table that keeps the following information.
Rep, Date, Product, Amount
so James, 5/20/09, Candy, $20
Joe, 5/21/09, SOda, $5
James, 5/21/09, Soda, $21
Is there any way that on the entry form i Can add a Dlookup that can go back to that table and bring back the "Amount" of the "Rep" on the last day they sold something?
Here is what I have
=DLookUp("[Amount]"," Sales","[Rep] ='" & [Rep] & "'" & "And [SaleDate]= last[SaleDate]")
But i get an Error...is this even possible?
Any help would be greatly appreciated.
Thanks
I would like to use a text box that would return the last value entered.
I have a table that keeps the following information.
Rep, Date, Product, Amount
so James, 5/20/09, Candy, $20
Joe, 5/21/09, SOda, $5
James, 5/21/09, Soda, $21
Is there any way that on the entry form i Can add a Dlookup that can go back to that table and bring back the "Amount" of the "Rep" on the last day they sold something?
Here is what I have
=DLookUp("[Amount]"," Sales","[Rep] ='" & [Rep] & "'" & "And [SaleDate]= last[SaleDate]")
But i get an Error...is this even possible?
Any help would be greatly appreciated.
Thanks