G Guest May 9, 2006 #2 You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2;
You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2;
M mcl May 10, 2006 #3 That worked fine. I have another question which I will give it's own title. KARL DEWEY said: You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2; mcl said: Is there a way to set formats, like number of decimal places, in a union query? Click to expand... Click to expand...
That worked fine. I have another question which I will give it's own title. KARL DEWEY said: You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2; mcl said: Is there a way to set formats, like number of decimal places, in a union query? Click to expand... Click to expand...
M mcl Jun 26, 2006 #4 Actually I found a better way myself. Just create another query that calls on the union query for input. I can set formats easy doing that. mcl said: That worked fine. I have another question which I will give it's own title. KARL DEWEY said: You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2; mcl said: Is there a way to set formats, like number of decimal places, in a union query? Click to expand... Click to expand... Click to expand...
Actually I found a better way myself. Just create another query that calls on the union query for input. I can set formats easy doing that. mcl said: That worked fine. I have another question which I will give it's own title. KARL DEWEY said: You can try this -- SELECT Union1.XX, format( [Union1].[YY ],"0.000") FROM Union1 UNION SELECT Union2.XX, format( [Union2].[YY ],"0.000") FROM Union2; mcl said: Is there a way to set formats, like number of decimal places, in a union query? Click to expand... Click to expand... Click to expand...