I look through the code and come across this:
Dim lngLen As Long lngLen = 16&
I did some reading, and it looks like this is a way to drop the number to the end - is that right?
But this is really necessary here, since you can simply assign lngLen to 16 because it is a numeric value.
In addition, after this code, this is done:
Dim strCompName As String strCompName = String$(lngLen, 0&)
I understand the String method, from Access help definitions, "returns a variant containing a repeating string of characters of a specified length."
So what does $ do? And again there is and drops 0 to long?
source share