How to count variable starting from 01,02 ..... 10 and so on

Hi Team,

I am stuck in a scenario where counting starts from 01. I have tried to put some logics but still did not get success. I want to increment a variable from 01 to 02 …10 and so on.

Kindly help in this regard.

Thank you

Hi @enthusiastic

Check out this thread

Regards
Gokul

already ready this… But still unable to implement it.

Cn you tell us the login what you are going to archive? @enthusiastic

I am following the above mentioned post.

I have tried like this
intValue = Cint(“01”)

where intvalue is of type integer

Hi @enthusiastic

Check out this XAML file

image

IncrementTheCounter.xaml (6.4 KB)

Regards
Gokul

1 Like

Hi,

Hope the following sample helps you.

image

strNumber = (CInt(strNumber)+1).ToString("00")

Sample20221119-3aL.zip (2.2 KB)

Regards,

1 Like

Hi @enthusiastic u can use counter
lets says
declare counter = 1
counter = counter+1
message counter
in the end u can use concat fro string to get 01,02 and so on

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.