Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code didn't work
Message
 
 
To
09/03/2000 18:03:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00343914
Message ID:
00343922
Views:
16
>>select documentos
>lctextBox=PADL(.Txc_TipoDoc.value,fsize('c_docum'),'0')
>
>lcTextBox always return 1,2 or 3, only what i type.

Depending on the size of the textbox, the value could be '1 '. In which case, you will get 1 with 9 spaces after it (it truncates the last 6). Try the following:

lctextBox=PADL(alltrim(.Txc_TipoDoc.value),fsize('c_docum'),'0')
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform