UPDATE:
Ok, I'm posting an example of what I was requesting. It's static, so
I have to update it manually. Ideally, it would pull from the
Operation Master Table.
Code:
Private Sub txtEpiCustom1_LostFocus(ByVal Sender As Object, ByVal
Args As System.EventArgs) Handles txtEpiCustom1.LostFocus
'// ** Place Event Handling Code Here **
If txtepicustom1.text = "1222" then
txtepicustom3.text = "Olivia"
txtepicustom2.text = "WIFE"
elseif txtepicustom1.text = "0710" then
txtepicustom3.text = "John Jr"
txtepicustom2.text = "SON"
elseif txtepicustom1.text = "0611" then
txtepicustom3.text = "John Sr"
txtepicustom2.text = "DAD"
else
txtepicustom3.text = "NOT AVAILABLE"
End If
End Sub
Ok, I'm posting an example of what I was requesting. It's static, so
I have to update it manually. Ideally, it would pull from the
Operation Master Table.
Code:
Private Sub txtEpiCustom1_LostFocus(ByVal Sender As Object, ByVal
Args As System.EventArgs) Handles txtEpiCustom1.LostFocus
'// ** Place Event Handling Code Here **
If txtepicustom1.text = "1222" then
txtepicustom3.text = "Olivia"
txtepicustom2.text = "WIFE"
elseif txtepicustom1.text = "0710" then
txtepicustom3.text = "John Jr"
txtepicustom2.text = "SON"
elseif txtepicustom1.text = "0611" then
txtepicustom3.text = "John Sr"
txtepicustom2.text = "DAD"
else
txtepicustom3.text = "NOT AVAILABLE"
End If
End Sub
--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...> wrote:
>
> Will somebody please post some "Code Examples" that use if and =
> statements in .NET?
>
> I've tried Epicor's samples, but they're not what I'm looking for.
>
> Thanks,
>
> --JP
>
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@> wrote:
> >
> > Hello, Group:
> >
> > I'm trying to recreate a VB Form that was created in version
4.4.
> The
> > form allowed the user to enter a Operation Code in TextboxA, once
> the
> > user entered the code and pressed the TAB key, TextboxB and
> TextboxC
> > would populate with the Operations Description and Extended
> > Description.
> >
> > So far, in 8.0 I've keyed an event with the "LostFocus," but I'm
> not
> > sure how to call the fields based from the field entered in 8.0?
> > If somebody could point me in a direction to find this
information
> it
> > would be great.
> >
> > Thanks,
> >
> >
> > SF
> >
>