Directlinq
Registered User.
- Local time
- Today, 04:45
- Joined
- Sep 13, 2009
- Messages
- 67
I hope you can help?
Why is the code causing this error?
Data type mismatch
Im trying to look up the highest video_id and get the data from field dtan_lib_no into a variable dtan
Many Thanks
Why is the code causing this error?
Code:
vididmax = Nz(DMax("video_id", "TblVideo"))
dtan = DLookup("[dtan_lib_no]", "[TblVideo]", "[video_id]=""" & vididmax & """")
MsgBox dtan
Data type mismatch
Im trying to look up the highest video_id and get the data from field dtan_lib_no into a variable dtan
Many Thanks