Reputation: 1
There are two datawindows in a window, header part and detail part. Detail part datawindow is multirow datawindow where it is not displaying after tried via .exe.
Long back its worked with adding 1st datawindow fields to 2nd datawindow and 2nd datawindow fields to 1st datawindow. But now it's not working
Upvotes: 0
Views: 137
Reputation: 4174
Two possible causes:
The most likely is that the datawindows are shared, and you mentioned columns were added. The definition for the header datawindow object and detail datawindow object are probably different and the ShareData function is probably failing. Solution: Make sure the underlying definition of both datawindows are exactly the same. I'm guessing the ShareData function is failing- check the return code to verify.
You're dynamically assigning the dataobject to the datawindow, and it's not getting included in the EXE. You could try adding it to a PBR file when doing a build, or specify PBD (for the PBL) when building the application. See: https://docs.appeon.com/pb2022/pbug/Distributing_resources.html#:~:text=A%20PBR%20file%20is%20an%20ASCII%20text%20file,list%20as%20a%20file%20with%20the%20extension%20PBR.
Upvotes: 0