Skip to main content
Solved

detail tab with view shows display message


Tejo van de Bor
Captain
Forum|alt.badge.img+5

hi,

We use a view in a detail tab where we combine two tables, a record can be added in the row. We use an instead of trigger to insert the records in het underlying tables. After adding the record, the message “saved data can not be displayed on this screen”, but surprise, the new record is shown!

 

 

Because of the two tables, two primary keys are added in this view, can this be the problem? Should I create a dummy primary key for this view?

Anybody an idea how to fix this?

Best answer by Tejo van de Bor

Support says it is working in 2024.1 so this issue is 2022.2 related. Will try myself when we level up to SQL2019.

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

5 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Tejo,

I believe the primary key can indeed result and prevent this behavior. Try and have a primary key from the List to Shipment package measurements that enforces a strong relationship. E.g. Shipment_id ↔ Shipment_id


Tejo van de Bor
Captain
Forum|alt.badge.img+5

hi @Mark Jongeling, problem also in ticket 9207S cause I have other problems with the shipment_id column. I’ll add fix here when available.


Tejo van de Bor
Captain
Forum|alt.badge.img+5

Support says it is working in 2024.1 so this issue is 2022.2 related. Will try myself when we level up to SQL2019.


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hey Tejo,

Great! Be sure to start preparing to upgrade as 2022.2 will go out of support after this month 


Tejo van de Bor
Captain
Forum|alt.badge.img+5

Edit: Support could reproduce the same error in 2024.1, now waiting for hotfix or workaround.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings