Using Epicor Vista 8.03.409C and can create a new button but when I try to access another control and do 'Test Code' I get errors.
Compiling Custom Code ...
----------errors------------
Error: BC30451 - line 64 (267) - Name 'txtKeyField' is not declared.
Error: BC30451 - line 65 (268) - Name 'txtKeyField' is not declared.
** Compile Failed. **
Here is an example of what I am trying to do for OrderEntry:
So how can you access other form elements like a normal vb.net app?
Thanks in advance.
Compiling Custom Code ...
----------errors------------
Error: BC30451 - line 64 (267) - Name 'txtKeyField' is not declared.
Error: BC30451 - line 65 (268) - Name 'txtKeyField' is not declared.
** Compile Failed. **
Here is an example of what I am trying to do for OrderEntry:
Code:
Private Sub btnTestButton_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnTestButton.Click
'// ** Place Event Handling Code Here **
If txtKeyField.Text.Trim.Length > 0 Then
MessageBox.Show("Sales Order ID is: " & txtKeyField.Text)
End If
End Sub
So how can you access other form elements like a normal vb.net app?
Thanks in advance.