Looks like Kevin has helped you out. I definitely agree with his suggestion.
>Hello Doug
>You were right, I had made an error in the VIEWS.PRG file. In the line shown below, I had put the name of the view instead of the name of the table.
>
>DBSetProp('LV_CONTVIEW', 'View', 'Tables', 'contapp!contracts')
>
>So I have got past that problem. I now fail at the line:
>
>=SETFLDSTATE(lcPrimaryKey,3)
>
>also in the ONNEW method of the bizobj. I can see the reason, its because I am sitting on record number 1 instead of a blank appended record. For some reason I am not appending a blank to the view. It may be another error I have put in the VIEWS.PRG file. Do you have any suggestions?
>
>I cannot find where the ALLOWNEW method is in the bisobj code.
>
>Thank you in advance. Allan
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch