Jim
I tested your filter interactively in P7 SP4, and P9 SP4 and I got no GPV.
I used a form where Customer and Orders were linked as 1-M, and I applied
your filter on Order No.
I also set the filter with your code, and open the Filter dialog and
activated the child table, Orders, without getting a GPV.
So I cannot recreate your problem.
--
Bertil Isberg - CTECH
Paradox buglist:
online: http://hem.bredband.net/bertilisberg/
"Jim Moseley" <jmose@[EMAIL PROTECTED]
> skrev i meddelandet
news:472a2126@[EMAIL PROTECTED]
>
> This one's probably just for Bertil's buglist, but I thought others
might
> be interested.
>
> In Pdx9 sp3, I'm setting a filter for a child table via code. It ends
up
> being a long string, and it works fine.
>
> If I then click the Filter icon (yellow funnel), and click the child
> table,
> I get a GPV (Runtime error 216 at 00071d6c) and get immediately thrown
out
> of Paradox - quite rudely! ;)
>
> My filter is:
> dyn["InvoiceNo"] = "70094 or 70146 or 70190 or 70191 or 70196 or 70197
or
> 70202 or 70256 or 70277 or 70280 or 70281"
> ok = ui.setGenFilter(dyn)
>
> The code side of it works great, but the Filter dialog chokes.
>
> Thanks,
> Jim Moseley


|