Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace field with blank (space)
Message
De
27/03/2007 10:11:36
 
 
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:
01208808
Vues:
22
hi,
convert all fields to zeroz,character type and numaric type???
thanks
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform