|
-
Feb 1st, 2000, 10:35 PM
#1
Thread Starter
Lively Member
I have a GoFind Command button that fills in all of the text, combos, etc, when clicked. There are tons of objects to be filled and I am trying to fill the ones that do not have a value entered with a different color and "Input". Is there a quicker way than the following code to fill all of these in or do I really have to go thru each object and fill it in?? Early Thanks.
If IsNull(tb!TransAssnmtDate) = True Then
txtDateAssnd.Text = "Input Date"
txtDateAssnd.ForeColor = vbRed
Else
txtDateAssnd.ForeColor = vbBlack
txtDateAssnd.Text = (tb!TransAssnmtDate)
End If
If IsNull(tb!transCompleted) = True Then
txtTransCmpleted.Text = "Input Date"
txtTransCmpleted.ForeColor = vbRed
Else
txtTransCmpleted.ForeColor = vbBlack
txtTransCmpleted.Text = (tb!transCompleted)
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|