By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,392 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,392 IT Pros & Developers. It's quick & easy.

DoCmd.OpenReport - stLinkCriteria

P: 26
Hi,

I have a numeric Field RFINo and a Yes/No Data type for Issued

stLinkCriteria = "[RFINo] = " & lstRFINo.Value & " And [Issued] = Yes"

With the above I am not getting the specific record.

Pls advice.

Thanks & Regards,
Ruth.
Nov 30 '06 #1
Share this Question
Share on Google+
3 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
Hi,

I have a numeric Field RFINo and a Yes/No Data type for Issued

stLinkCriteria = "[RFINo] = " & lstRFINo.Value & " And [Issued] = Yes"

With the above I am not getting the specific record.

Pls advice.

Thanks & Regards,
Ruth.
Try ...

Expand|Select|Wrap|Line Numbers
  1.  
  2. stLinkCriteria = "[RFINo]= " & Me.lstRFINo & " And [Issued] = -1"
  3.  
Nov 30 '06 #2

P: 26
Try ...

Expand|Select|Wrap|Line Numbers
  1.  
  2. stLinkCriteria = "[RFINo]= " & Me.lstRFINo & " And [Issued] = -1"
  3.  

Thanks.. It works..

Regards,
Ruth
Nov 30 '06 #3

MMcCarthy
Expert Mod 10K+
P: 14,534
Thanks.. It works..

Regards,
Ruth
You're welcome Ruth.

Mary
Nov 30 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.