Access 2003: Datasheet and Listbox have different results when using same query -


I am writing an Access 2003 form to get the list of all the people in a facility.

I have a saved query that I hope for the results, when I look at the datasheet view (list of all names with related account number).

If I use the same list as my ListBox.RowSource, I get a list of names, but only 10% is listed as the account number. TblOne.ACCOUNT is not guaranteed to be meaningless, so I'm not sure how these empty results will come.

  SELECT tblOne.NAME, tblOne.ACCOUNT to join tblOne INNER tblTwo ON tblOne.ID = TblTwo.ID WHERE tblOne.ENTER_DT & gt; = (Date () - 7) AND tblTwo.EXIT_DT is tblOne.NAME by NULL order  

There are two columns of listboxes that are linked to both table tables. I can tell that the saved query is giving me different results if I see it using the Datasheet view or use it as a list of listboxes.

Errors started when I added Inner Join but it still works correctly in the Datasheet view with the Joint Statement.

This is mysterious but there are some obvious trouble shooting steps, how can you get it as a base ?

  SELECT tblOne.NAME, tblOne from tblOne.ACCOUNT  

Trouble shooting often "dumbing down" until you do something that does work Then, by increasing the complexity until then you do not get your desired result somewhere on that path, you fix your error.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -