| | |
Text box Validation
![]() |
just checked id entered with id on database.
If same then display error message, if not same then add into database.
If same then display error message, if not same then add into database.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Mar 2009
Posts: 6
Reputation:
Solved Threads: 0
•
•
•
•
ITs a simple textbox
ITs works as a ID no in a program. So a person cannot have similar id no..so how to do that..anyone>>>
If user enters the same number then display error message " you entered the same number" --when the user clicks the cmd.submit button.....
•
•
Join Date: Nov 2007
Posts: 140
Reputation:
Solved Threads: 15
•
•
•
•
just checked id entered with id on database.
If same then display error message, if not same then add into database.
You could perhaps have a method which adds the user to the database, and another method which updates the user if they already exist.
Then, you could check if they exist and if they do, run the update method. If they don't exist, run the add method.
![]() |
Similar Threads
- text box validataion (ASP.NET)
- Validation of Masked Text Box? (VB.NET)
- Input Box Validation (VB.NET)
- for validation - text box and drop down menu (JavaScript / DHTML / AJAX)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: plz kindly help me
- Next Thread: ReDim error!
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






