Subject Re: canNavigate method
From Mustansir Ghor <mustan31@hotmail.com>
Date Sat, 13 Jan 2018 15:25:54 -0500
Newsgroups dbase.getting-started

Dear Ken Sir

I am using findkey to bring the current record to be what is selected by combobox. I am using Form Can Navigate to check if current record in a rowset is modified or not and save or abandon accordingly.

Best Regards
Mustansir


Ken Mayer Wrote:

> On 1/12/2018 12:25 PM, Mustansir Ghor wrote:
> > Dear All
> >
> > I am using following method in the combobox
> >
> >   function CBFIND_onChange()
> >     form.service.rowset.findkey(this.value)
> >   return
> >
> > But I find this method to create conflict with form_CanNavigate method. It gives error Too many  DO/UDF and hangs.
> >
> > Of course both are used for different purpose. without form CanNavigate,  Combobox method works fine. I use Form Navigation to save/Abandon current record if it is modified. Both method applies to same rowset
> >
> > If Anybody can help with  alternative solution
>
> You are navigating with findKey() ... what exactly are you attempting to
> accomplish here? If you explain that, maybe we can help better.
>
> Ken
>
>
> --
> *Ken Mayer*
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm