UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Dynamic Table name for Make Table Query    
 
   
liveknives
post Feb 14 2005, 11:43 AM
Post #1

New Member
Posts: 3



Hi

I want to use the same make-table query that retrieves data based on a policy number. I want to use the policy number as the name for my table created by the query. Is there a way, similar to using the square brackets in the criteria line to provide a message input box that will allow me to determine the name each time the query is run, or do i have to create it in a macro

Thanks
Go to the top of the page
 
+
dannyseager
post Feb 14 2005, 11:55 AM
Post #2

UtterAccess VIP
Posts: 13,031
From: Leicester, UK



Welcome to UA!!

There is a way but why are you storing the data in seperate tables for each policy?

This is not normalised.

What are you trying to achieve.
Go to the top of the page
 
+
liveknives
post Feb 15 2005, 02:01 PM
Post #3

New Member
Posts: 3



Hi Danny

Hi Danny

Thanks for the welcome

The data is stored in one table. The table has close to a million records. What I am doing is extracting out 1 policy's data so that i can see all of the accounting for a set time period. I then move it into Excel to use a Pivot table to reconcile the accounting entries. I don't want to have to go in and change the table name that is being created in the query each time i run it as i may be auditing more than one policy at a time and i don't want to overwrite the records i have extracted.

Thanks
Go to the top of the page
 
+
ScottGem
post Feb 15 2005, 02:07 PM
Post #4

UtterAccess VIP / UA Clown
Posts: 25,090
From: LI, NY



No need to make a table. JUst create your Select query and export from the query.

HTH
Go to the top of the page
 
+
liveknives
post Feb 15 2005, 02:11 PM
Post #5

New Member
Posts: 3



Thanks Scott
Go to the top of the page
 
+
ScottGem
post Feb 15 2005, 03:37 PM
Post #6

UtterAccess VIP / UA Clown
Posts: 25,090
From: LI, NY



glad to assist
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 02:56 PM