Android Question B4A 11.80 Do While

Almora

Well-Known Member
Licensed User
Longtime User
hi.

When I install the new version of b4a, a typo occurs in this code.
how can i fix this. There was no such error in the previous b4a version.
thanks..



B4X:
...

    long1= DateUtils.SetDate(EditText1.Text,EditText2.Text,EditText3.Text)

   Do While DateTime.Now>=long1 Then  '  the error is in this line
        periode1.Days=7
        long1=DateUtils.AddPeriod(long1,periode1)
    Loop
   
   
    ...
 

toby

Well-Known Member
Licensed User
Longtime User
Remove "then"
 
Upvote 2
Cookies are required to use this site. You must accept them to continue using the site. Learn more…