Search - InfoPath Dev

InfoPath Dev

Search

Page 2 of 5 (49 items) < Previous 1 2 3 4 5 Next >
  • Re: Setting value on submit

    Thanks for the suggestion, but your code doesn&#39;t work. Anyhow I tought you first need to declare your variables before assigning a value. I think it has to see with the fact that this code is assigned to a button, the same thing works if it used in the &#39;onafterchange&#39; event of a control. Regards
    Posted to Newbie Questions (Forum) by stumbler on 10-01-2007
  • Setting value on submit

    With the following code, I try to set 2 field&nbsp;values&nbsp; (LastUpdated_by and LastUpdated_time) at the moment a custom submit button is pressed. function CmdSave::OnClick(eventObj) { &nbsp;var curDate = new Date() &nbsp;var sLastUpdated_by = ...
    Posted to Newbie Questions (Forum) by stumbler on 10-01-2007
  • Re: Filling up a time field

    Still not working! some background information: I use a datafield AMPM to determin start en stop hour. In the form there are 3 option buttons for AM / PM / All day.&nbsp; according to the choice, i try to fill in a default start and stop time (that can be overwritten) with a rule. After the rule, I get the &#39;invalid data&#39; indicator, instead ...
    Posted to Newbie Questions (Forum) by stumbler on 08-23-2007
  • Re: Filling up a time field

    Thanks for the response the form works against an SQL table. the data format of the field is datetime. the format on the form is identical to the whatever is typed in &quot;99:99&quot;.
    Posted to Newbie Questions (Forum) by stumbler on 08-23-2007
  • Filling up a time field

    I try to fill up a time field with a rule: @from_Hour = number(&quot;08:00&quot;) I recieve a &#39;NaN&#39; error on my form. How can I avoid this error? &nbsp;
    Posted to Newbie Questions (Forum) by stumbler on 08-23-2007
  • Re: Accessing expressionbox information in code.

    Since there came no answers, I started looking for the answers myself. And eventualy I found the solution. It was a combination of Greg Collins http://www.infopathdev.com/files/folders/examples/entry283.aspx&nbsp;and Matt Faus http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Setup-Namespaces-for-a-Secondary-Data-Source.aspx&nbsp;that did ...
    Posted to Newbie Questions (Forum) by stumbler on 06-25-2007
  • Re: Accessing expressionbox information in code.

    What I bassicly want to do is retrieve an email address (field EmployeeEmail) from a secondary datasource based on&nbsp;an EmployeeID (Field EmployeeID in table LOCALSALES_APPROVERS). The EmployeeID is entered as Approved_by1in the table LOCALSALES (=main data source). Is there an easy understandable solution that a newbie like me can reproduce ...
    Posted to Newbie Questions (Forum) by stumbler on 06-25-2007
  • Re: Accessing expressionbox information in code.

    the code :&nbsp; var sSearchString =XDocument.GetDOM(&quot;Approvers&quot;).selectSingleNode(&quot;/dfs:myFields/dfs:dataFields/d:LOCALSALES_APPROVERS/@EmployeeEmail[../@EmployeeID = current()/@Approved_by1]&quot;) Returns the following error: Reference to undeclared namespace prefix: &#39;dfs&#39; &nbsp; What am I doing wrong? &nbsp;
    Posted to Newbie Questions (Forum) by stumbler on 06-24-2007
  • Re: Accessing expressionbox information in code.

    Thanks for the response. However I still have difficulties to access all data via code. now I Retrieve the information into the expressionbox with the following statement. xdXDocument:GetDOM(&quot;Approvers&quot;)/dfs:myFields/dfs:dataFields/d:LOCALSALES_APPROVERS/@EmployeeEmail[../@EmployeeID = current()/@Approved_by1] Can someboy help me on ...
    Posted to Newbie Questions (Forum) by stumbler on 06-22-2007
  • Accessing expressionbox information in code.

    Hello, &nbsp;Is it possible to retrieve the text entered in an expression box in the forms code? &nbsp; Thanks in advance
    Posted to Newbie Questions (Forum) by stumbler on 06-22-2007
Page 2 of 5 (49 items) < Previous 1 2 3 4 5 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.