Search - InfoPath Dev

InfoPath Dev

Search

Page 10861 of 11491 (114909 items) « First ... < Previous 10859 10860 10861 10862 10863 Next > ... Last »
  • Re: Event firing and repeating section

    You might want to incorporate this function into your code. This is a function provided with common.js and ensures that your node is always normalized. It sounds like you need your node normalized every other record and not on the others. /*------------------------------------------------------------------------------ normalizeSource() - ...
    Posted to Code (Forum) by Matt Faus on 01-24-2006
  • Re: Populating Dropdowns at Run-Time

    I got it to work. Thanks for the info.
    Posted to General (Forum) by Lewis68 on 01-24-2006
  • Re: can't use relative path for XML sec data src

    I'm hoping that in the 2005 version of InfoPath they allow us to use relative paths for sec data source.
    Posted to Code (Forum) by rickhan on 01-24-2006
  • Re: Event firing and repeating section

    this works myLocationOffloadCode = e.Parent.selectSingleNode(''../@LocationOffloadCode'') but it produces error msg for every other record returned. It does function correctly, as far as I can see--I set the LocationOffloadCode to Nothing, and only that record gets set. I can turn off the error message popup in the try statement and be ...
    Posted to Code (Forum) by rickhan on 01-24-2006
  • Re: identify row in a Repeating Table

    Yes, you can do this. Your source might need to be ''normalized'' so try this line instead: var idx = eventObj.Parent.selectSingleNode( ''@idavance'' ); The error that you listed - null or not an object - is almost always because your XPath is wrong. Check out this tutorial for a helpful start: ...
    Posted to Web Services (Forum) by Matt Faus on 01-24-2006
  • Re: can't use relative path for XML sec data src

    Haha, man that's depressing. Good luck and let us know if we can do anything else to help! --------------- Matt Faus InfoPath Dev Texas
    Posted to Code (Forum) by Matt Faus on 01-24-2006
  • Re: Populating Dropdowns at Run-Time

    If your drop-down list is already populating from the SQL DB then all you need to do is retrieve the rows from the DB and the drop-down will automatically populate. To do this, add this code to your OnLoad event handler: XDocument.Query(); --OR-- XDocument.DataObjects(''Name of secondary data source'').Query(); These two bits of code are the ...
    Posted to General (Forum) by Matt Faus on 01-24-2006
  • Re: Filtering Secondary Data Source

    I'm sorry, I forgot that the Query was done on the main data connection. Check out the following code for some better info: var oSecondary = XDocument.DataObjects( ''Name of Secondary Data source'' ); // One way to do it - set the query fields correctly then run query oSecondary.DOM.selectSingleNode( ''.....'' ); oSecondary.Query(); // Another ...
    Posted to SQL Database Integration (Forum) by Matt Faus on 01-24-2006
  • Re: identify row in a Repeating Table

    i try this too: var strUserName = eventObj.Source.selectSingleNode(''@idavance'').text); IP, send me : Source.selectSingleNode(...)' is null or not is a object. Is there a way to extract a piece of data in a field on the line that currently has the focus and then do a comparison with that single data point? Fred Darwin Villareal
    Posted to Web Services (Forum) by fredarwin on 01-24-2006
  • Re: Event firing and repeating section

    + Me {OffloadRequestReview.OffloadRequestReview} OffloadRequestReview.OffloadRequestReview - e {Microsoft.Office.Interop.InfoPath.SemiTrust.DataDOMEventWrapper} Microsoft.Office.Interop.InfoPath.SemiTrust.DataDOMEvent + [Microsoft.Office.Interop.InfoPath.SemiTrust.DataDOMEventWrapper] {Microsoft.Office.Interop.InfoPath.SemiTrust.DataDOMEventWrapper ...
    Posted to Code (Forum) by rickhan on 01-24-2006
Page 10861 of 11491 (114909 items) « First ... < Previous 10859 10860 10861 10862 10863 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.