Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace field with blank (space)
Message
De
27/03/2007 10:47:58
 
 
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:
01208833
Vues:
26
error message
Invalid subscript reference
if inlist(laFields[m.lnI,2],'N','I','B')
>Try
>
>if inlist(laFields[m.lnI,2],'N','I','B') && Numeric, double or Integer
>   replace ...
>endif
>
>>hi,
>>
>>i'm sorry ,
>>i have another type need to convert to null or space ...
>>type double and integer.
>>
>>thanks
>>
>>>If this is the case, you should make them NULL, not blank, AFAIK.
>>>
>>>Change the command to
>>>replace (laFields[lnI,1]) with NULL for empty(&laFields[lnI,1])
>>>
>>>Check Re: Blank dates in Excel Thread #1140736 Message #1142863
>>>
>>>>yes,
>>>>i convert this table to excel sheet, i found many records have zeroze...
>>>>
>>>>>You cannot fill space to numeric field. Maybe you want to show blank on screen when table field value is zero?
>>>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform