A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

query based on different devices



 
 
Thread Tools Display Modes
  #1  
Old July 17th, 2008, 08:21 PM posted to microsoft.public.access.queries
Nick A Carter
external usenet poster
 
Posts: 1
Default query based on different devices

I work in a very large IT database that tracks serverfarm racks and the
equipment on them. We just had a new field added to the database and I need
to populate it. This is based on a relationship of two or more devices.
Below are the fields that I will be working with. The "rack_type" field is
empty and needs to be populated.

manufacture_model function rack row rack_type
DELL switch KMM
DELL rack

Currently I fill out two rows; one for the switch and the other for the
rack, then I search through the results for those that have the same "row"
and "rack" and populate the "rack_type" that way. This is very time
consuming and is prone to errors.

Can you give me any ideas to link this?

  #2  
Old July 17th, 2008, 09:16 PM posted to microsoft.public.access.queries
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default query based on different devices

Nick

I'm not entirely clear how you are determining that a row in your existing
table "qualifies"...

Are you saying that the [manufacture_model] field contains the word "rack"
somewhere in it? If so, you could use a query to find all the rows that
have "rack" somewhere in that field by using the following selection
criterion for that field:

Like * & "rack" & *

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Nick A Carter" Nick A wrote in message
...
I work in a very large IT database that tracks serverfarm racks and the
equipment on them. We just had a new field added to the database and I
need
to populate it. This is based on a relationship of two or more devices.
Below are the fields that I will be working with. The "rack_type" field
is
empty and needs to be populated.

manufacture_model function rack row rack_type
DELL switch KMM
DELL rack

Currently I fill out two rows; one for the switch and the other for the
rack, then I search through the results for those that have the same "row"
and "rack" and populate the "rack_type" that way. This is very time
consuming and is prone to errors.

Can you give me any ideas to link this?



  #3  
Old July 17th, 2008, 09:26 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default query based on different devices

Backup your database first ----
If your [manufacture_model] field is always formated as shown with rack
information to the right of the field and separated by a spave use the
following calculated field --
Expr1: Right(InStrRev([manufacture_model]) -1)

--
KARL DEWEY
Build a little - Test a little


"Nick A Carter" wrote:

I work in a very large IT database that tracks serverfarm racks and the
equipment on them. We just had a new field added to the database and I need
to populate it. This is based on a relationship of two or more devices.
Below are the fields that I will be working with. The "rack_type" field is
empty and needs to be populated.

manufacture_model function rack row rack_type
DELL switch KMM
DELL rack

Currently I fill out two rows; one for the switch and the other for the
rack, then I search through the results for those that have the same "row"
and "rack" and populate the "rack_type" that way. This is very time
consuming and is prone to errors.

Can you give me any ideas to link this?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.