General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
Thanks to everyone that responded to my posting. I finally found the source of my problem: I had a combobox where the RowSource was an SQL statement that I set at design time. I didn't notice that the SQL SELECT statement was being truncated in the combobox properties window. So, I moved the setup of that combobox to the form Init method, and the syntax error has gone away.
Do you think that a "SYNTAX ERROR" with no other information in general means that design time properties of a control somewhere are improperly set.
Jim
>I have a form that is called as a subroutine from another form:
>
>DO FORM SetupProjSessions WITH nProjectID TO lResult
>
>The WindowType property of SetupProjSessions form is Modal.
>
>When I run the main form and execute the DO FORM statement, the SetupProjSessions form appears the the screen, but I get a "syntax error", with no other error information.
>
>Under the debugger, I can see that SetupProjSession.Init runs to completion. I even added an explicit RETURN .T. statement and step through that.
>
>The next thing that executes is a refresh method of a container (a supermover object) on the SetupProjSessions form, and then the refresh method one of its listboxes. When I step out of the refresh method of the listbox, I am back in the calling form on the line following the DO FORM call, with the "syntax error" message on the screen.
>
>If I click Ignore to the 'syntax error' message, the SetupProjSession form continues to work.
>
>I would appreciate suggestions on how to debug this.
>
>Thanks,
>Jim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only