Results 1 to 4 of 4

Thread: Find via Relate_Main_File

  1. #1
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    965

    Default 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 http://support.dataaccess.com/Forums...067#post297067
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  2. #2
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    965

    Default 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

    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?
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  3. #3
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    4,674

    Default 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).

  4. #4
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    965

    Default Re: Find via Relate_Main_File

    Its a parent of the main table in this case.
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •