Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Conférences & événements
>>Hi All.
>>
>>I just want to gripe about the fact that filters and grids are still apparently a problem in VFP 6. I think it really stupid that I can open a large table and set a filter and browse brings up the data in seconds while a form with the same table in its data environment with the same filter and a grid connected to the same table takes minutes.
>>
>>And don't anyone tell me to use a view. I already know that and that is not the only answer to application development. If it was, the BROWSE command would never have been Rushmore aware and Rushmore optimization would never have been invented and LAN based applications would never have been made without a database server backend.
>>
>>Thanks
>>
>>Mike Yearwood, GE Capital Consulting
>
>Filter is actually not a problem but just a bad xbase habit. Grids themselves don't constitute any problems. I'm not going to tell you about views as you requested, but what about simple cursor? Also, there are other ways to speed up grids using UDF-ed columns pointing to lookup tables.
I'll never agree that a filter is a bad habit. It's conceptually no different from a SQL where clause. Its only different from an implementation perspective.
The simple cursor excludes the functionality of the views, so that's no good. The UDF-ed columns showing related data has some merit, but ultimately could result in a selection of all of the PK's from the data source and/or the data would be read-only in the UDF's which is also not acceptable.
Am I the only one who is disappointed that we can't do with these new tools what Foxpro 2.6 could do so easily? We're not supposed to lose functionality as we improve. Imagine improving your car so you couldn't drive it as you'd like.
Thanks
Mike Yearwood, GE Capital Consulting
Précédent
Suivant
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