H
Hilary Ostrov
I have a combo box that has worked quite happily for well over three
years. Haven't looked at the application for a few months, though,
and today I noticed that data one of the two columns in the cbo has
"disappeared".
Here is the SQL statement:
SELECT tblJobsites.SiteID, tblJobsites.[Site Name]
FROM tblJobsites
ORDER BY tblJobsites.SiteID;
Bound Column=1, Column Count=2
Column with SiteID is bereft of data If I set Column Headings=
Yes, I do see the column heading, but still no data in Column 1.
After tearing my hair out for several hours - and noticing the same
problem for other similar combo boxes *and* in earlier versions of the
application, I tried some experimenting. Interestingly enough, if I
modify the query so that SQL is:
SELECT [SiteID] & " " AS Site, tblJobsites.[Site Name]
FROM tblJobsites
ORDER BY tblJobsites.SiteID;
Magically, doctored data in column with SiteID is no longer missing!
FWIW, I'm using Access 2003 (but mdb is 2000 format), recently updated
to SP3 (which may be the cause of the problem?!) with Win XP Home SP2
Can anyone shed any light on why this might be occurring?
Thanks.
hro
years. Haven't looked at the application for a few months, though,
and today I noticed that data one of the two columns in the cbo has
"disappeared".
Here is the SQL statement:
SELECT tblJobsites.SiteID, tblJobsites.[Site Name]
FROM tblJobsites
ORDER BY tblJobsites.SiteID;
Bound Column=1, Column Count=2
Column with SiteID is bereft of data If I set Column Headings=
Yes, I do see the column heading, but still no data in Column 1.
After tearing my hair out for several hours - and noticing the same
problem for other similar combo boxes *and* in earlier versions of the
application, I tried some experimenting. Interestingly enough, if I
modify the query so that SQL is:
SELECT [SiteID] & " " AS Site, tblJobsites.[Site Name]
FROM tblJobsites
ORDER BY tblJobsites.SiteID;
Magically, doctored data in column with SiteID is no longer missing!
FWIW, I'm using Access 2003 (but mdb is 2000 format), recently updated
to SP3 (which may be the cause of the problem?!) with Win XP Home SP2
Can anyone shed any light on why this might be occurring?
Thanks.
hro