Comparing Codes

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!??
0
Comments
-
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???
?????
-a0 -
I need to compare them in the code as in:
IF ("Doc. No." == PurchRcptHdr."No.") THEN 'do stuff'
0 -
IF ("Doc. No." = PurchRcptHdr."No.") THEN
'do stuff'
just like that.0 -
Tried that many of times and it didn't work, works fine now, think i need a break from this!
Thanks again.0 -
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 20090
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions