Comparing Codes

tooo
tooo Member Posts: 138
Can someone help me, i've been trying for hours now and looking through numberous books but can't figure out how to compare codes in NAV, i've tried all the typical coding standards but nothin works, get an error everytime!??

Comments

  • awarn
    awarn Member Posts: 261
    Export the object(s) in question as textfiles (as opposed to object .fob files)?

    Then compare the files with a freeware / shareware program you find on the web???

    ?????

    -a
  • tooo
    tooo Member Posts: 138
    I need to compare them in the code as in:
    IF ("Doc. No." == PurchRcptHdr."No.") THEN
    'do stuff'
    
  • awarn
    awarn Member Posts: 261
    IF ("Doc. No." = PurchRcptHdr."No.") THEN
    'do stuff'


    just like that.
  • tooo
    tooo Member Posts: 138
    Tried that many of times and it didn't work, works fine now, think i need a break from this!

    Thanks again. :mrgreen:
  • danlindstrom
    danlindstrom Member Posts: 130
    as awarn tried to say with his code.
    Use single equal (=) instead of doubble (==)
    Regards
    Dan Lindström
    NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
    MBSP Developer for Microsoft Dynamics NAV 2009