473,804 Members | 3,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.c om
http://www.accessmonster.com/Uwe/For...ccess/200704/1

Apr 17 '07 #1
3 1662
perryclisbee via AccessMonster.c om 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.Field Name FROM TableName;
Apr 17 '07 #2

perryclisbee via AccessMonster.c om 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

"perryclisb ee via AccessMonster.c om" <u9916@uwewro te in message
news:70d8e0ef42 cd8@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.c om
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
2041
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 operations) PROBLEM ======= I need to prevent duplicate entries being created. e.g. lets say that in the 'Group2Operation' table a record links the 'editor' group to the 'publish' operation. Should I prevent an administrator creating a duplicate of...
2
2270
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? An Example For My Group Logic: 102 Banks 102.01 Credit Banks
0
2147
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 Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.1.4322.573 - Error...
59
7530
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 the recordset opens a table. When I write Set rst = db.OpenRecordset("MyTable",dbOpenTable, dbReadOnly) I get an error. I believe it's invalid operation or invalid parameter, I'm
1
1351
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 it goes back to the watcher looking for the next file to drop. All of this happens as expected without a hitch. UNTIL the second file falls. the first step is: Dim fsStream As New FileStream(sFullHS1Path, FileMode.Open, FileAccess.Read) This...
5
2172
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 date from Table 1 into
8
11997
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 | Good | | Tuesday | Bad |
3
1414
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 | +---------------------------+ | Monday | Good | | Tuesday | Bad | | Wednsday | worst | | Tuesday | Good |
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10332
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10077
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9150
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.