Hi!!
I'm using the next code line to do a reference number:
thisform.txtsiglascomp.value + "6" + LTRIM(STR(thisform.text4.value)) + LTRIM(STR(Month(Date()))) + LTRIM(STR(Year(Date())))
It works Ok, but I need the value of the month and year will be of 2 digits (year 2001 I need 01 and Month 1 need 01)
Is there a way to give format to year and month?
Please Help me!!!
I'm using the next code line to do a reference number:
thisform.txtsiglascomp.value + "6" + LTRIM(STR(thisform.text4.value)) + LTRIM(STR(Month(Date()))) + LTRIM(STR(Year(Date())))
It works Ok, but I need the value of the month and year will be of 2 digits (year 2001 I need 01 and Month 1 need 01)
Is there a way to give format to year and month?
Please Help me!!!