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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Union queries..max # of fields?

Status
Not open for further replies.

GSMike

Programmer
Feb 7, 2001
143
US
I am trying to create a union query and getting an error message:
"Too many fields defined."
Anybody know the maximum number of fields allowed in a union query? I can't find anything in the documentation on it.
Thanks for your help.
Mike Kemp
 
I found this in the MSDN Library Docs:

The Microsoft Jet database engine has an internal limit of 255 fields per query.

And then this (which might count for Union Queries as well):
As the Microsoft Jet database engine iterates through the records in an update query, it creates a field for the original value and a field for the updated value. When more than 127 fields are selected, it reaches the 255 field limit of a query.

Tim Gill
Gill Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top