me.readonly HELP URGENT! - InfoPath Dev
in

InfoPath Dev

me.readonly HELP URGENT!

Last post 05-26-2011 11:26 AM by whall. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-26-2011 11:26 AM

    • whall
    • Not Ranked
    • Joined on 05-26-2011
    • Posts 1

    me.readonly HELP URGENT!

    Hi - thanks in advance for any help.

    I'm opening one form (b) from another (a) in readonly mode.  In form b I'm then checking me.readonly to see if its true so I'll know if the form was opened readonly.  In no circumstances am I getting "true".  The property is always false.

     Any idea what I might be doing wrong? Below is the simple code.

    If Me.ReadOnly Then

         'Set form as readonly

         xnDoc.SelectSingleNode("my:myFields/my:tmp_readonly_switch", nsmgr).SetValue("Y")

    Else

         xnDoc.SelectSingleNode("my:myFields/my:tmp_readonly_switch", nsmgr).SetValue("N")

    End If

    Thanks for any help,

    William

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.