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 / September 2004

Tip: Looking for answers? Try searching our database.

repeating drop down

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FrankS - 23 Sep 2004 22:17 GMT
Using SP1 and managed code I populate a repeating table. OK fine. Now I want
to have one of the columns to be changed with a drop-down list (let's say
from a data source).  I have tried several combinations and cannot get the
value to change with the context change in the drop down.

Ideas please.
Jerry Thomas [MSFT] - 23 Sep 2004 22:52 GMT
Greg Collins, one of our MVP's has a site with a couple of topics that might
help you out.
http://www.infopathdev.com/examples/

Signature

Jerry Thomas[MSFT]
<Jerryth@online.microsoft.com>
Microsoft Office InfoPath
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.

> Using SP1 and managed code I populate a repeating table. OK fine. Now I want
> to have one of the columns to be changed with a drop-down list (let's say
> from a data source).  I have tried several combinations and cannot get the
> value to change with the context change in the drop down.
>
> Ideas please.
FrankS - 24 Sep 2004 17:17 GMT
Jerry, I guess I was not clear I have reviewed all the suggestions in all the
blogs I can find including Gregs several times. Perhaps I missed it, but... I
am not trying to populate a drop down. I already have that. I am trying to
*change* a cell in a repeating table with a drop down (in the same cell)
after the repeating table has been populated by a source (doesn't matter
where from). I have tried every combo of rules and code I can think of.

Example:
This row is populated from a source in the repeating table:
Name  State
Frank   AZ

Now I want to change the State with a drop-down in the state column with the
default being the current value (in this case AZ).  In other words, the
drop-down is in the State cell and defaulted to the DB value unless changed
in the drop-down.

I can get it to work with a second drop-down of states and then *ruling* the
selected value to the repeating table field however I would like the
drop-down to default to the current value in the same cell.

Thanks,
Frank



> Greg Collins, one of our MVP's has a site with a couple of topics that might
> help you out.
[quoted text clipped - 7 lines]
> >
> > Ideas please.
Jerry Thomas [MSFT] - 25 Sep 2004 01:31 GMT
You want to change Frank from living in AZ to WA?
Let me think on this one...

Signature

Jerry Thomas[MSFT]
<Jerryth@online.microsoft.com>
Microsoft Office InfoPath
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.

> Jerry, I guess I was not clear I have reviewed all the suggestions in all the
> blogs I can find including Gregs several times. Perhaps I missed it, but... I
[quoted text clipped - 31 lines]
> > >
> > > Ideas please.
Jerry Thomas [MSFT] - 25 Sep 2004 01:39 GMT
I apologize if I am missing something...
You can have your states field as a drop down, linked to a list of states
(hand entered or in a seperate form or db), and the main db will store the
entry last selected. If Frank moves from AZ to WA then when you submit, WA
will get stored in your db.
Signature

Jerry Thomas[MSFT]
<Jerryth@online.microsoft.com>
Microsoft Office InfoPath
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.

> Jerry, I guess I was not clear I have reviewed all the suggestions in all the
> blogs I can find including Gregs several times. Perhaps I missed it, but... I
[quoted text clipped - 31 lines]
> > >
> > > Ideas please.
FrankS - 25 Sep 2004 15:13 GMT
Thanks Jerry.

> I apologize if I am missing something...
> You can have your states field as a drop down, linked to a list of states
[quoted text clipped - 51 lines]
> > > >
> > > > Ideas please.
 
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.