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  

How to Use Expression Builder to display Query Results?



 
 
Thread Tools Display Modes
  #1  
Old April 18th, 2007, 03:44 PM posted to microsoft.public.access.reports
ALEX
external usenet poster
 
Posts: 731
Default How to Use Expression Builder to display Query Results?

Hi,
I have a report with a text box in it. I'm trying to use the Expression
Builder to display the result of a query in this textbox. Let me explain:
returns the list of users that have certain access to information where I
work. So the query result has check boxes similar to this:

Name(field) Access Type(field)
name checkbox=true
name checkbox=true

In my report the text box(from above) is underneath the access type field :

Access Type(field)
User Name: textbox

What I'm trying to do is somehow use the expression builder to display all
the names that have checkbox=true in the textbox on the report like so:

AccessTyep(field)
----------------
| name |
| name |
| name |
----------------

Is there a way to use the expression builder to somehow loop through the
records from the query and input the names line after line in the text box?

Let me know if this is not clear.....

Thank you,
Alex
  #2  
Old April 19th, 2007, 04:06 AM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default How to Use Expression Builder to display Query Results?

You won't get this from the expression builder. You could try a subreport or
possibly the generic concatenate function found at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
--
Duane Hookom
Microsoft Access MVP


"Alex" wrote:

Hi,
I have a report with a text box in it. I'm trying to use the Expression
Builder to display the result of a query in this textbox. Let me explain:
returns the list of users that have certain access to information where I
work. So the query result has check boxes similar to this:

Name(field) Access Type(field)
name checkbox=true
name checkbox=true

In my report the text box(from above) is underneath the access type field :

Access Type(field)
User Name: textbox

What I'm trying to do is somehow use the expression builder to display all
the names that have checkbox=true in the textbox on the report like so:

AccessTyep(field)
----------------
| name |
| name |
| name |
----------------

Is there a way to use the expression builder to somehow loop through the
records from the query and input the names line after line in the text box?

Let me know if this is not clear.....

Thank you,
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 08:32 AM.


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