A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

List Box Not Populating Properly



 
 
Thread Tools Display Modes
  #1  
Old October 4th, 2006, 03:24 PM posted to microsoft.public.access.reports
ALEX
external usenet poster
 
Posts: 731
Default List Box Not Populating Properly

I am trying to create a report that displays multiple records in a list box
based on a field (WO KEY) on the report. The feild is a member of the main
report record source and the unbound list box values are generated by a query
in the row source of the list box. When I view the report in print preview,
the query runs and inserts the correct values associated with the first field
in the list box for all of the records in the report record source. Does
anyone know how I can fix this so the report displays the values that are
associated with each record in the record source and not just the first
instance for all?

Here is the query I using in the row source of the list box
SELECT DISTINCT tblWOS.SERV_EXT_BEF_WOS AS Before, tblWOS.SERV_EXT_AFT_WOS
AS After, tblWOS.SERV_CDE_BIL_WOS AS Service, tblPrices.Price
FROM tblWOS INNER JOIN tblPrices ON tblWOS.SERV_CDE_BIL_WOS =
tblPrices.Service
WHERE (((tblWOS.WO_KEY_WOS)=[Reports]![rptwo]![WO KEY]));

Thanks

Alex
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.