Dear Sir/Madam,

I am using APPEON 3.1, powerbuilder 10.2.0(build 8050) and SQL Server 2000
SP3. In the database structure, I am using identity as key. The following
is the logic to update the master-detail window.

dw_master.update()

for i = 1 to ll_rowcount //dw_detail's rowcount
dw_detail.setitem(i,'master_key',ll_master_key)
next

dw_detail.update()

However, I found that the identity in the master datawindow will not appear
so that dw_detail.update() returns error since the foreign key cannot be
null.

Thanks