Re: VFP8 Views with grids in general - Paramaterized or SEEK() - Filtering Same by Paul
Paul
Fri Mar 18 12:02:17 CST 2005
Your method should work well enough if 1) The data sets are small, and 2) So
is the number of users.
Once you start getting tens or hundreds of thousands of records or large
numbers of users, you'll have to go to client-server, and that will require
views. And if you don't want major rewrites then, you should build views in
now.
OTOH, if the data is small and will stay small, you can get by with your
approach. In fact, yours will probably be faster. But there are some
advantages to parameterized views too, like not having to filter out or
otherwise deal with data you won't need
My feeling is that your boss should leave it up to you, unless he has a
specific reason in mind, like a forecast upsizing to client-server.
Micromanaging is damaging to all involved, including the company. Just
because "this book said so" without explanation doesn't seem enough reason
to me. Experts do disagree on things, and you might find another book some
day that says something different.
But keep in mind that you ARE moving out of the DOS stone age. It'll take a
while to get used to VFP. Give it some time; you'll like it. Years ago, I
was given the option to build an app in the 2.6 that I knew, or in the
new-fangled VFP3 that I did not know and had trouble figuring out. I went
with the new one, and within a couple months I came to appreciate what a
huge improvement it was. I never worked in 2.6 again, except to upgrade.
"Larry Alexander" <LAlexander@nospam.com> wrote in message
news:urZpUpyKFHA.1280@TK2MSFTNGP09.phx.gbl...
> About 1.5 years ago I was dragged kicking & screaming from my DOS world
> in one department into the VFP8 world in another department. My boss & I
> recently had a "philosophical difference of opinion" on how to search a
> view
> driven grid for specific records.
> He always uses a paramaterized view, and prompts the user for input.
> He
> even showed me documentation in KiloFox and/or MegaFox that said that's
> the
> only way to go.
> I recently developed an app that creates a couple of indexes on the
> view
> while the screen is loading. I then use a SEEK() command based on the
> user
> input. Additionally, the user can set one or two filters if need be.
> Everything seems to work OK and quite fast.
>
> My question is, does VFP8 handle view driven grids better than the
> earlier versions? KiloFox & MegaFox were written for the earlier vfp
> versions, weren't they?
>
>