P parijs Active Member Licensed User Longtime User Jul 12, 2017 #1 I Have Private vaM20,aM21v,aM22v,aM23v,aM24v,aM25v,vRetotaal1 As String (in Sub Globals) In Activity_Create vaM20="no" And Sub SpaM20_ItemClick (Position As Int, Value As Object) aM20p = Position vaM20 = Value calregel1blad1 End Sub (In a spinnerclick) And Log(vaM20) If vaM20 = "Steenachtig" Or vaM20 = "Niet steenachtig" Then (in calregel1blad1) And get Error code: An error occurred: (Line: 1582) vRe1 = "Steenachtig" java.lang.Exception: Array Not expected... The error is in Log(vaM20) and If vaM20 = "Steenachtig" Or vaM20 = "Niet steenachtig" Then SpaM20 is not jet used, when i used the spinner it works fine And most importantly I can not figure it out
I Have Private vaM20,aM21v,aM22v,aM23v,aM24v,aM25v,vRetotaal1 As String (in Sub Globals) In Activity_Create vaM20="no" And Sub SpaM20_ItemClick (Position As Int, Value As Object) aM20p = Position vaM20 = Value calregel1blad1 End Sub (In a spinnerclick) And Log(vaM20) If vaM20 = "Steenachtig" Or vaM20 = "Niet steenachtig" Then (in calregel1blad1) And get Error code: An error occurred: (Line: 1582) vRe1 = "Steenachtig" java.lang.Exception: Array Not expected... The error is in Log(vaM20) and If vaM20 = "Steenachtig" Or vaM20 = "Niet steenachtig" Then SpaM20 is not jet used, when i used the spinner it works fine And most importantly I can not figure it out
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2017 #2 Please use [code]code here...[/code] tags when posting code. Upvote 0