I have a script that prompts the user for a Group name. After which I append a group number to the name. I thought I should get “TestGroup1” but am getting “TestGroup 1”. What am I doing wrong? There are probably several ways to do this so let me know how to correct it or approach it in a different way. Thanks in advance!!
CODE:
'prompt user for Group name
Dim strOrigGroupString As String
Dim strtmpGroupString As String
'counter used to keep track of the number of groups processed
Dim groupCntr As Integer
groupCntr = 1
strOrigGroupString = Inputbox(Me.m_GroupHelperStringTable.GetString(6,Null),_
Me.m_GroupHelperStringTable.GetString(7,Null),_
Me.m_GroupHelperStringTable.GetString(8,Null))
'append the groupCntr to the group name
strtmpGroupString = strOrigGroupString + Str$(groupCntr)