Button field (1 Viewer)

ICTkirsten

Registered User.
Local time
Today, 07:20
Joined
Jan 3, 2015
Messages
137
Hello :) I'm having a small issue with my button.. I need it to input the current time into the field each time it is clicked. At the moment I have it working with the code Me.textfield time$ however the current time stays in all the fields and changes all the fields. I want to know how I can have it so that the current time stays into one field and so the next time I click the button the field updates to that current time as opposed to all fields updating.... Sorry I'm not very clear. So to try and summarise: how do I set the code on my button to change the time in the next fields and not ALL of the fields...
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 07:20
Joined
Sep 12, 2006
Messages
15,634
are you using a continuous form? It sounds like the control is unbound
 

ICTkirsten

Registered User.
Local time
Today, 07:20
Joined
Jan 3, 2015
Messages
137
Yes, I am using a multi item form :)
 

mattkorguk

Registered User.
Local time
Today, 07:20
Joined
Jun 26, 2007
Messages
301
I'd add the button to the end of the row, within the continuous form, then you can reference the id for that row when you click the button.
 

ICTkirsten

Registered User.
Local time
Today, 07:20
Joined
Jan 3, 2015
Messages
137
i think i have already done that but the error still occurs
 

Attachments

  • sig.png
    sig.png
    7.8 KB · Views: 133

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 07:20
Joined
Sep 12, 2006
Messages
15,634
As I said, the control needs to be bound to a field - otherwise every row shows the same value.
 

ICTkirsten

Registered User.
Local time
Today, 07:20
Joined
Jan 3, 2015
Messages
137
im not sure i understand, but this is what i have and think is what you mean
 

Attachments

  • sig.png
    sig.png
    3.8 KB · Views: 137
Last edited:

JHB

Have been here a while
Local time
Today, 08:20
Joined
Jun 17, 2012
Messages
7,732
As gemma-the-husky wrote, you need to set the controlsource for "Sign In" and "Sign out" to a field in a table.
 

Users who are viewing this thread

Top Bottom