Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PADL?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: PADL?
Miscellaneous
Thread ID:
00544373
Message ID:
00544381
Views:
11
Curious...
Don't you mean PADL(GetDocNo(),6,'0')?

>Hi - I am trying to create incrementing document numbers in the form "DOC000001". I have a stored procedure (GetDocNo) that takes care of generating the value which it returns as a string. I have a character field 9 wide and in the default I have
>"DOC" + PADR(GetDocNo(),6,"0")
>If I run this in the command window its Ok but the field gets "DOC 1" - if I increase the field length to 40+ I get "DOC00 1"
>
>Any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform