Set Buffer - how can I delete?

jopie

New Member
I use a dynamic query which i start with 2 buffers.

when i select a panelbtn, i add another table through the set-buffer command. =>

widQry:SET-BUFFERS(BUFFER oss_calltick:HANDLE, BUFFER
oss_fixer:HANDLE, BUFFER bus_unit:HANDLE).
RUN procOpen. /* build up my browse columns */

when i click the same panel, the following code should remove the unwanted buffer (oss-fixer) =>

DELETE OBJECT BUFFER oss_fixer:HANDLE.
widQry:SET-BUFFERS(BUFFER oss_calltick:HANDLE, BUFFER
bus_unit:HANDLE).
RUN procOpen.

up to now, no problem, when i want to sort in the main brs, i get the following message
"concurrent preselect or sort on same buffer Busunit invalid"

i suspect the oss_fixer buffer causes the problem, and i am in desperate need for any help.
johan
 

jongpau

Member
Hi Johan,

I had a similar problem once, but it happened when I opened a second dynamic query on the buffers that I was using in the browse.

My problem was solved by creating new buffers for the second query.

Don't know if this is of any help to you, but I thought I'd mention it anyway.
 

jopie

New Member
Thanx Paul,

i first have to delete all previous buffers with
DELETE OBJECT BUFFER oss_fixer:HANDLE.
and create all buffers newly?
 
Top