🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.vdbase.forms
4 messages
4 total messages Started by Bill Corey Fri, 12 Mar 1999 00:00
2 Seekers, 1 form
#96
Author: Bill Corey
Date: Fri, 12 Mar 1999 00:00
4 lines
747 bytes
Do I have to use DMD to place two seekers on a form?  When I try to use
the second seeker with a different rowset, the rowset field choices are
added to one of the other rowset's field choices (!?), and the seeker is
not functional (although the 1st seeker works fine).
Re: 2 Seekers, 1 form
#99
Author: Ken Mayer [dBVIPS/TeamB]
Date: Sat, 13 Mar 1999 00:00
21 lines
1196 bytes
Bill Corey <bcia@earthlink.net> wrote:

>Do I have to use DMD to place two seekers on a form?  When I try to use
>the second seeker with a different rowset, the rowset field choices are
>added to one of the other rowset's field choices (!?), and the seeker is
>not functional (although the 1st seeker works fine).

The SEEKER class uses the FORM's rowset ... you might modify them so
that when they get focus they set the form's rowset property to the
appropriate rowset ...

Ken

---
Ken Mayer [dBVIPS/TeamB]
   VdBASE7 Tutorial, HOW TOs, and dUFLP library:
http://www.apptools.com/dbase/kenstuff
   (which is a mirror of:)
http://www.mindspring.com/~hirschv/dbase/dbase.htm

dBASE 2000: http://www.dbase2000.com
Re: 2 Seekers, 1 form
#103
Author: Peter Rorlick
Date: Sat, 13 Mar 1999 00:00
17 lines
1216 bytes
Ken Mayer [dBVIPS/TeamB] wrote:

> The SEEKER class uses the FORM's rowset ... you might modify them so
> that when they get focus they set the form's rowset property to the
> appropriate rowset ...

Instead, I'd recommend making use of the Seeker's .Rowset custom
property.  If you don't assign anything to that custom property, Seeker
operates on Form.Rowset, but if you assign a valid rowset to it, it
operates on that specified rowset.  Much cleaner, because that way you
don't have to ever switch Form.Rowset.

And no, you don't need a DMD (though it's recommended).

--------------------------
Peter Rorlick
Montreal Business Software
Re: 2 Seekers, 1 form
#106
Author: Richard Forrest
Date: Sun, 14 Mar 1999 00:00
18 lines
1077 bytes
On Sat, 13 Mar 1999 02:34:45 GMT, supportInfo@borland.com (Ken Mayer
[dBVIPS/TeamB]) wrote:

>The SEEKER class uses the FORM's rowset ... you might modify them so
>that when they get focus they set the form's rowset property to the
>appropriate rowset ...
>
>Ken

Ken:

I have found that it is sometimes better to use a "dumbed down" seeker
that needs a rowset assigned to it. Then I assign the rowset in the
form INIT event, so I can have several seekers using different rowsets
without changing the form.rowset property. (Also have a set of nav
buttons that do the same.)

Richard
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads