Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InfoPath Errors

Status
Not open for further replies.

Beau71

MIS
Jul 18, 2006
87
US
I keep getting the error: Option Button is not in a repeating context.

What exactly does that mean and why is it happening? The form works perfect, but I don't like errors in it
 
Throw out the code behind the button - could be interrogating for a control array value when none is defined.

Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.
 
OK I mis-spoke: don't "throw it out", please post it here!

Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.
 
There is no code, it is a Radio Button. I inserted a radio button into the form, linked it to a smallint field on my db then dragged the buttons to different cells in my table to make it look better
 
Be aware that the Infopath interface is clunky at best. I think genomon is referring to the xml that sits behind the interface and which actually does all the work. If you have indeed "dragged the buttons to different cells in my table" it has probably broken the original reference and you have some corrupted xml behind the scenes...

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Is there any way to see the XML behind the scenes?

Also, does anyone else feel that InfoPath makes things harder than the really should be?
 
The way I work with Infopath is to use it within Visual Studio - in which case, there is an option to view the xml by default

And yes - to use Infopath well, you really need good xml and c# / vb programming skills as well as knowledge of LDAP queries - the interface is really no good apart from very basic forms which only need to update a few fields in 1 table IMHO

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Sorry for all the questions, but I am new to this and need to become an "expert" at it, since the boss wants to move to electronic forms.

I have InfoPath 2007 and Visual Studio .NET 2003, how do you use InfoPath within Visual Studio? I would much rather prefer that than the cheesy InfoPath only road
 
you need to download an add-in from the Microsoft site. Once you have done that, you can open Vis Studio and have anoption to create an Infopath project - seems to be pretty slick and works muich better

This should get you started:

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top