>Hi, Kevin.
>
>>In a 3-tier app, I am creating a form in the front-end and wanted some advice on the best way of handling the data that is received from the middle-tier. My form will contain a grid which lists all records, and then fields that allow the user to amend them.
>>
>>If the middle-tier returns XML, should this be converted/read to a VFP cursor, an ADO recordset? I'm a bit stuck. Someone has already suggest binding to properties in the business-object, but I wanted some more opinions/views on other ways of approaching this.
>
>If the middle-tier returns XML, then your best approach would be to convert it to a VFP cursor (using XmlToCursor), so you can bind it to the grid. You can bind controls to a BizObj properties as long as it is treated as a single-record entity. You can do this with a grid.
So, if I had a read-only cursor to display in the grid, then when a record is selected/highlighted, you could update the BizObj properties with the relevant fields, and bind them to the controls?
Am I getting that right?
Thanks very much for response
Kev
*SNIP*
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only