G
Guest
I have 4 fields and a button to click in order to change the values of all
four fields.
The four fields are as follows.
ser
dn
dis
psn
The button is called "NewSeries"
Here is the code that I have but for some reason it is not working.
Everything seems to be working but the ser # adding 1 to the previous default
value?
Private Sub NewSeries_Click()
Dim NewSeriesupdate As Integer
Dim NewSSequpdate As Integer
'Set default value of new series and set Play sequence of Series to 1
NewSeriesupdate = ser.DefaultValue
ser.DefaultValue = CInt(NewSerupdate + 1)
psn.DefaultValue = "1"
'To set Down to 1 for start of new series
dn.DefaultValue = "0"
'To set Distance to 1o for start of new series
dis.DefaultValue = "10"
End Sub
four fields.
The four fields are as follows.
ser
dn
dis
psn
The button is called "NewSeries"
Here is the code that I have but for some reason it is not working.
Everything seems to be working but the ser # adding 1 to the previous default
value?
Private Sub NewSeries_Click()
Dim NewSeriesupdate As Integer
Dim NewSSequpdate As Integer
'Set default value of new series and set Play sequence of Series to 1
NewSeriesupdate = ser.DefaultValue
ser.DefaultValue = CInt(NewSerupdate + 1)
psn.DefaultValue = "1"
'To set Down to 1 for start of new series
dn.DefaultValue = "0"
'To set Distance to 1o for start of new series
dis.DefaultValue = "10"
End Sub