A
Andrew
I'm developing a database in Access 2003 and having trouble with the
calculated fields in one of my query. The database is designed to search for
key words in a long string of text. Data is imported into the database from
an excel spreadsheet where there are approximately 50 rows (fields). It
doesn't matter which of the 50 fields a key word appears in, so to simply the
search process in Access, I'm trying to lump all the fields together into one
very large field called "AggregateText."
I have a query called qryAggregateText, which has a calculated field
"AggregateText" which is defined as:
AggregateText: [TextField1] + [TextField2] +[TextField3]...[TextField50].
When I finish typing this expression into the query design view, I get an
error that reads: "The expression you entered is missing a closing
parenthesis, bracket (]), or vertical bar (|)."
When I go back into the expression, I notice that the last character or two
are cut off. I assumed this meant the expression was two long, so I tried
breaking it up into several calculated fields which add together to form
AggregateText. I still get the same error, even when there are only 777
characters in the expression. What is puzzling is that the expression
doesn't get cut down to 256 characters, only one or two are removed.
Any suggestions on what is causing this error and how I can avoid it?
Thanks for your help,
Andrew
calculated fields in one of my query. The database is designed to search for
key words in a long string of text. Data is imported into the database from
an excel spreadsheet where there are approximately 50 rows (fields). It
doesn't matter which of the 50 fields a key word appears in, so to simply the
search process in Access, I'm trying to lump all the fields together into one
very large field called "AggregateText."
I have a query called qryAggregateText, which has a calculated field
"AggregateText" which is defined as:
AggregateText: [TextField1] + [TextField2] +[TextField3]...[TextField50].
When I finish typing this expression into the query design view, I get an
error that reads: "The expression you entered is missing a closing
parenthesis, bracket (]), or vertical bar (|)."
When I go back into the expression, I notice that the last character or two
are cut off. I assumed this meant the expression was two long, so I tried
breaking it up into several calculated fields which add together to form
AggregateText. I still get the same error, even when there are only 777
characters in the expression. What is puzzling is that the expression
doesn't get cut down to 256 characters, only one or two are removed.
Any suggestions on what is causing this error and how I can avoid it?
Thanks for your help,
Andrew