Re: Grids and SET SKIP
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 09:05:30 -0700
Believe it or not, I've never used SET SKIP. Not once. There have always
been easier ways to "get there". SET SKIP was added mostly for reporting and
it works great for that, but it carries side effects like what you're seeing
when used in a U/I.
Turn it off and let that parent table browse normally instead of with one
paw tied behind its back.
The *easy* way to do this is to put these tables in the dataenvironment, and
set the 1-to-many property of the relation to .t. -- they'll behave exactly
like what you want.
My preference would be for a parameterized local view of the child table
that's requeried as the record pointer moves through the parent.
Dan
Beverly Howard [Ms-MVP/MobileDev] wrote:
vfp7 ...yea... I know... but, the water's still pretty deep.
As my forms are getting more complex, I need some guidance on how to
handle a form with multiple related grids... the scenario;
Form displays fields from the parent dbf (works fine)
Bottom grid shows multiple rows from a related/setskip dbf (works
fine)
Top grid shows rows from the parent database and allows the user to
browse the parent...
...works, but the top grid includes lines for each of the multiple
"set skip" rows.
I assume I can address this by using the parent "again" but wonder if
there is a simpler approach to having the grid of the parent only
show a single line per parent record?
Thanks in advance,
Beverly Howard
.
- Follow-Ups:
- Re: Grids and SET SKIP
- From: Beverly Howard [Ms-MVP/MobileDev]
- Re: Grids and SET SKIP
- From: Beverly Howard [Ms-MVP/MobileDev]
- Re: Grids and SET SKIP
- References:
- Grids and SET SKIP
- From: Beverly Howard [Ms-MVP/MobileDev]
- Grids and SET SKIP
- Prev by Date: Re: GETFILE() Inside .Zip files?
- Next by Date: Re: preparing to install and TS
- Previous by thread: Re: Grids and SET SKIP
- Next by thread: Re: Grids and SET SKIP
- Index(es):
Relevant Pages
|