I am trying to create a save, next and previous buttons in
my form. What is the syntax for the click method for these
buttons?

Re: newbie question - command box by Gene

Gene
Mon Dec 01 10:03:11 CST 2003

If you use the form wizard that ships with VFP you can build a form and
then check out the code it writes for you. I would go throught the
sample the come with VFP as these provide a wealth of info for you.

What version of VFP are you using ?

ryan9018@yahoo.com wrote:

> I am trying to create a save, next and previous buttons in
> my form. What is the syntax for the click method for these
> buttons?

Re: newbie question - command box by Wolfgang

Wolfgang
Mon Dec 01 10:26:12 CST 2003

hi!

Skip 1 && one record forward
skip -1 && one Record back
go Bottom && last available record
go top && first available record

Available because there may be more records but as they deleted they aren't
visible if
SET DELETED ON && deleted records are invisible

--
_________________

MFG
Wolfgang Schmale

MS Visual FoxPro MVP

--------------------------------
<ryan9018@yahoo.com> schrieb im Newsbeitrag
news:a68601c3b823$d53fcc00$a601280a@phx.gbl...
> I am trying to create a save, next and previous buttons in
> my form. What is the syntax for the click method for these
> buttons?


Re: newbie question - command box by Cindy

Cindy
Mon Dec 01 14:00:49 CST 2003

In news: a68601c3b823$d53fcc00$a601280a@phx.gbl,
ryan9018@yahoo.com <ryan9018@yahoo.com> wrote:
> I am trying to create a save, next and previous buttons in
> my form. What is the syntax for the click method for these
> buttons?

Hi Ryan,

Have a look at the classes in the _DataNav.vcx that comes with VFP. Mine's
in C:\Program Files\Microsoft Visual FoxPro 8\Ffc\_DataNav.vcx.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org www.cindywinegarden.com