hi to all
Let's say I'm using values... strCat = "A", lngPartFrom = 1200, lngPartTo = 1350 to generate a Table name in code...
strTblOutput = "tbl__Category_" & strCat & "__Part_" & lngPartFrom & "_to_Part_" & lngPartTo & "__OK".
My question is this: Would the expression above always work (it seems to), or should I be wrapping the long variables in CStr()?
Thanks
Teach314
Let's say I'm using values... strCat = "A", lngPartFrom = 1200, lngPartTo = 1350 to generate a Table name in code...
strTblOutput = "tbl__Category_" & strCat & "__Part_" & lngPartFrom & "_to_Part_" & lngPartTo & "__OK".
My question is this: Would the expression above always work (it seems to), or should I be wrapping the long variables in CStr()?
Thanks
Teach314