On Tue, 28 Jan 2003, Ramakrishna Duvvuri wrote: > I am trying to write a PQA file that collects the data from remote > database server and store in the local PDB file (through PRC files). > Can any one pls tell me how to transfer the data from PQA to PRC/PDB? > Sample Code would be of great help.
You can pass parameters from a PQA to a PRC by using "palm:" and "palmcall:" URLs in the PQA. The main difference is that the palmcall method is done as a subcall (hence, you have no globals). The format of the URL is in the Web Clipping Guide, and the PRC side of things is in the Palm OS API Reference in the information on the sysAppLaunchCmdURLParams lauch code. I'm not sure how much space is allowed for parameters being passed this way, though. If you're wanting to grab a query result from a database server and put it in a Palm database, you're probably better off passing query information from the PQA, and using the Internet Library (or writing your own HTTP client) in the PRC and downloading the data you want that way. -- ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator We are born naked, wet and hungry... then things get worse. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
