[RP2.40] Filter

This forum is meant for questions and discussions about the X# language and tools
Post Reply
FFF
Posts: 1553
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[RP2.40] Filter

Post by FFF »

Probably it's to hot:
Class MyVOForm
...
METHOD Print_AboRechnung_univ(cPNO := "" AS STRING) // cPNo is the id of a record to include
//calling a RP report
....
oReport:FilterExpression := i"Person.PNo = '{cPno}' "
...

So far, fine.
Now, i want instead to fill the FilterExpression with a series of cPnos.
I get these from a helper func which returns an array of string values, i.e. PNos.

How do i code this?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Post Reply