Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

True and False in queries

Status
Not open for further replies.

NWTrust

Technical User
Apr 2, 2002
68
GB
I'm trying to create a make-table query using True and False in the fields. Simply using True and False doesn't seem to be the answer. Using =True and =False only results in the = disappearing. Can anyone help me, please.
 

What are you trying to accomplish?

Create a yes/no field?
The TRUE or FALSE would be saved as -1 and 0.

Create a text field?
Put quotes around the text -- "True" or "False".


Randy
 
I'm trying to create a table containing only the TRUE fields from another table.
 

Post the SQL you're using for your make table query.


Randy
 
how about
Code:
SELECT     *
INTO            newtablename
FROM         oldtablename
where truefieldname=-1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top