Solved

how to use temptable as row source for combo box in adp

Posted on 2004-03-30
3
305 Views
Last Modified: 2012-08-14
In an adp project, I create a temp table called #Employee.
I can access the records in this table through code or a stored procedure, but when I try to use it as a rowsource for a combo box, I get the error that the record source doesn't exist for this form or report. I get this error even if I use the Stored Procedure that does return records.

So, is there any to get the records of a temp table into a combobox?
0
Comment
Question by:Mach1pro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Expert Comment

by:phileoca
ID: 10715246
Sure. many ways.  Easy solution would be make a Select Query:

TempTableListQuery

With the fields you want from the temp table.   Then on your combo box, set the row source type to table/query and the row source to the query, and select the number of columns, and which column u want the query to be bound to.

KT.
0
 
LVL 6

Author Comment

by:Mach1pro
ID: 10715319
There are no queries in an Access Data Project
0
 
LVL 32

Accepted Solution

by:
jadedata earned 500 total points
ID: 10715953
There are no persistant queries,... but there should be plenty of SQL usage...

Why not use a persistant table, but clear it before use?  Refill it as needed??

Creating and destroying objects is always a messy business in an application.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question