Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ObjectPal syntax error

Status
Not open for further replies.

jlockley

Technical User
Nov 28, 2001
1,522
US
I am playing with an older Borland Paradox guide and get some errors using their examples.
This is one tweaked for my files. (I am trying to get on top of it enough to create a form query.. right now it's about getting the basics.
-------
method mouseClick(var eventInfo MouseEvent)

var newrol Query
endvar

TRUE = CorpChef.value

newrol = Query

newrol.db | name | CorpChef | Resume |
| check | Check ~TRUE | Check |

endQuery

if not eqecuteQBE(newrol, "newrol.db")then
errorShow()
endif


endMethod

---- current error is

TRUE = CorpChef.value
"(" expected.

(The value I seek in the CorpChef field is "True". )

Any thoughts?


 
resolved. It turne out that the problesm was using my existing filed titles with spaces instead of _
Now I need to change field names in table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top