Rich_Lovina
Registered User.
- Local time
- Tomorrow, 08:55
- Joined
- Feb 27, 2002
- Messages
- 224
Newcomer to VB thanks to the Forum. What Sub routine would I use to achieve the following (in my lay language):
In my Form, Fld 1 may be blank, Fld 2 may be blank and Fld 3 may be blank, but each or all may contain data.
However;
I want Fld 4 (a 'global category') to update in the following priority order:
If Fld 3 notblank, fill Fld 4 with data from Fld 3, butif 3 blank and 2 notblank fill 4 with data from 2, butif Fld 2 and 3 are both blank, but Fld 1 notblank, fill Fld 4 with Fld 1 data.
I assume, from limited VB knowledge this would go in as a Sub Routine?
In my Form, Fld 1 may be blank, Fld 2 may be blank and Fld 3 may be blank, but each or all may contain data.
However;
I want Fld 4 (a 'global category') to update in the following priority order:
If Fld 3 notblank, fill Fld 4 with data from Fld 3, butif 3 blank and 2 notblank fill 4 with data from 2, butif Fld 2 and 3 are both blank, but Fld 1 notblank, fill Fld 4 with Fld 1 data.
I assume, from limited VB knowledge this would go in as a Sub Routine?