How do I create a Guid with Infopath Script?

Posted by Ten Ton Gorilla on Stack Overflow See other posts from Stack Overflow or by Ten Ton Gorilla
Published on 2010-03-29T15:59:03Z Indexed on 2010/04/06 4:43 UTC
Read the original article Hit count: 188

Filed under:

In infopath script (J), how do I generate a GUID?

This is my current and comletely hacked (and horrid) method.

var getGuid = new ActiveXObject("ADODB.Recordset");
getGuid.Open("SELECT NewId()", mySqlConn);
var guid = getGuid.Fields(0).Value;

There has to be a better way...

© Stack Overflow or respective owner

Related posts about infopath