
Select statement in Row Source
It's possible David -- I do it all of the time. What does your SQL
look like, and what do you mean by "doesn't work"?
For example, in a department table, in the department type field, the
row source is:
SELECT DeptTypeID,DeptType FROM tblDeptType ORDER BY DeptType;
If you use the builder, it puts all manner of brackets and table
prefixes everywhere, which I personally despise <g>. However, either
way works.
Quote:
>I can't seem to get a SELECT statement to work when I type it directly into
>the row source of a combo box.
>I can incorporate the SELECT statement into a Query and then reference the
>query but I can't seem to reference the SELECT directly from the row source.
>Is it possible or can I only refer to a query.
>Thanks
>Dave
>--
>David R. Frick & Co., CPA
>http://www.frick-cpa.com
Vince
*** Remove NOSPAM to reply ***