Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace field with blank (space)
Message
 
 
À
27/03/2007 09:56:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01208793
Message ID:
01208803
Vues:
19
select myTable
local lnI
local array laFields[1]
afields(laFields)
for lnI = 1 to alen(laFields,1)
    blank for empty(&laFields[lnI,1])
next
From the top of my head.

>hi how are you,
>mean
>
>USE mytable
>SCAN FOR FIELDS=0
>REPLACE ALL FIELDS WITH balnk
>*BLANK for Fields = 0 in myTable
>ENDSCAN
>
>
>>>hi all,
>>>i need to replace space to my table where i found zero?
>>>
>>>USE mytable
>>>SCAN FOR FIELDS=0
>>>REPLACE ALL FIELDS WITH SPACE()
>>>ENDSCAN
>>>
>>>thanks
>>
>>You can not do it, since the numeric field can not be replaced with character.
>>
>>You can use BLANK command instead, e.g.
>>
>>BLANK for Fields = 0 in myTable
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform