Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Removing leading zeros
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement