Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing leading zeros
Message
De
08/06/1999 09:03:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Removing leading zeros
Divers
Thread ID:
00227388
Message ID:
00227388
Vues:
60
hello:

I load a combobox on a form from an array and
if the value of Casemang = 81 it writes back 081 to my table.

My code is the following:

select name, c_id from &fromfile
where user.cats = .t. and users.casemang = .t. in array acaseman order by name

c_id is character 3.

when I try to take the val(c_id) it won't allow me to select anything in my combobox(shows the names but won't let me select). If I tru allt(val(c_id) i get an error.

the properties of my combobox are bound = true, boundcolumn = 2

Is there anything else I can do to get rid of these zeros?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform