C
C. Homey
I am helping some colleagues with an Access 2000 database and they
have set their database up backwards - in other words, instead of
setting up the fields so that you have a single field called "hotel",
they actually created a field that is each hotel (Four Seasons /
Hilton / Marriott). They only have a small number of records in their
database, but they have maxed out the fields (255)fields. Oy. So
their problem is apparent: when they create a query, they have to
deal with all 255 fields. So I have been asked if you can get a query
to report only the fields with data in them.
I am not a programmer so I don't know how to write code that might
suppress unused fields or pull only fields with data in them.
So, here's the question: is there a way to query all the fields, yet
only see the fields that contain data? If this is unclear, I am
adding a chart that might help below:
Database looks something like this:
Last Name / First Name / Address / Marriott / Sheraton / Hilton / Four
Seasons
Smith Tom 123 St. x
Jones John 4546 St. x
Williams Bill 3535 St. x
Can Query create a table that looks like this:
Last Name / First Name / Address / Sheraton / Hilton
Smith Tom 123 St. x
Jones John 4546 St. x
Williams Bill 3535 St. x
Any assistance will be hughly appreciated!!!!
have set their database up backwards - in other words, instead of
setting up the fields so that you have a single field called "hotel",
they actually created a field that is each hotel (Four Seasons /
Hilton / Marriott). They only have a small number of records in their
database, but they have maxed out the fields (255)fields. Oy. So
their problem is apparent: when they create a query, they have to
deal with all 255 fields. So I have been asked if you can get a query
to report only the fields with data in them.
I am not a programmer so I don't know how to write code that might
suppress unused fields or pull only fields with data in them.
So, here's the question: is there a way to query all the fields, yet
only see the fields that contain data? If this is unclear, I am
adding a chart that might help below:
Database looks something like this:
Last Name / First Name / Address / Marriott / Sheraton / Hilton / Four
Seasons
Smith Tom 123 St. x
Jones John 4546 St. x
Williams Bill 3535 St. x
Can Query create a table that looks like this:
Last Name / First Name / Address / Sheraton / Hilton
Smith Tom 123 St. x
Jones John 4546 St. x
Williams Bill 3535 St. x
Any assistance will be hughly appreciated!!!!