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!

Query Except Certain Fields

Status
Not open for further replies.

Rafool

Technical User
Sep 23, 2002
12
IL
Hi,

Is there a way to write a query to SELECT Table.* EXCEPT Table.Field1, Table.Field2, etc.? I have a table whose fieldlist will constantly change, but I need to call the whole table except a few fields?

Thanks.
 
I don't think that's possible...

but you can create a report that exclues the specifed fields...
 
You may build your sql on the fly based on the Fields collection of a TableDef object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top