Information générale
Catégorie:
Applications Internet
Dan:
You never have to make more than one call to the server. Using RDS or XMLHTTP, you can run queries from your client side script by calling methods in your VFP COM object. Then your VFP COM object will take the results of the query and scan the result cursor building up an XML string to pass back to the client. On the client side, the LoadXML() method is used to load the XML sting into the XMLDSO. The XMLDSO is based on an ADO RS and you can bind HTML controls to it (real cool!). Now you have a local cache of data on your web browser that you can manipulate (i.e, navigate, filter, sort ect.) using ADO commands. To update the server, you send the XML back to the VFP COM object, convert it to a cursor, loop through and update as necessay.
Charlie
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement