Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number at mytext
Message
De
11/12/2004 12:16:44
 
 
À
11/12/2004 11:54:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00966918
Message ID:
00968551
Vues:
51
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
>
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform