I need value x to be formated in a way that it is allways two numbers rather it be 04 or 12.... Cant get it to work, any advice? See code below
dim path1 as string
dim valuex as string
valuex = me.assyid.value
if valuex >= 10 then
valuex = value x
else
valuex = "0" + valuex
path1 = "J:\Engineering\FAST Houston CAD Dwgs\MODEL AND DRAWINGS\" + AssyIDvalue + "\" + AssyIDvalue + "-" valuex