Let me make a stab at this.
I think that you need to document both tables:
DBSetProp('vPrintP','View','Tables','printP, convPlan')
You need an update type:
DBSetProp('vPrintP','View','UpdateType', 1)
HTH
__Stephen
>I use following statement to create a updatable view
>
>OPEN DATA vPo
>CREAT SQL VIEW vPrintP AS ;
> SELE printP.id,qaSn,po,cusId,convPlan.qty,;
> FROM po!printP,po!convPlan ;
> WHERE printP.planId = convPlan.id AND;
> issue = ?mDate AND;
> ORDER BY qaSn
>
>DBSetProp('vPrintP','View','Tables','printP')
>DBSetProp('vPrintP.id', 'Field', 'KeyField', .T.)
>
>DBSetProp('vPrintP.qaSn', 'Field', 'UpdateName', 'printP.qaSn')
>DBSetProp('vPrintP.qaSn', 'Field', 'Updatable', .T.)
>
>DBSetProp('vPrintP', 'View', 'SendUpdates', .T.)
>
>
>My view are stored at Vpo DATABASE, my table are stored at PO Database.
>
>When I update the change by TABLEUPDATE(), system tell me cannot update the table. Why??
>
>I need to open View Designer, Set the Key Field, updatable fields manually in order to make View work properly.
>
>Why??
>
>TIA.