Home > database >  Tab_1. Selecttab (tab_1. Selectedtab - 1) what is wrong?
Tab_1. Selecttab (tab_1. Selectedtab - 1) what is wrong?

Time:09-24

If tab_1. Selectedtab> 1 then
Tab_1. Selecttab (tab_1. Selectedtab - 1)
End the if
The above code where there is wrong?
For error message is: incompatible property selectedtab - 1 type tab_1

CodePudding user response:

 if tab_1. Selectedtab> 1 then 
Tab_1. Selecttab (tab_1. Selectedtab - 1)//minus sign with other variables or constants, separated with a space
End the if

CodePudding user response:

Tab_1. Instead tab_1 selectedtab - 1. Otherwise pb considered tab_1 selectedtab selectedtab - 1-1 attribute

CodePudding user response:

Tab_1. Selectedtab - 1 to determine whether & lt; 0

CodePudding user response:

In PB on both sides of the subtraction operator to add Spaces

CodePudding user response:

On the top floor of the

CodePudding user response:

Problem is to solve, but another one of my code tab_1. Selecttab (tab_1. Selectedtab + 1) there is no space between, there is no problem?

CodePudding user response:

Plus it doesn't matter, it is not a minus sign
  • Related