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 / April 2005

Tip: Looking for answers? Try searching our database.

Repeating cascading drop down with database connection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
R3 - 12 Apr 2005 12:50 GMT
I'm trying to create a form containing repeating cascading drop down.
I'm using a database connection. The two drop downs are getting populated
from the database. The problem comes when I repeat the cascading drop down.
the second drop down is takes value depends on all the instances of the
first drop down.

How can I solve this problem??Any help???
Sumanth Peddi - 12 Apr 2005 22:55 GMT
When you create a data connection for the second drop down make sure to
uncheck the check box automatically retrieve data when form is loaded.
Then in the OnAfterChange event of the first dropdown access the form's
data adapter's and change/filter the query and then submit the query.  This
should fill the second drop down based on the value of the first drop down.
R3 - 13 Apr 2005 10:50 GMT
Thanks, Sumanth, for the help.

Now the cascading drop downs are working fine.
But a runtime error arise when I try to repeat the table(when I click the
'Insert Item' link of the repeating table).

What I could understand is that the OnAfterChange function is called on the
click of 'Insert Item' link and returning something. I cannot understand
what it is returning.

???
 
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.