Solved

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

Posted on 2004-03-30
3
303 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

726 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