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  

Recordsouce question



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 29th, 2010, 09:37 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Recordsouce question

Can I change the recordsource of a form on the fly? In other words, I have
one table (a small one-to-one so I didn't split it) and I would like to have
3 maybe 4 queries off that one table. Then change the recordsouce of the form
to query1, or query 2, etc, depending on what the user picks in a combo. The
fields displayed on the form from each query would be the same. I know I
might be able to do it with case statements, but is there an easier way?
Thanks a bunch!!!
--
Milton Purdy
ACCESS
State of Arkansas
 




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