K
Kryer
I am trying to figure a way to add a time stamp to a custom form when a
checkbox has been hit. I had it down to do a something like this:
if item.userproperties.find("OPTD") = true then
item.getinspector.modifiedformpages("Message").controls("TextBox1").visible
= true
item.getinspector.modifiedformpages("Message").controls("TextBox2").visible
= true
item.getinspector.modifiedformpages("Message").controls("Frame1").visible =
true
item.getinspector.modifiedformpages("Message").controls("Label10").caption
= time()
elseif item.userproperties.find("OPTD") = False then
item.getinspector.modifiedformpages("Message").controls("TextBox1").visible
= false
item.getinspector.modifiedformpages("Message").controls("TextBox2").visible
= false
item.getinspector.modifiedformpages("Message").controls("Frame1").visible =
false
end if
End Sub
The only thing is that i have 3 check box's different bindings and everytime
i click one it will change the time. I just want it to change when Checkbox1
is clicked. Any help on this one.
checkbox has been hit. I had it down to do a something like this:
if item.userproperties.find("OPTD") = true then
item.getinspector.modifiedformpages("Message").controls("TextBox1").visible
= true
item.getinspector.modifiedformpages("Message").controls("TextBox2").visible
= true
item.getinspector.modifiedformpages("Message").controls("Frame1").visible =
true
item.getinspector.modifiedformpages("Message").controls("Label10").caption
= time()
elseif item.userproperties.find("OPTD") = False then
item.getinspector.modifiedformpages("Message").controls("TextBox1").visible
= false
item.getinspector.modifiedformpages("Message").controls("TextBox2").visible
= false
item.getinspector.modifiedformpages("Message").controls("Frame1").visible =
false
end if
End Sub
The only thing is that i have 3 check box's different bindings and everytime
i click one it will change the time. I just want it to change when Checkbox1
is clicked. Any help on this one.