It works in my conduits. Maybe you could post your problem with function in the conduit forum a 2nd time. I'd place it so it gets called periodically during the data transfer. If that requires you to place it in your loop so it gets called for every record, so be it.
----- Original Message ----- From: "James Barwick" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 4:49 PM Subject: Re: How to use Yield Cycles of Sync Manager? > This function does NOT work. > > You will have to find a different way. For example, I put the call to > retrieve the number of records in the database inside my loop. > Palm has not yet responded on this "bug" to my satisfaction. I wish I > could find my old emails about this.. > > James > > chakin1 wrote: > > >Hi all, > > > >My programme has a while loop that getting all the record objects from the > >database. So if there are 1000 of records, it will prevent the Sync manager > >of communicating with the hand held for certain period of time. As you all > >know, in order to keep connection to hand-held device from timing out, > >Conduit can use the Sync manager yieldCycles function. However I have > >difficulties in using this function. Where should I put this func.. In the > >while loop (which is in another class. Not in the conduit class) or right > >before calling the data collection module. > > > >Thanks for the help. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
