hi... this is a small doubt in VB6... i am making a request form... in which one of the fields are reasons... now i want it such if my user send in a new reason then it should get written into my database and generate it as a part of the drop-down menu the next time some1 tries to access it!...i know hw to generate it but i want to know how to check if the reason entered by the user already exists in the database or not...
please try n do help...
thankx a lot!...
smile4evr
0
Junior Poster in Training
Recommended Answers
Jump to Posthi. just search their entry using a query and if is not found then just add it as a new entry.
Jump to PostHi,
Populate the ComboBox using This SQL Query:
Select Distinct Reasons From MyTable
And allow the User to Select one of them.. If a User wants to enter new Reason, In Keypress Event , Trap the Escape Key, and allow him to enter a New Reaon, Anyway, …
All 8 Replies
AUGXIS
1
Light Poster
QVeen72
104
Posting Shark
smile4evr
0
Junior Poster in Training
debasisdas
580
Posting Genius
Featured Poster
jireh
3
Posting Whiz
smile4evr
0
Junior Poster in Training
smile4evr
0
Junior Poster in Training
QVeen72
104
Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.