Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number at mytext
Message
From
11/12/2004 12:30:15
 
 
To
11/12/2004 12:16:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00966918
Message ID:
00968553
Views:
59
hi,
thank you,
i try as under,i get the same
thisform.text1.value=(RIGHT(STR(lnYear),4),2) + '_' + RIGHT(STR(10000+1,5)),4
and as
thisform.text1.value=(RIGHT(STR(lnYear),4),2) + '_' + RIGHT(STR(10000+1,5),4)
thanks.
m.qasem

>Read the error message carefully Mohammed and check your work. The error is that you are closing the first STR() function before the ",4" so the STR() function is not getting the length parameter. It should read:
>
>
> thisform.text1.value=(RIGHT(STR(lnYear,4),2) + '_' + RIGHT(STR(10000+1,5),4))
>
>
>
>Plus; the part
>
>
>RIGHT(STR(10000+1,5),4))
>
>
>seems pointless although I have not followed the thread so perhaps I missed something.
>
>Also, cut out the old previous stuff from your replies which otherwise creates gigantic posts.
>
>
>
>>hello,
>>i get error message (function name is missing)at this line under
>>
>>
>>  thisform.text1.value=(RIGHT(STR(lnYear),4),2) + '_' + RIGHT(STR(10000+1,5),4))
>>
>>i change it as befor it works,but still if i change my calander i get the same result.
>>
>>thisform.text1.value=(RIGHT(STR(YEAR(billinfo.billdate),4),2) + '_'+RIGHT(STR(10000+billinfo.billno+1,5),4))
>>
>>thanks.
>>m.qasem
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform