pkeep problem
Howard Wolowitz
howiewz at beonthenet.com
Thu Dec 15 10:41:47 PST 2005
----- Original Message -----
From: "John Esak" <john at valar.com>
To: "Howard Wolowitz" <howiewz at beonthenet.com>
Cc: "Fplist (E-mail)" <filepro-list at seaslug.org>
Sent: Thursday, December 15, 2005 1:22 PM
Subject: RE: pkeep problem
> Howie,
> I dont' really know. I did send a provable bug with "pkeep" to the folks,
> wherein you *had* to set the key to "1" when browsing a numeric field type
> of 6,.0 (all numerics I think. If you used k=(""), it simply would always
> return to you to the top of the browse window. Setting the k= to k=("1")
> *fixed/es" the problem. The 6,.0 fields all started at 100000 so there
> was
> no *real* difference, yet k=("") did/does not work, and k=("1") does/did.
> I
> have not checked this behavior since 5.0.14 came out. It *may* be fixed...
> but I doubt it. Perhaps, it is similar to what you are experiencing?
>
> JE
>
>
>> -----Original Message-----
>> From: filepro-list-bounces at lists.celestial.com
>> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Howard
>> Wolowitz
>> Sent: Thursday, December 15, 2005 1:00 PM
>> To: filepro-list at lists.celestial.com
>> Subject: pkeep problem
>>
>>
>> I have written a browse using the show=pkeep option.
>> The index I am using is for a field that is often blank.
>> I set the key to blanks to start and then do the lookup.
>> I use the down arrow key to move to the second blank record.
>> Then I end the browse and then redo it - it restarts at the first
>> matching (blank field) record - not the last record it was sitting on.
>> I have not modified the key used in the lookup.
>> Is this the correct behavior?
>> How can I cause it to resume at the last record highlighted? (without
>> adding the record # as the last field on the index)
>>
>> Howie
WOW John, thanks!
What you wrote set me on the right track.
The problem seems to be if you don't define a length to the key used in the
lookup.
I had key="" and it failed. Using key=" " works.
I was pulling out the few strands of hair I have left - this list (and you)
are great!
Howie
More information about the Filepro-list
mailing list