Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing leading zeros
Message
From
08/06/1999 09:03:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Removing leading zeros
Miscellaneous
Thread ID:
00227388
Message ID:
00227388
Views:
61
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
Map
View

Click here to load this message in the networking platform