NetTalk Central

Author Topic: Using memory queues in a net browse procedure  (Read 3729 times)

hkalmbach

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • Email
Using memory queues in a net browse procedure
« on: September 13, 2017, 12:55:25 AM »
Hello,

I have to make a net browse procedure with a complicated filter. The filter varies in a wide range, that means, the user can call the procedure with different parameters. In standard clarion I solve this in the way that I first (in the init, after opening files) evaluate the filter by filling a memory queue with the Id's of records that match the filter. Later in the filter of the browse I check if the actual record is in the memory queue.
No I am not sure how to do this in the net browse. Can I also use a memory queue for this or will there be a mixture if several users call this form at a time with different parameters?

If I can't use the memory queue: how could I save the values best in the session queue and delete them afterwards fastly? (That can be more than hundred values...)

Thanks for every help.

Cheers
Heinz

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Using memory queues in a net browse procedure
« Reply #1 on: September 13, 2017, 04:28:23 AM »
Hi Heinz,

you can't use a memory queue, but you can use a temp table using say the In Memory driver.
Make sure the temp table has a Session ID field though so that every user has different data.

cheers
Bruce