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 2005

Tip: Looking for answers? Try searching our database.

Help for required fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrea V.F. - 04 May 2005 15:01 GMT
 I'm a newbie in Infopath.

I've created a small webservice with Visual Basic.Net for comunicate
with an Access DB.

In the VB Code there is a Type called "Census" like this:

Public Class Census
   Public ID as Int32
   Public DateBirth as Date
   Public Name as String
End  Class

If I look to the WSDL it seems like this:

<s:complexType name="Census">
   <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int"/>
      <s:element minOccurs="1" maxOccurs="1" name="DateBirth"
type="s:dateTime"/>
      <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
   </s:sequence>
</s:complexType>

I would like that minOccurs for ID and DateBirth is 0 not 1 so that in
Infopath I'm not obliged to insert a value for it. Alternatively I need
a way to obviate this problem

How can I do this??

Thanks for replying and excuse me for my bad english.
KjellSJ - 05 May 2005 12:36 GMT
You will find the answer to your problem here:
http://kjellsj.blogspot.com/2005/04/submitting-xsiniltrue-values-from.html
http://kjellsj.blogspot.com/2005/04/optional-numeric-fields-in-infopath.html

KjellSJ

>   I'm a newbie in Infopath.
>
[quoted text clipped - 27 lines]
>
> Thanks for replying and excuse me for my bad english.
 
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.