Hello
I have a problem using the OrdConSet() function.
In fact, in my "do while" loop "endo", I check if all the following conditions are respected. Here is my filter:
if LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat .and. LIEFD->MENGE>=10 .and. !Empty(LIEFD->FAK_DATUM)
....
etc
Question: is it possible to do this with the OrdConSet() function?
I have already tried this with the following filter (same address number and same year):
OrdCondSet( "LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr" )
Il 02/03/2023 16:39, Otto Haldi ha scritto:
HelloTry this:
I have a problem using the OrdConSet() function.
In fact, in my "do while" loop "endo", I check if all the following conditions are respected. Here is my filter:
if LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat .and. LIEFD->MENGE>=10 .and. !Empty(LIEFD->FAK_DATUM)
....
etc
Question: is it possible to do this with the OrdConSet() function?
I have already tried this with the following filter (same address number and same year):
OrdCondSet( "LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr" )
OrdCondSet( "LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) ==
vJahr", { || LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) ==
vJahr } )
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Thank you, work well and it's very fast!
Can you help me for the complete Filter:
LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat .and. LIEFD->MENGE>=10 .and. !Empty(LIEFD->FAK_DATUM)
Il 02/03/2023 17:36, Otto Haldi ha scritto:
Thank you, work well and it's very fast!OrdCondSet( "LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) ==
Can you help me for the complete Filter:
LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat .and. LIEFD->MENGE>=10 .and. !Empty(LIEFD->FAK_DATUM)
vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat .and. LIEFD->MENGE>=10
.and. !Empty(LIEFD->FAK_DATUM)", { || LIEFD->ADR_NR == vAdrNr .and. Year(LIEFD->FAK_DATUM) == vJahr .and. Month(LIEFD->FAK_DATUM) == vMonat
.and. LIEFD->MENGE>=10 .and. !Empty(LIEFD->FAK_DATUM) } )
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
It's fantastical. It's really fast
The command line is really complex. I don't understand why you have to write the selection twice? once between the quotation marks and once between the {}
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (0 / 16) |
Uptime: | 37:37:21 |
Calls: | 5,571 |
Calls today: | 1 |
Files: | 11,685 |
Messages: | 5,129,785 |