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  

Form Recordsource on Query



 
 
Thread Tools Display Modes
  #1  
Old July 28th, 2009, 03:19 PM posted to microsoft.public.access.forms
Doctor
external usenet poster
 
Posts: 75
Default Form Recordsource on Query

Are there any performance issues when a form is based on a query as to
whether the recordsource for the form is a store query or if the recordsource
is an SQL statement?

Does it matter?
  #2  
Old July 28th, 2009, 03:51 PM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default Form Recordsource on Query

No difference.

When you use a SQL statement in the RecordSource property of a form or the
RowSource of a combo/listbox, Access creates a hidden query anyway, so the
result is the same.

To see the hidden queries:
SELECT MsysObjects.Name
FROM MsysObjects
WHERE MsysObjects.Type = 5
ORDER BY MsysObjects.Name;

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Doctor" wrote in message
...
Are there any performance issues when a form is based on a query as to
whether the recordsource for the form is a store query or if the
recordsource
is an SQL statement?

Does it matter?


 




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 12:00 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.