Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 2 (13 items) 1 2 Next >
  • Re: Extract Week Number from Date

    Well, I tried to install it but I don't have Visual Studio. I installed Visual Studio C# Express but the toolkit still wouldn't install. Maybe I will make a new post to try and get this code working on a repeating table.
    Posted to Controls (Forum) by kurtd on 10-23-2006
  • Re: Extract Week Number from Date

    Wow that is a lot more code then I had. I was so close to getting it working with this code: If eventObj.Operation = ''Insert'' Then Dim objDate Dim objWeek Set objDate = XDocument.DOM.selectSingleNode(''/dfs:myFields/dfs:dataFields/d:tblTasks/@dteDate'') Set objWeek = ...
    Posted to Controls (Forum) by kurtd on 10-18-2006
  • Re: Extract Week Number from Date

    Hi, I tried that but I get a syntax error on this line. Set objDate = eventObj.Source.selectSingleNode(''@dteDate'') ''A text node child of an attribute may not be passed as the context node for an XSLT transform or an XPath query.''
    Posted to Controls (Forum) by kurtd on 10-16-2006
  • Re: Extract Week Number from Date

    Hello, I'm using a Repeating Table. The below vbscript code works great on the first item. When I select a date it fills in the week field with the week number. This only works on the first record. If I click insert record, the code does not work on that record and on. How do I modify the code so it works in my repeating table? If ...
    Posted to Controls (Forum) by kurtd on 10-12-2006
  • Re: Extract Week Number from Date

    THis is my xml document so what should my xpath be? <?xml version=''1.0'' encoding=''UTF-8''?> <?mso-infoPathSolution name=''urn:schemas-microsoft-com:office:infopath:document:-dataFormSolution'' href=''manifest.xsf'' solutionVersion=''1.0.0.10'' initialView=''View 1'' productVersion=''11.0.8034'' PIVersion=''1.0.0.0'' ...
    Posted to Controls (Forum) by kurtd on 10-12-2006
  • Re: Extract Week Number from Date

    How do I find the xpath of my field?
    Posted to Controls (Forum) by kurtd on 10-12-2006
  • Re: Extract Week Number from Date

    How do I know if this line is correct? ''//my:myFields/my:txtWeek'' I do not think that is correct. I extraced the files and found this in the xml file. So what should my line read? <dfs:queryFields> <q:tblTasks taskID='''' txtName='''' dteDate='''' txtWeek='''' txtProject='''' ...
    Posted to Controls (Forum) by kurtd on 10-11-2006
  • Re: Extract Week Number from Date

    I switched to vbscript and I have this so far. But I keep getting a run time error ''object required: 'objDate' . If eventObj.Operation = ''Insert'' Then Dim objDate Dim objWeek Set objDate = XDocument.DOM.selectSingleNode(''//my:myFields/my:dteDate'') Set objWeek = XDocument.DOM.selectSingleNode(''//my:myFields/my:txtWeek'') objWeek.text = ...
    Posted to Controls (Forum) by kurtd on 10-10-2006
  • Re: Default Value Grayed out?

    After trying everything and nothing seemed to fix the problem, I closed InfoPath and then reopened my form. Now I can enter a default value. Must be a bug
    Posted to Newbie Questions (Forum) by kurtd on 10-10-2006
  • Default Value Grayed out?

    Hello, I have a form bound to an access database. I have a Repeater table with several fields. One of the fields had the default value grayed out, why? I have several other text fields and the default value is not grayed out. I can not see any difference between this field and other fields. Why is it grayed out?
    Posted to Newbie Questions (Forum) by kurtd on 10-10-2006
Page 1 of 2 (13 items) 1 2 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.