You are viewing our Forum Archives. To view or take place in current topics click here.
VB Programming (need help)
Posted:

VB Programming (need help)Posted:

TheHum
  • V5 Launch
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
I have a project that i am required to use databases for. I have a listbox which loads the contact names from the database. I then have a edit contact button and i want to be able to search the name of the contact against the database and display the information in a separate form which could then be edited. I have tried a method using selecteditem from the list box but couldnt get it to work, any ideas?

NEW PROBLEM

So for my database i have a search option that i am using SQL queries for. What would the code be so that i could have a search which uses the selected item of a list box?


Last edited by TheHum ; edited 1 time in total
#2. Posted:
TheHum
  • V5 Launch
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
I am having a problem because the text boxes i want to fill are private on the other form so you cant add the information in with code from the main form, if that makes sense.
#3. Posted:
TheHum
  • New Member
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Status: Offline
Joined: Apr 21, 20159Year Member
Posts: 36
Reputation Power: 1
Decided to just have the editing etc all on the same form just because its easier, i would still like to know how its done for future use but there is no rush in getting back to me, thanks (im sure its a super easy fix haha)
#4. Posted:
Bighair
  • Powerhouse
Status: Offline
Joined: Sep 26, 201013Year Member
Posts: 401
Reputation Power: 17
Status: Offline
Joined: Sep 26, 201013Year Member
Posts: 401
Reputation Power: 17
Look into making custom dialog boxes
#5. Posted:
PMSL
  • Winter 2017
Status: Offline
Joined: Jul 16, 20149Year Member
Posts: 1,504
Reputation Power: 127
Status: Offline
Joined: Jul 16, 20149Year Member
Posts: 1,504
Reputation Power: 127
I could happily help, but not from what you are describing haha, it makes sense and everything but i need to see it to know what im doing.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.