Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2006

Tip: Looking for answers? Try searching our database.

Clear Drop Downs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ouaes Jamali - 28 Apr 2006 20:14 GMT
i am developing infopath form using visual studio tools for office 2003.I
have two drop downs in a infopath form. The first drop down contains the car
manufacturers names and the second drop down contains the cars made by each
company.

Drop down lstManufacturers contains the following names

<Select...>
Ford
Toyota
GM
Honda

When the users select "Ford" it drop down lstCars shows
Ford 150
Mustang-GT
Ford 250
Ford 350
Taurus

when the users select "Honda" the lst Cars shows
Civic
Accord
RAVA

When the users select the "Select..." item on the lst Maufacturers drop
down, i want to remove all the items from the lstCars dropdown.

How do i do this. I have been able to clear the selected value from the lst
Cars drop down but have not been able to remove the items from the drop down.

Any help will be greatly appreciated. also please let me know if you need
anything else from my side to resolve this issue.

-Ouaes Jamali
Shailaja - 29 Apr 2006 02:37 GMT
Hello Ouaes Jamali,
         One Question for you - Do you want to refresh 2nd drop down ? I
mean do you want to display values in 2nd drop down based on the 1st drop
down value, if yes then please follow this tutorial

http://www.infopathdev.com/howto/tutorials/default.aspx?i=4e038a7f3f5b443bbe4db4
9f86d95fba

Signature

Shailaja
http://www.autonomysystems.com

> i am developing infopath form using visual studio tools for office 2003.I
> have two drop downs in a infopath form. The first drop down contains the car
[quoted text clipped - 31 lines]
>
> -Ouaes Jamali
Ouaes Jamali - 01 May 2006 17:34 GMT
Shailaja,
Thank you very much for reply. Yes i want to display the values in the 2nd
drop down based on the value selected in the 1st drop down. I have got that
part working properly.

What i have not been able to resolve is that when the users select "None" in
the 1st drop down, then the second drop down should be cleared of all the
values. If i could get this part done then that would be great.

Thanks

-Jamali

> Hello Ouaes Jamali,
>           One Question for you - Do you want to refresh 2nd drop down ? I
[quoted text clipped - 38 lines]
> >
> > -Ouaes Jamali
Greg Collins [InfoPath MVP] - 01 May 2006 21:15 GMT
Add a rule (with no condition) to your first drop-down list box which clears the value in the field to which your second drop-down list box is bound.

Signature

Greg Collins [InfoPath MVP]
Visit Brain Trove (http://www.BrainTrove.com)
Visit InfoPath Dev (http://www.InfoPathDev.com)

Shailaja,
Thank you very much for reply. Yes i want to display the values in the 2nd
drop down based on the value selected in the 1st drop down. I have got that
part working properly.

What i have not been able to resolve is that when the users select "None" in
the 1st drop down, then the second drop down should be cleared of all the
values. If i could get this part done then that would be great.

Thanks

-Jamali

"Shailaja" wrote:

> Hello Ouaes Jamali,
>           One Question for you - Do you want to refresh 2nd drop down ? I
[quoted text clipped - 37 lines]
> >
> > -Ouaes Jamali
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.