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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

use query as field controlsource



 
 
Thread Tools Display Modes
  #1  
Old March 9th, 2006, 09:23 PM posted to microsoft.public.access.queries
external usenet poster
 
Posts: n/a
Default use query as field controlsource

hi,

I have the following query:

SELECT find_weekdays(date()-1,Date())-2 AS workdays;

of course the find_weekday() is a function/module. I just need to know how
to base the controlsource of a form field on the query's returned value.

thanks in advance,
geebee



  #2  
Old March 9th, 2006, 11:36 PM posted to microsoft.public.access.queries
external usenet poster
 
Posts: n/a
Default use query as field controlsource

Open the form in design view and click on the menu VIEW - Properties. Enter
the query name as Record Source.

"geebee" wrote:

hi,

I have the following query:

SELECT find_weekdays(date()-1,Date())-2 AS workdays;

of course the find_weekday() is a function/module. I just need to know how
to base the controlsource of a form field on the query's returned value.

thanks in advance,
geebee



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memo Field Sam General Discussion 12 November 10th, 2005 09:16 PM
Crosstab Query Help Becks New Users 17 October 11th, 2005 08:31 PM
Toolbars, Drop-Down Menus Rick New Users 1 September 21st, 2005 11:17 AM
Searching a Memo field using Query builder b dubbin Running & Setting Up Queries 1 August 29th, 2005 06:05 PM
Big number gives error! Sara Mellen Running & Setting Up Queries 8 October 11th, 2004 02:48 AM


All times are GMT +1. The time now is 10:28 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.