473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need "unique" ID for group of results

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
3 1639
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

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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: grist2mill | last post by:
I have a table 'Group2Operation' that stores many to many relations between the 'Group' table and the 'Operation' table (each group is has permission to perform one or more of the available...
2
by: Migrant | last post by:
Hi Friends; I want develop a group logic with C# (n tier refraction).I know I must create a Class and inherit it But I don't have enough know-how about develop classes. Somebody can help me? ...
0
by: timG | last post by:
This warning message appears repeatedly in the event log on our windows 2000 server with .NET Framework 1.1. Here's the error: ---- The description for Event ID ( 1000 ) in Source ( .NET...
59
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when...
1
by: othgwayne | last post by:
I am writing in .NET VB 2003 I have an app that uses a file system watcher looking for a file to fall into this directory. When the file falls, it is opened, processed, closed and deleted. Then...
5
by: veaux | last post by:
I'm thinking this is easy but can't get it. I have a table with following: Table1 Date 1/1/2007 Table2 Type 0107 (This is MMYY of above) So I'm having trouble using a query to turn the...
8
by: bnashenas1984 | last post by:
I'm using DISTINCT to get one of each title out of my table. Here is my table: +---------------------------+ | title | weather | +---------------------------+ | Monday | ...
3
by: bnashenas1984 | last post by:
Hi everyone You see an example table below.. I'm trying to get one of each (day) using DISTINCT command... +---------------------------+ | day | weather |...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.