From: Jamie Osborn
To: Bill von Valtier
Bill von Valtier
General VFP Topics
Thursday, October 03, 2002 12:49:00 AM
This message was rated by:
> > > Hello Friends and Mentors,
> > >
> > > While building a form in Project Manager, immediately after making an "IIF()" entry in the DynamicBackColor property of a grid form, I received the error message "Syntax Error", and find myself unable to open the Form to "Modify" it. When I try to do so, I get the dreaded error message and I cannot go further. The only options on the Error Message are "OK" and "Help". There is no option to open and edit the grid properties. Also, I have just found out the hard way that I cannot edit the error in the Class Browser at the CodeView program. Where do I go from here?
> > >
> > > TIA for any help.
> > >
> > > BillvV
> > Sounds like you'll need to open the form as a table
> > ie. USE myForm.VCX
> > Then LOCATE FOR Class = "grid"
> > then look at the PROPERTIES field - it will have the offending code - you can delete the line.
> > Cheers,
> > Jamie
> Thanks again Jamie. That did it nicely. Why did that happen? I have made beaucoup syntax errors before and this never happened?
> Another question-- what I was actually working on at the time--- I have set up a 5-column grid which insists upon displaying its five columns in the order of the table, fields 1 through 5. I want to use fields 2-6 and have accordingly set the ControlSource for each TextBox of each column to the proper field. But it continues to show them as 1-5. I can work around it by going back and rearranging the order of the fields in the table to 2-6,then 1. But as a novice, I want to understand why my setting each ControlSource is not being recognized by the App?
> with an ALIAS RecordSourceType and RecordSource is the
Hmmm. Check that the controlsource for both the column and the control (textbox) in the column are set to the correct table field.
"Syntax Error" lock-out
Posted by Bill von Valtier @ 10/2/2002 7:46:44 AM
RE: "Syntax Error" lock-out
Posted by Jamie Osborn @ 10/2/2002 8:15:42 AM
Posted by Bill von Valtier @ 10/2/2002 4:57:32 PM
Posted by Jamie Osborn @ 10/3/2002 12:49:00 AM