finishedLoading is messing up my plan - InfoPath Dev
in

InfoPath Dev

finishedLoading is messing up my plan

Last post 12-20-2013 03:07 PM by Doreen. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-20-2013 02:10 PM

    • Doreen
    • Top 50 Contributor
      Female
    • Joined on 08-11-2010
    • Federal Way, WA
    • Posts 291

    finishedLoading is messing up my plan

    I want to compare two fields in finishedLoading (e.g. currentUserName = employeeUserName), If they are equal I want switch to an Access Denied view.  Switching to another view is not an Add Action option in qRules finishedLoading.

    I can not put this rule in Form Open Behavior rules because one of the two fields to compare is not retrieved from SQL database until after finishedLoading rules run which is apparently after Form Open Behavior. 

    Is there another way to do this? Like moving the finishedLoading rules to open behavior so I have the field value when I need it?  Is this advisable?

  • 12-20-2013 02:37 PM In reply to

    Re: finishedLoading is messing up my plan

    We have qRules command you can use on the finishedLoading node - SetDefaultView. That should give you the view switch you need. :)

    Hilary Stoupa

  • 12-20-2013 03:07 PM In reply to

    • Doreen
    • Top 50 Contributor
      Female
    • Joined on 08-11-2010
    • Federal Way, WA
    • Posts 291

    Re: finishedLoading is messing up my plan

    Oh. My. Word. Thank you.  That was too easy.

     I guess I'm getting to the point where I need to study  the qRules Command Overview before I post here.

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