Find via Relate_Main_File
Hi DAW
Finding a parent via relate main file, is leaving the changed state true. So I when exit a zoom view it always asks me to confirm. Normally I would use a local relationship but in this case I can't.
This is was also reported here [url]http://support.dataaccess.com/Forums/showthread.php?52216-Grids-and-Soft-relationships&p=297067#post297067[/url]
Re: Find via Relate_Main_File
I am thinking this comes down to my understanding, and I have looked at this before but am still not getting it :mad::confused:
In my code where I have relate main file's, onprefind's and onpostfind's I wrap my code around not appsynching, as when the buffers are being reloaded during reattaching a session I don't want that code firing.
My understanding was that regardless of relationships (physical or soft) each DDO in the server structure was individually reloaded with record it had (or clear buffer) from the previous session. Thus I wasn't doing the find during a relate main file for soft relationships during AppSynching.
It now looks like I have to, is this correct?
Re: Find via Relate_Main_File
Only DDO's that are part of your DDO Structure are synchronized. You can add extra DDO structures using AddDDOStructure (see DemoMultiDDOStructure.wo of WebOrder).
Re: Find via Relate_Main_File
Its a parent of the main table in this case.