-
here's my question
when the car is equal to yellow
carmake should be required
initial value of the carmake should be unknown
if it goes through a recursive cycle and the manager has to re-fix the field
the carmake should not have the same value
.......how would i do this? any help would be greatly appreciated
-
Can you translate in English please.
Maybe, I'm very stupid but I understand nothing of your question.
[Edited by (B2F)Tom on 07-07-2000 at 09:28 AM]
-
car = yellow
carmake.enable = true
carmake = ""
.i don't know how to do the recursive cycle.. would i put it into a loop
-
You need to explain better
recursive cycle what?
-
recursive cycle meaning
if the sales person has to go back into that field to fix it then the field can't have the same value as it did before he fixed it
....does that help
-
Do you meen you want to verify the countain of a field
-
don't wan to verify the content. if thwe person made a mistake and had to go back into the field and refix it then he can't have the same value
-
Here is an example on how to not allow the user to input the same data twice into the textbox (if it is what you want, then you should be able to modify it for your needs)
Code:
Private Sub Text1_LostFocus()
Static strPrev As String
If strPrev = Text1.Text Then
MsgBox "You've entered this before and it was wrong, change it!!!!"
Text1.SetFocus
Else
strPrev = Text1.Text
End If
End Sub
-
Do you want to regain a value (kind of a default value) for your field when the user made a misktake?
-