Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Need to Learn

  1. #1
    New to the CF scene
    Join Date
    Oct 2014
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Need to Learn

    We have a new Data Management program from Prism Software. It has OCR scanning and uses code to identify the zones. Can you tell me the code that used so I can learn it:

    IIF(CONTAINS(GETLINES(STRIPEMPTY(Block.[Order]),0,1),"Order"),GETLINES(REPLACE(GETLINES(STRIPEMPTY(Block.[Order]),1,1)," ", "¶"),0,1),IIF(CONTAINS(GETLINES(STRIPEMPTY(Block.[Order]),1,1),"Order"),GETLINES(REPLACE(GETLINES(STRIPEMPTY(Block.[Order]),2,1)," ", "¶"),0,1),GETLINES(REPLACE(GETLINES(STRIPEMPTY(Block.[Order]),3,1)," ", "¶"),0,1)))

    Thank you,
    JaniceP

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,928
    Thanks
    46
    Thanked 203 Times in 202 Posts
    Not sure, is there not documentation on it? IIF(Expression, TrueEvaluation, FalseEvaluation) As Object though is an old VB function and has now been obsoleted and can be done with the IF(Expression, TrueEvaluation, FalseEvaluation)

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • Users who have thanked alykins for this post:

    JaniceP (10-09-2014)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •