Hi Terry,
Can you post the whole call stack when the error occurs. This will likely shed more light on the matter than the error message you posted below.
-=Gary
>I have a parent-child-grand child situation. It is a customer-job-jobdetail arrangement. I can select a customer and create a new job and save the information. I select a job and select New Job Detail using a cmdtoolactionbuttonnew with cworkarea set to areadetail(name of table) I get the following error.
>
>Program Error
>Function, Argument Value, Type or Count is invalid.
>
>I tried to set step on but I can not find the error. I also am calling the grand child form from a frmdatachildcustom form with the following in the click event of the new button.
>
>dodefault()
>thisform.openchild('frmpaintjobchild.scx')
>
>Any ideas??? TIA.
-=Gary