View Full Version : Current User Based upon a Y/N box


popen
02-22-2001, 06:44 AM
What I need to do is , IF a user ticks on a tickbox (Y) , then their user ID shows in another field. I already have other user Id's showing (=CurrentUser()) but this is dependant on the box being ticked.
Anyone Help ?

Thanks....NLP

Anauz
02-22-2001, 08:03 AM
On the clicked event of the tickbox enter the code for showing thier userid in another field

fieldx.text = currentuser
'then refesh the form
Me.Refresh

popen
02-23-2001, 12:21 AM
for some reason it will not work.

I have coded:

Clearedby.Text = Currentuser()
'Refresh the form
Me.Refresh

Getting a runtime error 2158.

Anauz
02-23-2001, 07:02 AM
check you email