Link to home
Get AccessLog in
Avatar of Raymond Rule
Raymond Rule

asked on

Adding to open record on form, from unbound textbox

I have a DB that tracks work for employees, the employee logs in and that information is stored in a temp table/query. Them the employee goes to a form and works based on date range for the assignments.
So the problem that I am running in to is, I am trying to add the person and date of when the assignment is complete. So I tried adding VBA to OnClick for the yes/no for the completed field. I created two text boxes one is a d-lookup for the employee and the other is the text box for the date.
Please let me know if addition information is needed.
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Where are you adding the Date the Assignment is complete?

And how do you determine if it is Complete?

Remember that we cannot see your screen, so referring to things like "completed field" means nothing to us.

If your goal is to "stamp" records with the current user and time, then I generally leave the login form open but hidden, and refer back to that form to get the username. If you want to get the current date, just use Now() or Date()
Avatar of Raymond Rule
Raymond Rule

ASKER

Sorry for the delay, still learning Experts Exchange.

I have attached a screen shoot.
#1 on screen shoot is the unbound fields that I want to update 2
#2 on screen shoot is the is the bound field for the open report.
#3 on screen shoot is the OnClick for completed.

Sorry for lack of information. still learning all of this.User generated image
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
That worked perfectly, thank you.