Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 20 AUG 2000 07:58:33PM Dan wrote:

Hi I've created a search option to allow users to search a native table by entering a keyword as follows:

keys ='

open "DICT.table" to dictVar

Words=TRIMB(Words)

Btree.Extract( COLUMN:@VM:Words, "table" , dictVar , Keys, '', flag )

convert @VM to @FM in Keys

So, i have all the keys returned to the array keys and from here I usually display the results.

The problem is, sometimes btree.extract returns too many keys and instead of returning all the results at once, I would like to truncate it(to say 50 results) and allow the user to click on another link to show the next 50 results.

I've tried several ways to pass the values in keys through the same procedure, however, it does not give me the same results.

If anyone has been able to tackle this problem, then please let me know-I'd appreciate it!

Thanks in advance.

Dan.


At 20 AUG 2000 09:42PM Don Bakke wrote:

Dan,

I assume this is a web interface application based on your reference to "links". All you need to do is write these keys to a file (e.g. SYSLISTS) and have your next/previous links read the next or previous 50 keys from the SYSLISTS record(s).

dbakke@srpcs.com

SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/9770e6f358972867852569410083b444.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1