Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
English
Wish List - VFP WebForm apps Feature
Message
General information
Fórum:
Visual FoxPro
Category:
Miscellaneous
ID da thread:
00732501
ID da mensagem:
00733057
Views:
17
>>>I'll say it again, web interfaces suck.
>>
>>C'mon, Dave. Don't beat around the bush. Tell us how you really feel.:-)
>
>Ok, since you asked
>
>Web interfaces really suck. *g*

LOL!

>Although I should temper it a little bit. Webrowser controls on a VFP form that display data can be better than VFP controls alone. Let me give an example. I needed to put together a UI that would allow a user to easily block copy contiguous rows of numeric values from a column. Like you can easily do in Excel or MSSQL Query Analyzer or SQL Advantage (like in just about every tool but VFP). Doing this in a VFP grid is a heck of a lot of work. My solution was to display the data as html. I created a table with N columns, inside each column was another table that had one td cell per tr row for each row of the cursor. The inner tables don't have any cell borders so visually it looks like a columnar report. But since it's structured like this the user can drag the mouse over a set of rows to highlight the values in one column and copy/paste these pk values into a VFP editbox. When they commit the change the editbox.Value is parsed out by alines() and I iterate the
>array to do an update on the selected rows.

That's a cool solution to what otherwise would be a tough problem in VFP alone. Thanks for the tip.
George

Ubi caritas et amor, deus ibi est
Previous
Responder
Mapa
View

Click here to load this message in the networking platform