if that is a case... that is not an issue buddy
use built-in function trim to ignore spaces
try this
use built-in function trim to ignore spaces
try this
Code:
arr=rs.fields("Login_name")
pwd=rs.fields("Pass")
dialog("Login").Activate
dialog("Login").WinEdit("Agent Name:").Set trim(arr)
Dialog("Login").WinEdit("Agent Name:").Type micTab
dialog("Login").WinEdit("Password:").Set trim(pwd)
