I've been trying to add a default network ID into a combo box called enteredby. When someone clicks the add a new record button I want the combo box to be automatically populated with the network name of the user. Ive tried to use a stored procedure to pass the value to the combobox but I can't set the inputparameter property because the form is based off a different recordset.
To get the network name I am using:
Me.txtUser3 = Environ("UserName")
Another thing I have been trying to do is to somehow put the txt box value as the default value of the combobox when someone hits add. After switching from MDB to ADP what I had isn't working anymore because I cant reference a form directly.
To get the network name I am using:
Me.txtUser3 = Environ("UserName")
Another thing I have been trying to do is to somehow put the txt box value as the default value of the combobox when someone hits add. After switching from MDB to ADP what I had isn't working anymore because I cant reference a form directly.