Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (4 items) Re: Codeless and dataconnection-less random number generator challenge + now() Creating a unique key isn't so much the impossible challenge. The fact that basic and short identifiers are even a challenge is annoying. Form numbers are simple, succinct, and not distracting. It'd be nice to be able to make them without slowing down performance or requiring huge file names. Posted to General (Forum) by s3ttt on 03-07-2012 Re: Data connection to generate =max(@ID)+1 form number inhibiting performance I would still like to know if anyone has any thoughts on why this type of data connection so significantly decreases performance...but I came up with a half workaround by completely eliminating the data connection. Here was my formula to generate a random number. Step 1: number(concat(substring(string(today()), 6, 2), ... Posted to Data Connections (Forum) by s3ttt on 03-06-2012 Codeless and dataconnection-less random number generator challenge + now() Here was my formula to generate a random number. Step 1: number(concat(substring(string(today()), 6, 2), substring(string(today()), 9, 2))) This formula will return the month and day so 3-06-2012 is returned as a number (not a date) as 306. Step 2: string-length(CreatedBy) * Step 1 This ... Posted to General (Forum) by s3ttt on 03-06-2012 Data connection to generate =max(@ID)+1 form number inhibiting performance Background: This form library is large. Users enter a high number of forms in a row many times a day. Within 1 year you can expect to have about 8,000 records, which then closes the library. Because of the large number of records, the default SharePoint view for the list needs to be grouped and limited to only recent ... Posted to Data Connections (Forum) by s3ttt on 03-06-2012 Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.