The main Form in EXE cannot accept parameters in the Init. You've to create main program that accepts parameters and pass them to a form.
>Ok - I tried that, I put
>Parameter cP4_Contact as the first line of my INIT. I then store it to a property of the form. But after the INIT runs, I get the error "No PARAMETER statement found".
>
>I do _not_ have a Main.prg, I just opened a new project and added this form.
>
>Thanks
>bill
>
>>That's correct, use the INIT of your form, if you are using a main.prg do it there.
>>
>>
>I have a very simple project. It has 1 form which lets the user select printing of Crystal reports, or converting them to PDF.
>>
>>>As this project has just this one form, can I receive a parameter within the Init of the Form? Or how would I handle this?
>>
>>>I want to pass the Project.exe file a parameter.
--sb--