Link Criteria Problem

M

Merwin12

Having a type mismatch on this one:
Date_returned is datetime while Client_id is integer

stLinkCriteria = "[Date_Returned]=" & "#" & Me!
[txtDateReturnedNow] & "#" And "[CLIENT_ID]=" & Me!
txtClient_id

Please help. thanks.
 
T

Treebeard

stLinkCriteria = "[Date_Returned]= #" & Format$(Me![txtDateReturnedNow],
"mm/dd/yyyy") & "# And [CLIENT_ID] = " & Me!txtClient_id
 
M

Merwin12

Thanks a mil!
-----Original Message-----
stLinkCriteria = "[Date_Returned]= #" & Format$(Me! [txtDateReturnedNow],
"mm/dd/yyyy") & "# And [CLIENT_ID] = " & Me!txtClient_id

Having a type mismatch on this one:
Date_returned is datetime while Client_id is integer

stLinkCriteria = "[Date_Returned]=" & "#" & Me!
[txtDateReturnedNow] & "#" And "[CLIENT_ID]=" & Me!
txtClient_id

Please help. thanks.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top