Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Front-end question in n-tier app
Message
From
29/01/2003 09:38:28
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00746623
Message ID:
00746646
Views:
25
>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
Map
View

Click here to load this message in the networking platform