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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Adding additional value to Row source



 
 
Thread Tools Display Modes
  #1  
Old August 7th, 2006, 01:27 AM posted to microsoft.public.access,microsoft.public.access.forms,microsoft.public.access.queries
John
external usenet poster
 
Posts: 409
Default Adding additional value to Row source

Hi

I have a query as a rowsource to a list. Is it possible to add a single
additional value to the row source to appear in the list in addition to what
is coming from the query? Such as by union of the query with the fixed
value?

The reason I need is that I have several values coming from the query but I
also need to add 'ALL' in the list for user to select which is not coming
from the query.

Thanks

Regards


  #2  
Old August 7th, 2006, 01:43 AM posted to microsoft.public.access,microsoft.public.access.forms,microsoft.public.access.queries
Dirk Goldgar
external usenet poster
 
Posts: 1,164
Default Adding additional value to Row source

"John" wrote in message

Hi

I have a query as a rowsource to a list. Is it possible to add a
single additional value to the row source to appear in the list in
addition to what is coming from the query? Such as by union of the
query with the fixed value?

The reason I need is that I have several values coming from the query
but I also need to add 'ALL' in the list for user to select which is
not coming from the query.


This link shows how to do exactly that:

http://www.mvps.org/access/forms/frm0043.htm
Forms: Adding "All" to a listbox or combobox

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


  #3  
Old August 7th, 2006, 01:45 AM posted to microsoft.public.access.forms,microsoft.public.access.queries,microsoft.public.access
Tom Wickerath
external usenet poster
 
Posts: 3,914
Default Adding additional value to Row source

Yep, that's one way of doing it.

How to add '(all)' to a combo box or a list box control
http://support.microsoft.com/kb/210290/en-us


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/ex...tributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

"John" wrote:

Hi

I have a query as a rowsource to a list. Is it possible to add a single
additional value to the row source to appear in the list in addition to what
is coming from the query? Such as by union of the query with the fixed
value?

The reason I need is that I have several values coming from the query but I
also need to add 'ALL' in the list for user to select which is not coming
from the query.

Thanks

Regards

 




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 05:04 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.