General information
Category:
Coding, syntax & commands
Title:
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only