Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter not working
Message
De
19/02/2002 12:21:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00622016
Message ID:
00622031
Vues:
20
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform