Hi all,
Fun problem for everyone over the weekend - :)
OK so I have the following SQL query in Access.....
SELECT x.SURVEY_DATE AS [Survey Date], z.ORIG_CONST_DATE, z.ORIG_EXP_NO
FROM [select * from x00]. AS x, [select * from zG]. AS z;
Note: x00 and zG are other queries in the same MDB File
Note also: zG only returns one record
The problem is that only the first record returned gets a value for z.ORIG_CONST_DATE but all records get a value for z.ORIG_EXP_NO. Why is this? If z is a table with one record all records get a date....Why does it matter if zG is a table or query?? Also if this is the normal behavior how do i put the z.ORIG_CONST_DATE into all records??
Thankyou everyone in advance for your wonderful work!!!
For completeness:
x00:
//returns about 20 records
SELECT SURVEY_DATE FROM MON_DIS_PADIAS_JPCC WHERE STATE_CODE=STATE And SHRP_ID=SHRP;
zG:
//returns 1 record
SELECT GPS_SPS+EXPERIMENT_NO AS ORIG_EXP_NO, ORIG_CONST_DATE FROM EXPERIMENT_SECTION
WHERE CONSTRUCTION_NO=1 AND STATE_CODE = [STATE] AND SHRP_ID = [SHRP];