Current User Based upon a Y/N box (1 Viewer)

popen

Registered User.
Local time
Today, 03:25
Joined
Oct 16, 2000
Messages
37
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

Registered User.
Local time
Today, 03:25
Joined
Nov 14, 2000
Messages
81
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

Registered User.
Local time
Today, 03:25
Joined
Oct 16, 2000
Messages
37
for some reason it will not work.

I have coded:

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

Getting a runtime error 2158.
 

Users who are viewing this thread

Top Bottom