Search - InfoPath Dev

InfoPath Dev

Search

Page 17 of 20 (198 items) « First ... < Previous 15 16 17 18 19 Next > ... Last »
  • Re: Button To Save Document

    I can&#39;t/don&#39;t use C# (or whatever it is) in my forms - but you could try the same concept I use to &#39;submit a form to a file&#39;. Use an object model like File System Object to create a text file and just save the XDocument.xml property to it. Tada.
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: How to Show/Hide File Attachments Fields in Repeating Tables (With Sections?)

    Two attachment controls bound to the same field. Put them both in the same place in the repeating section/table. Make one &#39;read only&#39;. Put conditional formatting on them to make the &#39;read only&#39; one invisible when the condition isn&#39;t met and the &#39;non-read only&#39; one invisible when the condition is met. No extra sections ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Getting corrent user

    I had similar problems in my workplace - the Network object would not be created (permission denied when I debugged) but Infopath reports no error when the form was opened - just an empty field. &nbsp;I have 2 solutions I used - get user to enter their login name into a field - then use the &#39;IsCurrentUser&#39; function of Infopath to validate ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: infopath submitted xml files how to merge into one file

    If they are all from the same Infopath template you could use the built in Infopath merge function (File &gt; Merge forms).
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Jscript error: permission denied

    Cheat - try jScript sendKeys to send &#39;^p&#39; and &#39;^s&#39; (Ctrl+P and Ctrl+S). Doesn&#39;t require fulltrust (from what my experience has been). Note that Ctrl+S might not do anything if no changes has occured in the form - maybe your could do something with a &#39;XDocument.isDirty()&#39; check.
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: attaching a file to xml

    This might be a &#39;lateral&#39; idea - but why not add a view to your template which has two fields displayed and one&nbsp;&#39;support&#39; field. The first field should hold your &#39;xml snippet&#39; (just set in code the way you currently save to file&#39; and the second a file attachment field. Now have a button which sends the form by ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Select top three rows from secondary database in repeating table.

    Could you make an additional secondary data source (retrieve values type) and ask it to retrieve the values from the table with the user names and the dates? This would be ok for an SQL database - not sure on Sharepoint. Then set a filter on the secondary datasource which is based on the currently selected value of the user name and requery it ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Email Attachment help please

    Only speaking from Infopath 2003 point of view - but you could try just having an attachment field and let the infopath form itself be the attachment and use a normal email data adapter/secondary connection. &nbsp;If you need a code solution - in order to set the Outlook mail object&#39;s attachment property you may have to create a proper ...
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Programatically created InfoPath form boolean and datetime field values not set

    try string values - for dates use &#39;yyyy-mm-dd&#39;, for boolean try &#39;true&#39; &#39;false&#39;&nbsp;(or whatever your checkbox uses for checked/unchecked values. I&#39;m guessing a little - never used exd.exe&nbsp;
    Posted to Code (Forum) by Skarn on 07-17-2010
  • Re: Inserting a row by clicking a check box

    Example&nbsp;using jScript - Repeating&nbsp;group is called &#39;rGroup&#39;&nbsp; ========================================= On the &#39;After Validate&#39; event of a&nbsp;&#39;check box&#39; field named &#39;fCheck&#39;&nbsp;contained in rGroup with a checked value of 1 and unchecked value of ...
    Posted to Code (Forum) by Skarn on 07-17-2010
Page 17 of 20 (198 items) « First ... < Previous 15 16 17 18 19 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.