It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

combo boxes/refresh

Moderator: dafunkymunky

combo boxes/refresh

Postby jackdarippa on Mon Sep 07, 2009 11:24 am

Hello all,

I am using 2 combo boxes, the contents of the second combo box is dependent of the first combo box selected. The inital selection works well, works as expected. However if another selection is made in the first combo box, the second combo box doesn't change.

2 things.

1) How can i overcome this?

2) and how can i refresh the page/form?

Thanks,

Jac
jackdarippa
 
Posts: 4
Joined: Sun Jul 12, 2009 9:24 am

Re: combo boxes/refresh

Postby pachecf on Fri Oct 09, 2009 6:41 pm

Are you using a database?
Are you using array?
Are you using vb6?
pachecf
 
Posts: 6
Joined: Thu Oct 08, 2009 8:18 pm

Re: combo boxes/refresh

Postby bytelogik on Sat Oct 17, 2009 1:15 pm

Assuming you are using VB6:

Add whatever code you have in the Click event of the first Combo Box. The Change Event won't work.

Use the Refresh method of form

Hope this helps.
bytelogik
 
Posts: 12
Joined: Tue Oct 06, 2009 7:24 pm


Who is online

Users browsing this forum: No registered users and 3 guests