Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter not working
Message
From
19/02/2002 12:21:40
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00622016
Message ID:
00622031
Views:
21
This message has been marked as the solution to the initial question of the thread.
>I'm running a report using a remote view of Access data. I wish to filter out records that have a zero balance. The SQL statement reads:
>SELECT Client.FirstAppointment, Client.Balance, Client.Last,;
> Client.ClientNumber, Client.ClientActive, Client.Collections;
> FROM Client Client;
> WHERE Client.Balance > 0
>When I run the report, it will show some, but not all records that have a zero balance.
>When I browse the view from the command window:
> ? balance shows 0.00
> ? balance = 0 shows .f.
>Any ideas?
>Thanks.

Hi Ken
It's simple, they are not 0 it only looks like. This rounded is by foxpro's SET DECIMAL.

If you wnat to have a look try something like
? balance *10000
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform