well one day soon I hope to complete a day of testing without having to bother you all. :/
so i am running thru a set of properties in the init of a class that creates my menu form. the form is properly created and modified in vfp. this case is to resize and move objects which may or maynot be needed in the end but the example repeats in many other places doing different things so i need to figure it out.
I simplified the first error occurance and it works so the problem wouuld seem to be with the iif Ive read all the docs I can find and no clue.
line creating the error
thisform.controls(X1).LEFT=IIF(THISFORM.CONTROLS(X 1).TAG=' ',thisform.controls(X1).LEFT*M.SCRSZ,thisform.cont rols(X1).LEFT)
error:
Fri Jan 10 13:47:29 2014
**** Lianja error ****
thisform.controls(X1).LEFT=IIF(THISFORM.CONTROLS(X 1).TAG=' ',thisform.controls(X1).LEFT*M.SCRSZ,thisform.cont rols(X1).LEFT)
^
Comma was expected
Called from program - mnu1.init() at line 84
Called from program - menu.dbo at line 49
Called from program - start.dbo at line 215
TIA
Jim
Bookmarks