GenerateRandomNumber as my ID - InfoPath Dev
in

InfoPath Dev

GenerateRandomNumber as my ID

Last post 12-21-2011 10:46 AM by tberch. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-16-2011 10:03 AM

    GenerateRandomNumber as my ID

    Im using generate random number as my method to create an id for each infopath form, but every time I launch the form again, it assigns another one, where I need that number to be static. Ive attempted to put an exception in the rule (on qrules finishedloading based on if that ID field is blank or not). Is there a better method of doing this? the exception doesnt seem to work.
    Filed under: ,
  • 12-16-2011 10:09 AM In reply to

    Re: GenerateRandomNumber as my ID

    Are you setting this ID as a default value?  If so, then it might be because you have the refresh value checkbox selected which recalculates the value each time the form is loaded.  Make sure its unchecked and it will only be set the first time the form loads.  You can find this checkbox in the field properties dialog.  See screenshot below:


    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 12-21-2011 10:46 AM In reply to

    Re: GenerateRandomNumber as my ID

    This worked, thanks

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