Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing XML strings suing RDS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00267036
Message ID:
00267410
Vues:
20
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
Fil
Voir

Click here to load this message in the networking platform