Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bill von Valtier
 Bill von Valtier
 To: Jamie Osborn
  Where is Jamie Osborn?
 Jamie Osborn
Subject: Thanks
Thread ID: 15845 Message ID: 15867 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Wednesday, October 02, 2002 4:57:32 PM         

> > 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
> jamie.osborn@foxite.com

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


"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
Thanks Posted by Bill von Valtier @ 10/2/2002 4:57:32 PM
RE: Thanks Posted by Jamie Osborn @ 10/3/2002 12:49:00 AM