Stemdriller
Registered User.
- Local time
- Today, 09:32
- Joined
- May 29, 2008
- Messages
- 187
Hi People
I am trying to nail some DMax code, and could do with some help
I have an unbound text box called DateOfPrev, I am trying to get the code to lookup the last date that a particular client visited our site
=Dmax("DateOfVisit","tblVisits","CustRef = txtCustRef")
The above code just brings back the latest date from tblVisits, I am trying to only bring back the latest date for the specifc Client specified in txtCustRef.
Help would be appreciated.
Thanks
Gareth
I am trying to nail some DMax code, and could do with some help
I have an unbound text box called DateOfPrev, I am trying to get the code to lookup the last date that a particular client visited our site
=Dmax("DateOfVisit","tblVisits","CustRef = txtCustRef")
The above code just brings back the latest date from tblVisits, I am trying to only bring back the latest date for the specifc Client specified in txtCustRef.
Help would be appreciated.
Thanks
Gareth