Using GETFILTERS String

amangamang Member Posts: 14
Hello,

it´s maybe very simple (i hope so)...

i´m getting a string by using the GETFILTERS-function (e.g.: 'Code: CUSTOMER' (where Code is the field name and customer is the value))
Now i want to use this string to filter another recref-variable...is there a function like "setfilters" :D , which i can use?

thank you!

greetings

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi,

    If you are using a record varibale why not use the function copyfilters. If using recref then look at settable

    Hope this helps
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • kinekine Member Posts: 12,562
    Or you can use the GETVIEW and SETVIEW... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • amangamang Member Posts: 14
    Yes, SET(GET)VIEW or COPYFILTERS would be better....but the filter-string is stored in a table-field, so i must use this string.

    I write some code to build a RecordID (for RecRef) based on the filter string :mrgreen:


    Thanks for your help!
Sign In or Register to comment.