|
-
Mar 8th, 2010, 02:27 PM
#1
Thread Starter
Lively Member
help minimizing If Then statement
I have 4 textboxes that a user can input date into, a save button, and another textbox that gets filled automatically depending on what is entered into the 4 text boxes.
Lets call the 4 text boxes: Name1, Name2, Name3 and Name4
we'll call the last text box Complete.
When you press the save button I want the values to be displayed in the Complete text box like this: Name1="text" Name2="text" Name3="text" Name4="text", BUT, only if they actually have a value.
So if they all have some text in them except Name2 then the Complete box would read: Name1="text" Name3="text" Name4="text" - so Name2 wouldn't show up at all.
Is there a simple way to put this in an If Then statement without scripting out every possible outcome?
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
|