PGDBE - Set Filter with variable returns error in Browse()
Posted: Tue Sep 29, 2015 2:12 am
Hi,
I encountered an issue with PGDBE and Set Filter command. I was using a DCBROWSE when I encounter this error, so I was wondering whether BROWSE() command have the same error. And it did have the same error.
I’m attaching the .PRG, .upsize, .DB, and .NTX for anyone to try at their side. It's a very simple sample program.
If I do this:
It works fine, but if I do this:
The error:
Has anyone else encounter the same issue?
Regards,
Andy
I encountered an issue with PGDBE and Set Filter command. I was using a DCBROWSE when I encounter this error, so I was wondering whether BROWSE() command have the same error. And it did have the same error.
I’m attaching the .PRG, .upsize, .DB, and .NTX for anyone to try at their side. It's a very simple sample program.
If I do this:
Code: Select all
----------------------------------------------
SET FILTER TO STATUS <> ‘C’
BROWSE()
----------------------------------------------
Code: Select all
-----------------------------------------------
MSTATUS = ‘C’
SET FILTER TO STATUS <> MSTATUS
BROWSE() (error at this line)
-----------------------------------------------
Regards,
Andy