Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL from table or query?

Status
Not open for further replies.

EddyLLC

Technical User
Mar 15, 2005
304
US
Is it more advantagous to use SQL from a table to supply data to a control
on a form as in the sql statement below:
SELECT DISTINCT flkp1.Field1 FROM flkp1;

Or sql from a query as below:
SELECT DISTINCT qry1.Field FROM qry1;

Is one faster the other? Any other reasons to use one over the other?
 
Hi!

I honestly can't think of a single reason why you would want to base a form on a query that only pulled the information from a single table. IMO the recordsource of a form should be as simple as possible.

hth


Jeff Bridgham
Purdue University
Graduate School
Data Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top