Using form to enter "query criteria" (between values)
Good morning everyone,
I want to create a form with two boxes, where first box is lower limit of
the value and the second upper limit. This values should be used in my query
as filter criteria.
Like this (query filter criteria): > "textbox1" AND < "textbox2"
Does anyone know how I can build this in a form (i.e. connect my textboxes
and query criteria)?
By thinking about for another minute I found the (simple) answer.
In the query criteria I put the following expression:
BETWEEN [forms].[nameofform].[NameofDatefield1] AND
[forms].[name...Pivot table and counting.
I have a pivot table that gives me the number of rides done by a van. I can
have the pivot table return the number of rides, but what I need is the
number vans that participated for a certain day. Example, it is possible to
have 27 trips done by 18 vans, how can I count the number of vans and not
addup the van number?
Any help appreciated.
We need a bit more information on how your source data table is set up.
What information do you have in each column?
sacredarms <email@example.com> wrote:
> I have a pi...How to validate sum of fields (access 2003)
I'm running a query in order to find records that have at least one match,
based on a form - where I select a certain record - and a subform - where the
matching records are displayed. The search is based on four parameters
(located in the main form), which are scored from 0 to 1 (passing through
0,25, 0,5 and 0,75). The results that appear in the subform are ranked and
filtered according to the sum of those four criteria and corresponding scores.
Now, my problem is very simple but so far I haven't found a solution that
works: I want to validate the sum of those f...Integration Manager error: unknown Great Plains field subtype '243
When a user with class 'ARSupvisor' tried to upload invoices to GP, an error
message show up as in the title. We have to set to 'Accounting Mgr' to have
the upload done successfully. Can someone tell why it is like this? What can
we change to make a 'ARSupvisor' be able to upload? (access right, etc)
Thanks in advance!
I have not tried this in version 10 yet, but I know in previous versions of
GP, a user had to have access to the SOP Setup screen to be able to import
SOP invoices using Integration Manager.
Hope that helps.
Dynamics GP...Cycle Counting
I am looking for ideas on how to cycle count serial
number tracked items without increasing workload. Our
serialized items are barcoded but the problem is the are
situated on the pallet incorrectly and the pallet is
placed on a third level of a racking system.
If we could just cycle count based on item count
and not include the serial number it would make it easy.
Is this possible in Great Plains. We are running Great
Any suggestions are greatly aprreciated.
...1. Selecting field with "enter"; 2. permanently accepting macros
I have recently upgraded to Access 2007 and two characteristics of my former
database are not coming through & I want to get them back. First, in Access
2003, I had set it up so that if I hit "enter" the entire field would be
selected. Now "enter" causes the cursor to jump to the next field. How can
I change this?
Secondly, In my database forms, I had incorporated buttons. Now, each time
I open the database, I am given a warning about macros and I have to manually
tell the program that the macros are trusted. Unfortunately, Access doesn't
accept this an...Store Operations POS Item Table Field Suggestion
We would like to suggest adding a new "numeric" type field in the "Item"
table of Store Operations. All of the customers that we have dealt with have
only used numeric values in the "ItemLookupCode" field, however this field is
an alphanumeric string, and does not offer true numeric sorting in applicable
browsers. Not to alienate those clients that use alphanumeric characters in
the ItemLookupCode field, we suggest adding several true numeric fields for
custom data, then the user could sort on their numeric data. In addition to
our encounters with numeri...Alternating fields
I wish to produce a list of alternately male and females records.
With a gender field, how could this be achieved?
With Gender in column B, create a new column for Count.
With the first gender in B2, enter the following in row 2 of
the Count column:
Copy the formula down to the last row of data
Select a cell in the table
Sort by Count, then by Gender
> I wish to produce a list of alternately male and females records.
> With a gender field, how could this be achieved?
Excel FAQ, ...Count
I would like to know how which formula I should use to count some codes & to
ignore the duplicated codes, for example in column A:
Now, I want Excel to count & the result is 3 which are:
Yes I can use PivotTable, but I would like to use a formula because I have
to deal with this every day.
I appreciate your support.
COUNTIF will do it.
=COUNTIF(Rng,Rng), where the criterion is the same as the range:
> I wo...How do I count the # of times a value reoccurs and plot it over ti
I wish to plot a number of errors made by each users and compare it over
time. I have a column of user ID's and a column of dates. I want the chart
to count the number of times each user ID appears and plot against it's
corresponding date. However, each time I try to do this, the chart appears
wrong. Any ideas?
In article <9595B2A1-8282-4AB3-8511-A6776E108164@microsoft.com>,
> I wish to plot a number of errors made by each users and compare it over
> time. I have a column of user ID's and a column of dates. I want t...Query in a sub form
I have a form with a subform in Access 2003. One of the fields in the
subform is called categoryid. I am trying to base a combobox on a
query which looks up the value of the categoryid of the current record
on the subform and then displays an appropriate list for that
categoryid in the combobox.
In the query I use the following line in the criteria [Forms]!
However, this query only works for the first record in the subform.
Regardless of which record the combobox is in, it always looks up the
I am working with a program called Dictaphone. We use Word 2007 in this
program. The line count on Dictaphone and the line count in Word 2007 are
different even though the Dictaphone text is retrieved from Word 2007. Why
would they be different?
What is the difference between virutal line count and physical line count?
...Populate Blank Fields with "0" based on checkmark.
I have a form with 20 fields. The user enters data into some but not all of
the fields depending on where they collected data. Is it possible to create
a checkbox where, after the user enters their data, they click the checkbox,
and any of the 20 fields that are blank get populated with a 0?
Thanks for the help.
Is there any reason you want them to be zero?
If they are numeric fields, you can set the default to zero in table design
There is no need to use a checkbox, you can arrange it so any empty fields
are converted to zero when you move to another record or exit th...count number of characters in rich edit control
How can i count number of characters in rich edit control 2
If u mean controls of type Rich TextBox control, try
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i count number of characters in rich edit control 2
EM_GETTEXTLENGTHEX, WM_GETTEXTLENGTH, WM_GETTEXT, EM_STREAM*
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i co...Multiply all query by same value
I have two different datasets. Each with a common identifier. I need a
formula that will reference the identifiers in both datasets and count the
number of sales a particular agent made. Example. look up this identifier
in the other dataset and then give me the value that is 2 columns over from
the identifier in the second dataset.
See if this helps:
Microsoft Excel MVP
"Dave" <Dave@discussions.microsoft.com> wrote in message
>I have two...Counting Cells with Conditional Formatting
Is there a way to look at a row of data that is either highlighted yellow or
red and to count only the data that is highlighted yellow and give me that
None of my data is numerical....just one letter data, i.e.: "S" or "U"
I just want to count how many of the cells are highlighted yellow in a
specific row, if that makes more sense.
Here's a UDF (Put in a Standard module)
and use it in cell A1, like =CountByColor(A8:H8,6) << where 6 (at
present) = Yellow = change to =CountByColor(A8:H8,3) to get the reds
Function CountByColor(InRa...COUNT ? need formula
I want to track the results of my teams sales performance.
I record if it is a sale, no sale, cancelled etc in column M. I thought I'd
be able to use the COUNT function/formula to be able to search for all the
SALES in column M and place the result in a cell ( column O )but I can't
work it out.
"Diamond Jones" <kwanzaNOSPAM@optusnet.com.au> wrote in message
> I want to track the results of my teams sales perf...telephone number field mask
I have a field I use for telephone numbers. I would like the mask to return
data like this : 111 111 1111.
What is the formula for this?
Any help is appreciated.
Thanks much for assistance. I tried your mask with great success. All is
good in River City.
Thanks again for your help.
"mtn244" <firstname.lastname@example.org> wrote in message
> Try this input mask:
> !999 000 0000;0;
> "Frank" wrote:
>> I have a field I use for telephone numbers. I would lik...Count Function
I am creating a report for the number of pupils being collected at a certain
collection time e.g. 14:00hr and 15:00hrs
using the formula =Count([Child Last Name]) in the collection time footer
However when i try to count the overall number of pupils in the footer using
the same formula, 'Error' appears on screen?
There are potentially a dozen footer sections in a report. Which one is
giving you a problem? What is the name of the control? What is the exact
Microsoft Access MVP
> I am creating a r...Counting a count
How do I count a count??
This is what im trying to do:
I have a database with a table named tblMain and has incorporated everything
within that table but contains info from about 8 other tables. I have not
doesigned this database and it appears to have a very poor structure...anyway
There are three fields involved in this process...'Request' (either
'dispensation', 'waiver' or 'dispensation and waiver'), 'Department' (which
consists of 7 other drop down menu options) and 'RequestStatus' which
contains the status of each request by another...Number format / field size
I want to set a Primary key with 16 digits - 4 groups of 4 numbers with
spaces between - which I can use in a calculated field to increment.
I have tried every permutation I can think of, can anyone help please?
Use 4 separate fields, put contraints so that none of them can exceed 9999,
and concatenate them into a single field in a calculated field in a query.
Use the query wherever you would otherwise have used the table.
Doug Steele, Microsoft Access MVP
(no private e-mails, please)
"Kitty R" <Kitty R@discussions.microsoft.com> wrote in mess...Table or Query?
I've been racking by brain and various books to find some answers, but to no
avail. I need assistance with a simple task.
I have a combo box that looks up items from a table. Once an item is
selected, I do not want it to appear again. Should I be using a query for my
Please help!! Any assistance would be greatly appreciated.
When you say "Once an item is selected, I do not want it to appear again.",
what is the scope? Do you mean never ever again or do you mean while the
form is open?
It makes a difference in how you will approach this.
...2002 Pivot Table Calculating Field
Can you place a calculated field in a Column next to an Excel List field?
Total Quater1 % Quarter2 % Quarter3 % Quarter4
Sales Sales Sales Sales
240 10 4 75 31 105 44
The % field is not in the Excel List.
Area Quarter Sales
1 2 50
2 3 75
3 2 25
4 1 10
5 4 35
6 ...Count Problem
I have 20 cells in a single column in a sheet called "Audits"
All the cells have a formula in them.
The formula is a simple one that reads whatever I put into a cell on a
different worksheet called "Names"
I would like to have a formula that counts up all the results I get in the
sheet called "Audits"
At the moment if I enter (let say) 15 names in the "Names" sheet the result
is that I see the same 15 names in the "Audits" sheet, however the COUNTA
formula returns a total of 20. SO obviously...