Hey there,
I have some, I guess quite simple questions:
-How can I address the fields on my forms? I just want to create a button that increases a value by one on click.
I tried
FORMNAME.FIELDNAME = FORMNAME.FIELDNAME + 1
FIELDNAME = FIELDNAME + 1
FORMNAME!FIELDNAME = FORNAME!FIELDNAME + 1
but the button does nothing. And that is all I found by googling.
-How to focus a field at the beginning? I want to be able to start writing always in the same field.
FIELDNAME.SetFocus
does not work.
I dont know if I made any mistake during creating tables and forms, but these codes should actually work, shouldnt they?
I have some, I guess quite simple questions:
-How can I address the fields on my forms? I just want to create a button that increases a value by one on click.
I tried
FORMNAME.FIELDNAME = FORMNAME.FIELDNAME + 1
FIELDNAME = FIELDNAME + 1
FORMNAME!FIELDNAME = FORNAME!FIELDNAME + 1
but the button does nothing. And that is all I found by googling.
-How to focus a field at the beginning? I want to be able to start writing always in the same field.
FIELDNAME.SetFocus
does not work.
I dont know if I made any mistake during creating tables and forms, but these codes should actually work, shouldnt they?