- Michał Misijuk
- PowerBuilder
- Wednesday, 23 October 2019 08:26 AM UTC
Hello,
I've created a datawindow (dw_data) with select consisting on 2 tables like:
Select
tab1.symbol,
tab1.desc,
tab2.id,
tab2.fk1,
tab2.fk2,
tab2.status,
etc...
From tab1,
tab2
where tab1.id=tab2.id
On datawindow visible are only kolumns from tab1, and rest is used on update properties:
Unique Key Column(s): tab2.id
Updatable Columns: tab2.fk1, tab2.fk2, etc...
There is a button "Add" which add row into dw and sets columns:
tab1.symbol,
tab1.desc,
tab2.id,
tab2.fk1,
and then im trying to save it to database,everything looks fine but datastore::setchanges throws me -3 which is column mismatch.
I've done many dw, i've got many errors but this got me really stuck.
Does anyone have an idea?
Thanks!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.