Hi Guys!
I Have a record variable and I would filter it so as extract records that have two field with different values.
For Example filter all Record with quantity <> quantity shipped.
I try with setfilter(RecordVAR.field','<>%1',RecordVAR.field2) but it doesn't work because i don't use cycle REPEAT UNTIL.
Any idea?
Thanks..
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
You can use setrange to filter that rather than setfilter ..........
I use it in a Codeunit for Filter records with 'qty' < > 'qty shipped' but without use cycles
but <> it worked in SQL database not in native..
i will investigate more..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Because the filters are static, not dynamic: not dependend on the selected record.
The current code I see is (if the recordset has not been fetched) filterd on "qty <> 0"
(if the recordset has been fetched) filterd on "qty <> 'first record in recordset'."qty shipped"
I see no other option than to loop the recordset and compare the fields.
|To-Increase|
I solved with only way, the loop on record variable.
Thanks
"Outstanding Quantity" is Quantity - "Quantity Shipped".
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!