Syntax error
Posted: Fri Oct 22, 2010 10:32 am
Hello...
I'm getting syntax errors on my modal window and grid definitions:
deductio.prg(57) Error E0030 Syntax error "syntax error at 'WINDOW'"
deductio.prg(65) Error E0030 Syntax error "syntax error at '@'"
on these codes:
Please find time to analyze and help me.
TYVM.
I'm getting syntax errors on my modal window and grid definitions:
deductio.prg(57) Error E0030 Syntax error "syntax error at 'WINDOW'"
deductio.prg(65) Error E0030 Syntax error "syntax error at '@'"
on these codes:
Code: Select all
declare window MainForm
dbselectarea("PERSONEL")
dbgotop()
aHeaders := {"Emp No.", "Employee Name", "Company"}
aWidths := {80, 203, 100}
DEFINE WINDOW wiDeduct ;
AT 10, 10 ;
WIDTH 650 ;
HEIGHT 600 ;
TITLE "Deductions" ;
MODAL <---- line 57
@ 10, 10 GRID grDeduct ;
width 510 ;
height 510 ;
headers aHeaders ;
widths aWidths ;
rowsource "PERSONEL" ;
columnfields {"empnum", "empname", "company"} <---- line 65
END WINDOW
CENTER WINDOW wiDeduct
ACTIVATE WINDOW wiDeductTYVM.