|
-
May 27th, 2008, 12:20 PM
#1
Thread Starter
New Member
Clicking button with selected databinded combobox
The title is weird I know. I didn't know what else to put. I'm designing a program for a possible future business (sales) of mine. On the main screen I have 2 comboboxes linked to an SQL database along with 2 buttons. I have a second screen that has several textboxes, also linked to the database. Now this is where I get lost. What I would like to happen is when I choose a "Customer Name or #" in one of the comboboxes on the main screen and click the button, I would like their "information" to show up on the 2nd screen. I have 2 more questions but they aren't as big a concern for me as this issue is. Any and all help is greatly appreciated.
-
May 27th, 2008, 12:37 PM
#2
Re: Clicking button with selected databinded combobox
Welcome to the forums. 
Are you using VB6? VB.NET? Something else?
-
May 27th, 2008, 01:04 PM
#3
Thread Starter
New Member
Re: Clicking button with selected databinded combobox
Whoops. Sorry about that. I'm using Visual Basic 2008 express edition.
-
May 27th, 2008, 01:35 PM
#4
Re: Clicking button with selected databinded combobox
I would suggest forgetting about the databinding and doing everything through code.
What you describe is a very, very, simple SQL SELECT query. Are you familiar with writing SQL?
-
May 27th, 2008, 02:03 PM
#5
Thread Starter
New Member
Re: Clicking button with selected databinded combobox
Unfortunately no. I've only been using VB2008 for about 1.5 months. Yet i'm open for something new.
-
May 27th, 2008, 03:29 PM
#6
Re: Clicking button with selected databinded combobox
-
May 28th, 2008, 10:51 AM
#7
Thread Starter
New Member
Re: Clicking button with selected databinded combobox
What's described there is what I sort of have on the 2nd form. When I dragged the table's onto the form, it added the BindingNavigator which had all of the back and forward buttons. It doesn't say anything about opening the 2nd form with the button click on the first page. Sorry if I'm being confusing. I still don't get a lot of things pertaining to VB.
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
|