Senin, 20 Agustus 2018

Re: [MS_AccessPros] Using option group choices in a query

 

Nigel,

"tblZZZInWarranty" seems like a table name, not a field name. What is the name of the actual field as well as the name of the form and option group?


Thanks,

Duane Hookom




From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of nigel@pegasusconsulting.co.uk [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com>
Sent: Monday, August 20, 2018 9:28 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Using option group choices in a query
 


Hi all,

I have a form with various options that feed into a query. I have added and option group with 3 choices (InWarranty, OutOfWarranty, AllReturns) to the form, but am not sure and struggling to write the critera code in the query for the InWarranty field.

Basically...

- If user chooses InWarranty (index 1) - the query must select all records where tblZZZInWarranty = True
- If user chooses OutOfWarranty (index 2) - the query must select all records where tblZZZInWarranty = False

- If user chooses AllReturns (index 3) - the query must select all records


Can someone point me in the right direction with the criteria code please?




__._,_.___

Posted by: Duane Hookom <duanehookom@hotmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


SPONSORED LINKS
.

__,_._,___

Tidak ada komentar:

Posting Komentar