473,386 Members | 1,908 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,386 software developers and data experts.

Unable to bring all the data

Hello,

I have a simple query that is trying to bring all the data according
to the criteria below

Not Like "0" And >"4.99"

but it is not bring it up.

What could be the problem. It is only showing up 32 records instead of
49 records.

Now here is the deal.

There data looks like this:

9.99
0
5.99
19.99

It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.

Any help is appreciated.

Thanks
Jun 27 '08 #1
5 1434
Abedin wrote:
Hello,

I have a simple query that is trying to bring all the data according
to the criteria below

Not Like "0" And >"4.99"

but it is not bring it up.

What could be the problem. It is only showing up 32 records instead of
49 records.

Now here is the deal.

There data looks like this:

9.99
0
5.99
19.99

It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.

Any help is appreciated.

Thanks
You could create a calculated column to filter on instead. Let's say
the field is called Amt. You could then create a column and enter
CurAmt : CCur(Amt)
to convert the string to a currency and then your filter would be
Not Like 0 And >4.99

Of course, it might be better if the field was a currency type and then
you wouldn't have this problem.

Cruising
http://www.youtube.com/watch?v=sdxqlrcs37c

Jun 27 '08 #2

"Abedin" <ab*****@gmail.comschreef in bericht news:10**********************************@e53g2000 hsa.googlegroups.com...
Hello,

I have a simple query that is trying to bring all the data according
to the criteria below

Not Like "0" And >"4.99"

but it is not bring it up.

What could be the problem. It is only showing up 32 records instead of
49 records.

Now here is the deal.

There data looks like this:

9.99
0
5.99
19.99

It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.

Any help is appreciated.

Thanks
Is this Numeric data (yes) or string data (no)
So simply get rid of the double quotes

What do you mean by Not Like "0"

I guess you need as criteria only
>4.99
Arno R
Jun 27 '08 #3
Arno,

What I mean by Not Like "0", beucase I have 0s there as well. And I
don't want all the zeros.

On May 27, 10:10*am, "Arno R" <arracomn_o_s_p_...@planet.nlwrote:
"Abedin" <abed...@gmail.comschreef in berichtnews:10**********************************@e 53g2000hsa.googlegroups.com...


Hello,
I have a simple query that is trying to bring all the data according
to the criteria below
Not Like "0" And >"4.99"
but it is not bring it up.
What could be the problem. It is only showing up 32 records instead of
49 records.
Now here is the deal.
There data looks like this:
9.99
0
5.99
19.99
It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.
Any help is appreciated.
Thanks

Is this Numeric data (yes) or string data (no)
So simply get rid of the double quotes

What do you mean by Not Like "0"

I guess you need as criteria only
4.99

Arno R- Hide quoted text -

- Show quoted text -
Jun 27 '08 #4
On May 27, 10:11*am, Salad <o...@vinegar.comwrote:
Abedin wrote:
Hello,
I have a simple query that is trying to bring all the data according
to the criteria below
Not Like "0" And >"4.99"
but it is not bring it up.
What could be the problem. It is only showing up 32 records instead of
49 records.
Now here is the deal.
There data looks like this:
9.99
0
5.99
19.99
It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.
Any help is appreciated.
Thanks

You could create a calculated column to filter on instead. *Let's say
the field is called Amt. *You could then create a column and enter
* * * * CurAmt : CCur(Amt)
to convert the string to a currency and then your filter would be
* * * * Not Like 0 And >4.99

Of course, it might be better if the field was a currency type and then
you wouldn't have this problem.

Cruisinghttp://www.youtube.com/watch?v=sdxqlrcs37c- Hide quoted text -

- Show quoted text -
Salad,

I did, but same thing.
Jun 27 '08 #5
Abedin wrote:
On May 27, 10:11 am, Salad <o...@vinegar.comwrote:
>>Abedin wrote:
>>>Hello,
>>>I have a simple query that is trying to bring all the data according
to the criteria below
>>>Not Like "0" And >"4.99"
>>>but it is not bring it up.
>>>What could be the problem. It is only showing up 32 records instead of
49 records.
>>>Now here is the deal.
>>>There data looks like this:
>>>9.99
0
5.99
19.99
>>>It is only picking up single digit before decimal. And it is not
picking up double digit before decimal.
>>>Any help is appreciated.
>>>Thanks

You could create a calculated column to filter on instead. Let's say
the field is called Amt. You could then create a column and enter
CurAmt : CCur(Amt)
to convert the string to a currency and then your filter would be
Not Like 0 And >4.99

Of course, it might be better if the field was a currency type and then
you wouldn't have this problem.

Cruisinghttp://www.youtube.com/watch?v=sdxqlrcs37c- Hide quoted text -

- Show quoted text -


Salad,

I did, but same thing.
Did you put the new filter
Not Like 0 And >4.99
under the CCur column?

How about simply
>4.99
under the CCur column?

If you did and it's still incorrect, place a checkmark in the Show box
row for the CCur, remove the filter (temporarily), and verify the results.

Horo'a i te Here
http://www.youtube.com/watch?v=VFzYPTqpXG0
Jun 27 '08 #6

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

Similar topics

7
by: Thomas Scheiderich | last post by:
I have a page that is trying to connect to my SQL Database. All the code I have seen shows me to connect the same way. The error I am getting says: Error Type: Microsoft OLE DB Provider for...
1
by: Marcus | last post by:
I have a database containing my own tables and data and I wanted to be able to query this against an accountancy program which has an ODBC driver. This was never a problem with MS Access and Jet...
1
by: Programmer | last post by:
Hi All Here is my problem I'm using a SQLDataAdapter and DataSet I use the method FillSchema(myDataset, SchemaType.Source) The problem is that when i Check the default Values of the Dataset...
6
by: steveneng | last post by:
C++ Primer Plus Programming Exercises 4th Ed - Prate Help I'm trying to refresh myself and I'm stuck on this problem (not homework/school related but for personal advancement). 6: Do...
3
by: StephenRichter | last post by:
I have installed the trial of db2 enterprise server on my w2k PC. Have also installed fix pack 8 of that product. I am using it to connect from an asp.net web page to an IBM as400. the 400 is...
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
3
by: Michel Esber | last post by:
Hello, DB2 V8 LUW FP12 + Linux. I have just turned on DB2's connection concentrator feature. MAX_COORDAGENTS=1100 and MAX_CONNECTIONS=1500. Two hours after restarting the instance, the db...
2
gchq
by: gchq | last post by:
This is the first time I've attempted to bring data into a DataTable from XML - that part (now) works OK, but it's blowing out at the select (line 23 below) statement with "Unable to cast object of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.