Re: Creating a temporary table/query for subform
- From: "Roger Carlson" <NO-Roger.J.Carlson-SPAM@xxxxxxxxx>
- Date: Fri, 17 Feb 2006 10:08:52 -0500
Maybe I'm missing something, but why can't you base your subform on a query
where the percentage is calculated? I don't see why you need the temp
table.
BTW, when I need a temp table in a multiuser environment, I will
programmatically create a local database (root of the C drive), export an
empty table to it, then relink the temp table back into the program. Then
the user has a local table.
On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "ImportToTempDatabase.mdb" which uses a temp database and temp
table to import a text file without bloating the database.
--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
"LeMay" <lemayNOSPAM@xxxxxxxxxx> wrote in message
news:3oiJf.33743$H71.3699@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to create a subform that the user can sort by clicking on thetable
column headers.
Before I get to the user side, the code part has become a problem. My
headers look like the following. ID is the primary key:find
ID, Name, Value
I need to make a temporary column that shows percentage; I'll call it
percent. Unfortunately, because it is in a mutliuser environment, I cannot
insert the percentages into the table itself, because each user would have
different percentages. Therefore, I need to create a temporary copy of the
table for each user and add the fourth column called "Percent."
As another requirement, I cannot let this temporary table or query show up
in the list of objects showing up when you open up the database.
So what strategy should I use?
I thought about using a make-table query using a QueryDef, but I can't
any help in the MS Access help on how to do this in VBA.
Anyone know how to make this query so it can be used in the subform?
Please reply in the newsgroup.
.. Jim..
.
- Follow-Ups:
- Re: Creating a temporary table/query for subform
- From: Jimbo
- Re: Creating a temporary table/query for subform
- References:
- Creating a temporary table/query for subform
- From: LeMay
- Creating a temporary table/query for subform
- Prev by Date: Re: Combining City and State Errors
- Next by Date: Re: Combining text and currency fields with possible nulls
- Previous by thread: Re: Creating a temporary table/query for subform
- Next by thread: Re: Creating a temporary table/query for subform
- Index(es):
Relevant Pages
|