Hi Raj,
I don't know if you typed that statement in or copied it but there's a few things wrong with it.
culist needs to be a variable containing the name of the cursor. If this is your intention then there's nothing wrong.
workpkg_noc(5) should be workpkg_no c(5)
sub_title(50) should be sub_title c(50)
When you apply those changes as follows, the statement is fine.
CREATE CURSOR culist2 (project_no C(3), workpkg_no c(5), sub_title c(50))
Regards,
Liam
>I am doing the following but i am getting error (not character expression)
>
>CREATE CURSOR (culist2) (project_no C(3), workpkg_noc(5),sub_title(50))
>
>Thank you very much.
Liam O'Hagan
MCP VFP Desktop Apps