473,756 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pulling data with query

I have took another approach to my database and have created a field
in my clients table with a 'client status' field, which is a combo
box/value list that is a pulldown menu of 3 choices (active client,
possible client, completed client).

I want to be able to create 3 different queries that will produce a
list that will only publish clients that are active, possible, etc...
(according to whatever the field value is of their status). I am sorry
if this is a rather elementary question but I have been having
troubles grasping the concepts of using a query. Furthermore, in my
clients table, it contains all the necessary client information (name,
address, income, phone number, etc...) and in my 3 different queries,
I will want some information included and some not....for example, in
my active client query, I would not like to have their income reported
in it, but i would want the income to be included on the possible
client list, etc... Is this at a possible, and if somebody could
explain it to me in relatively simple terms, i would sincererly
appreciate it! Thank you very much.

-Michelle
Nov 12 '05 #1
2 1644
On 20 Apr 2004 02:34:35 -0700, hi*******@msn.c om (Michelle) wrote:

Query tab / new query / design view / select your table.
Drag and drop fields from the table to the grid below. For the 'client
status' field, in the Criteria row, type (including double-quotes):
"active client".
Query > Run to see your output.
Save and exit.
You can now use this query as the RecordSource for a form or report.

-Tom.

I have took another approach to my database and have created a field
in my clients table with a 'client status' field, which is a combo
box/value list that is a pulldown menu of 3 choices (active client,
possible client, completed client).

I want to be able to create 3 different queries that will produce a
list that will only publish clients that are active, possible, etc...
(according to whatever the field value is of their status). I am sorry
if this is a rather elementary question but I have been having
troubles grasping the concepts of using a query. Furthermore, in my
clients table, it contains all the necessary client information (name,
address, income, phone number, etc...) and in my 3 different queries,
I will want some information included and some not....for example, in
my active client query, I would not like to have their income reported
in it, but i would want the income to be included on the possible
client list, etc... Is this at a possible, and if somebody could
explain it to me in relatively simple terms, i would sincererly
appreciate it! Thank you very much.

-Michelle


Nov 12 '05 #2
On 20 Apr 2004 02:34:35 -0700, hi*******@msn.c om (Michelle) wrote:

Query tab / new query / design view / select your table.
Drag and drop fields from the table to the grid below. For the 'client
status' field, in the Criteria row, type (including double-quotes):
"active client".
Query > Run to see your output.
Save and exit.
You can now use this query as the RecordSource for a form or report.

-Tom.

I have took another approach to my database and have created a field
in my clients table with a 'client status' field, which is a combo
box/value list that is a pulldown menu of 3 choices (active client,
possible client, completed client).

I want to be able to create 3 different queries that will produce a
list that will only publish clients that are active, possible, etc...
(according to whatever the field value is of their status). I am sorry
if this is a rather elementary question but I have been having
troubles grasping the concepts of using a query. Furthermore, in my
clients table, it contains all the necessary client information (name,
address, income, phone number, etc...) and in my 3 different queries,
I will want some information included and some not....for example, in
my active client query, I would not like to have their income reported
in it, but i would want the income to be included on the possible
client list, etc... Is this at a possible, and if somebody could
explain it to me in relatively simple terms, i would sincererly
appreciate it! Thank you very much.

-Michelle


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
7041
by: Philip D Heady | last post by:
Ok, as some of you may know I'm an Oracle newbie w/ PHP. I'd rather use MySQL but at the office here we use Oracle and boy do I have alot to learn. I'm starting to hate it after using MySQL!! -------------------------------------------------------------------------- 1) Is there a similar statement using PHP/Oracle functions as below for MySQL? -------------------------------------------------------------------------- while (list...
3
14127
by: John Ortt | last post by:
> I have a table of dates in ascending order but with varying intervals. I > would like to create a query to pull out the date (in field 1) and then pull > the date from the subsequent record (and store it in field 2). > > I would like to run a query that returns all the data in the table plus the > record number, in a similar sense to the getuser() command to get the User's > Identity, I would like a GetRecord() command.
0
1041
by: Norma | last post by:
I am trying to make a query pull data from between the dates I enter in the parameter but also look back 'in time' to see where 2 other fields have null values, and only pull data into the query if those 2 fields are null prior to the beginning date of my parameter. The reason for this (to help make this a little clearer)is to pull production into a query if it is a 'new' for the month. That is, never run before the dates entered. I have 2...
4
2052
by: Shannan Casteel via AccessMonster.com | last post by:
I would like to be able to use 4 text boxes (i.e. Part #, Description, Quantity, Price) for up to 40 parts. However, only the Part # and Quantity will be entered. The Description and Price will be pulled from a linked table. The Price field should take the price for the particular Part # and multiply it by the quantity and return the value. The linked table is set up with several columns including Part #, Description, and Price. I...
10
1685
by: Jeff | last post by:
Hey gang. i have a code that i will list. when varM = 8 or 16, the script works fine, and pulls the top 8 or top 16, but if it =32 or 64, it is only pulling the top 17 records from the DB. db is access and this is MS server. here is the code <% if varm = 8 then set admin6 = conn.execute("select top 8 username, iCHECK from
3
3313
by: Jim in Arizona | last post by:
I have a gridview that's being populated from an access db query. The problem I'm having is that the date/time fields in access that are populating the gridview are showing both date and time, when the field should only be showing one or the other (date or time). Even on the back end of the database where the column properties are, I have chosen the smallest date/time formats. When the aspx page runs, it shows the date and time (ie:in a...
20
6527
by: scolivas | last post by:
I have a query that is pulling from a table of 35000+ records But for some reason any records beyond 25999 are not coming thru. The Table is a list employees - and thier assignments - so there are many records with the same employee - thus the 35000+ records. When I pull the query - I get all employees numbered 25841 and below...but the ones that are numbered 26000+ won't show. I can filter for those individually on the table itself, but...
11
7895
by: kabradley | last post by:
Hello Everyone, So, thanks to nico's help I was finally able to 'finish' our companies access database. For the past week or so though,I have been designing forms that contain a subform and an option group so that whenever a certain button on the option group is pressed the correct subform source object property is changed to display the correct form. For instance, if they click "add new investment" the subform's source object is now changed to...
1
1713
by: Himmel | last post by:
I may be brain-fried, but I could use some help again. One of my glorious forms in my multi-form report thingiemajigger is a tabular form. For example, it shows customer items purchased and the price. "Item1" "1.99" "Item2" "2.99" I'd like to pull that data into a single string from another form. But my variable assignment just keeps pulling the first item over and over.
3
4125
by: BobRoyAce | last post by:
I am using Visual Studio 2008 w/ VB.NET. For the database, I am using SQL Server 2005, which is running on a dedicated server box. I am creating a WinForms application for a client. It is run on any of several employees' desktop PCs. Now, they want to be able to "push" some of the data from the SQL Server database up to a database on a website (also SQL Server 2005).
0
9455
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
9271
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9869
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
9838
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
5140
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
5302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3805
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
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.