If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Toggle button vs Command button
I was using command buttons to write text in a text box. The command buttons
work fine. I was thinking of using toggle buttons because toggle buttons change color/shading when pressed. The toggle button writes the text in the box but I get a 'Run-time error '2115' - The macro or function set to the BeforeUpdate or ValidationRule property for this field is preventing dbname from saving data in the field. END/DEBUG. I am using the 'OnClick' Event to write the text. Do I need code in another event? Private Sub Toggle21_Click() HelpWindow.SetFocus HelpWindow.Text = "Writes this text" End Sub |
Thread Tools | |
Display Modes | |
|
|