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

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> add autonumber counter    
 
   
trell
post Jul 21 2005, 02:02 AM
Post #1

UtterAccess Addict
Posts: 106



Can i add field autonumber-counter to this query (> table tblresult) ?

start table tblmaster id, field0
qrytest1 > tblmaster
qrytest2 > tblmaster
now tblresult field1, field2

SELECT qrytest1.field1, qrytest2.field2 INTO tblresult
FROM qrytest1 INNER JOIN qrytest2 ON qrytest1.ID+1=qrytest2.ID;

thx
Go to the top of the page
 
+
strive4peace
post Jul 21 2005, 02:41 AM
Post #2

UtterAccess VIP
Posts: 20,211
From: Colorado



there is no way to specify an autonumber field in a query -- but you can change the table after the query makes it ...

why are you making a table anyway?
Go to the top of the page
 
+
trell
post Jul 21 2005, 02:51 AM
Post #3

UtterAccess Addict
Posts: 106



The autonumber need me only in table.
It need for other query.
The original table has many other records that do not serve to me.

regards
Go to the top of the page
 
+
strive4peace
post Jul 21 2005, 02:54 AM
Post #4

UtterAccess VIP
Posts: 20,211
From: Colorado



I do not understand

there is most likely no reason to make a table if you are just wanting certain records... what are you doing?
Go to the top of the page
 
+
trell
post Jul 21 2005, 03:02 AM
Post #5

UtterAccess Addict
Posts: 106



In master table have a a syntax like <Time>2005-07-17T05:05:47Z</Time>, with the query extract time , create table, and then make calculation.
it's a little difficult to explain...
Go to the top of the page
 
+
strive4peace
post Jul 21 2005, 10:54 AM
Post #6

UtterAccess VIP
Posts: 20,211
From: Colorado



if you can't explain it, no one will be able to help you ...

Here is a post with information on setting up data efficiently.

A new guy figuring out how to search -- discussion on normalizing data, designing tables and forms

about halfway through the post, there is a lengthy discussion on data structure, naming, etc ... and about 1/3 from the end is instructions for documenting the relationships and table structures

here is a link that I got from Noah's signature -- looks pretty good for some basics:

Access Basics
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: 25th May 2013 - 01:08 PM