Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I check if numeric field is 0 or blank
Message
De
26/08/1999 10:19:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How can I check if numeric field is 0 or blank
Divers
Thread ID:
00257901
Message ID:
00257901
Vues:
56
old record example
Sample# 1234567
test1result 2.45
test2result
test3result 1.12
..test55result 4.24

I only want to copy where there is a value, either zero or a number.
I can't find a way to exclude test2 since it is blank. (There 55 result fields but usually only 5 - 10 have a value).
new record layout
Sample# Test# Result

Something like
Select 1
IF !(ALLTRIM(STR(test1result)) = " ") then
value = test1result
select 2
append blank
replace sample# with samplevaraible
replace test# with 5
replace result with value
ENDIF

Thanks for any help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform