Stevehewitt
IS-IT--Management
Hi All,
I'm using a MS created DB - and the data structure is all over the shop.
I have created a field in a query using the following:
This works fine, and produces the results OK.
However I need to used the resulting data in a subreport. The join is between a field on another table, where the records have the same value.
No problem so far.
The tricky part, is that the field I want to join to, even though it's just got text (such as "Doe, Smith") it's set as a numeric data type.
When I try my subreport join Access tells me that the data types do not match.
Essentially I want to force the field that have created in the query (see above code) to run as a numeric data type.
Anyone help me out?
I've tried setting the properties for the field to numeric but no joy.
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson
I'm using a MS created DB - and the data structure is all over the shop.
I have created a field in a query using the following:
Code:
PriKey: [LastName] & "," & [FirstName]
This works fine, and produces the results OK.
However I need to used the resulting data in a subreport. The join is between a field on another table, where the records have the same value.
No problem so far.
The tricky part, is that the field I want to join to, even though it's just got text (such as "Doe, Smith") it's set as a numeric data type.
When I try my subreport join Access tells me that the data types do not match.
Essentially I want to force the field that have created in the query (see above code) to run as a numeric data type.
Anyone help me out?
I've tried setting the properties for the field to numeric but no joy.
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson