By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,395 Members | 2,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,395 IT Pros & Developers. It's quick & easy.

Need "unique" ID for group of results

P: n/a
I have a query where I need all of the results to be assigned a single
tracking number.
Example: I run the query for all claims within a certain date parameter, for
10 different patient codes. This produces 50 rows of data. I want to give
this series of results the same identical tracking number that will show up
on each row in the field [track_no]. This will be stored in a table, as well
as being exported to Excel to be sent to a diff department for updates,
research etc. Later, I will query by this tracking number to check on the
updated results (my table is linked to the network via the claim number in my
table and the network table...).
So, the main purpose of the tracking number is to track a group of results.
Is there some way in my initial query to do this?

Thanks,

Perry

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200704/1

Apr 17 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
perryclisbee via AccessMonster.com wrote:
I have a query where I need all of the results to be assigned a single
tracking number.
Example: I run the query for all claims within a certain date parameter, for
10 different patient codes. This produces 50 rows of data. I want to give
this series of results the same identical tracking number that will show up
on each row in the field [track_no]. This will be stored in a table, as well
as being exported to Excel to be sent to a diff department for updates,
research etc. Later, I will query by this tracking number to check on the
updated results (my table is linked to the network via the claim number in my
table and the network table...).
So, the main purpose of the tracking number is to track a group of results.
Is there some way in my initial query to do this?

Thanks,

Perry
SELECT [Enter ID] AS ID, TableName.FieldName FROM TableName;
Apr 17 '07 #2

P: n/a

perryclisbee via AccessMonster.com wrote:
I have a query where I need all of the results to be assigned a single
tracking number.
Example: I run the query for all claims within a certain date parameter, for
10 different patient codes. This produces 50 rows of data. I want to give
this series of results the same identical tracking number that will show up
on each row in the field [track_no]. This will be stored in a table, as well
as being exported to Excel to be sent to a diff department for updates,
research etc. Later, I will query by this tracking number to check on the
updated results (my table is linked to the network via the claim number in my
table and the network table...).
So, the main purpose of the tracking number is to track a group of results.
Is there some way in my initial query to do this?

Thanks,

Perry

--
Wouldn't "certain date parameter" do the trick? This way, querying the
same parameter again would track the same group.

Maybe creating a table, say, Queried_Groups (dateParameter, id) would
give you a shortner id...

Apr 17 '07 #3

P: n/a

"perryclisbee via AccessMonster.com" <u9916@uwewrote in message
news:70d8e0ef42cd8@uwe...
I have a query where I need all of the results to be assigned a single
tracking number.
Example: I run the query for all claims within a certain date parameter,
for
10 different patient codes. This produces 50 rows of data. I want to
give
this series of results the same identical tracking number that will show
up
on each row in the field [track_no]. This will be stored in a table, as
well
as being exported to Excel to be sent to a diff department for updates,
research etc. Later, I will query by this tracking number to check on the
updated results (my table is linked to the network via the claim number in
my
table and the network table...).
So, the main purpose of the tracking number is to track a group of
results.
Is there some way in my initial query to do this?

Thanks,

Perry

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200704/1
Use your select query to update the tracking number field, then use the
tracking number to select the records for your report.
Apr 18 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.