FoxProProgrammer
Programmer
Hi folks,
I posted a question similar to this about two weeks ago. It wasn't resolved and I have been off working on other things. This really seems like a simple issue but I just can't seem to figure out why it isn't working.
Problem: My table has a field named [US Number] that contains integers such as 3, 19 and 126. I want to concatenate that field with the string "US0612-" to produce US0612-3, US0612-19, and US0612-126 in the report. I have tried several methods and none of them work.
The Recordsource for the report is based on the following query:
SELECT "US0612-" & [Serial Number].[US Number] AS USNum, TRU.[Part Number], TRU.Description, [Serial Number].[Serial Number], Calibration.[Last Cal], Calibration.[Cal Due], Calibration.[Last Cal Report]
FROM TRU INNER JOIN ([Serial Number] INNER JOIN Calibration ON [Serial Number].[Serial Number ID] = Calibration.[Serial Number ID]) ON TRU.[TRU ID] = [Serial Number].[TRU ID];
The results of this query in the Query Builder window are correct. The output column named USNum contains "US0612-" concatenated with each [US Number] as required.
The detail section of the report has a field named USNum and its Control Source is set to USNum. When I run the report, no data shows up in that field.
Does anyone know why this is happening? I don't understand why the correct data shows up in the Query output in the design window, but not in the detail section when I run the report.
Thanks for any ideas.
dz
dzaccess@yahoo.com
I posted a question similar to this about two weeks ago. It wasn't resolved and I have been off working on other things. This really seems like a simple issue but I just can't seem to figure out why it isn't working.
Problem: My table has a field named [US Number] that contains integers such as 3, 19 and 126. I want to concatenate that field with the string "US0612-" to produce US0612-3, US0612-19, and US0612-126 in the report. I have tried several methods and none of them work.
The Recordsource for the report is based on the following query:
SELECT "US0612-" & [Serial Number].[US Number] AS USNum, TRU.[Part Number], TRU.Description, [Serial Number].[Serial Number], Calibration.[Last Cal], Calibration.[Cal Due], Calibration.[Last Cal Report]
FROM TRU INNER JOIN ([Serial Number] INNER JOIN Calibration ON [Serial Number].[Serial Number ID] = Calibration.[Serial Number ID]) ON TRU.[TRU ID] = [Serial Number].[TRU ID];
The results of this query in the Query Builder window are correct. The output column named USNum contains "US0612-" concatenated with each [US Number] as required.
The detail section of the report has a field named USNum and its Control Source is set to USNum. When I run the report, no data shows up in that field.
Does anyone know why this is happening? I don't understand why the correct data shows up in the Query output in the design window, but not in the detail section when I run the report.
Thanks for any ideas.
dz
dzaccess@yahoo.com