Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (6 items)
  • Re: OnSaveRequest function

    I am simply looking to have a form filed with the unique reference id as entered into the form as the filename and to specify exactly where it is saved to. The first obvious choice was as per the link in my first post. If this is not the best way to go can you identify another method. The script is provided by infopath with the sub name etc ...
    Posted to Code (Forum) by hudsucker on 06-17-2005
  • Re: OnSaveRequest function

    Well actually the code I am using is: Dim GMSRef GMSRef = ''abc.xml'' which produces the original error about thisXDocument If I use Dim GMSRef As String GMSRef = ''abc.xml'' or Dim GMSRef As String = ''abc.xml'' it fails to even open the form: quote: InfoPath cannot open new blank form. InfoPath cannot open the selected form because of an ...
    Posted to Code (Forum) by hudsucker on 06-17-2005
  • Re: OnSaveRequest function

    I changed the value of GMSref to abc.xml GMSRef = abc.xml 'GMSRef = thisXDocument.DOM.selectSingleNode(''my:myfields/my:field5'').text The error message changed, only now instead of saying object required is 'ThisXDocument' it was now requiring object ''abc.xml''
    Posted to Code (Forum) by hudsucker on 06-17-2005
  • Re: OnSaveRequest function

    Hello The field does exist and hopefully I am referencing it correctly. In looking at the datasource (main) I have a folder myfields, within it I have the field called field5 which is expecting a string - it has validation ensuring that the field is not left blank. I simply added a series of text boxes etc and accepted the default names. I ...
    Posted to Code (Forum) by hudsucker on 06-17-2005
  • Re: OnSaveRequest function

    Thanks for the response but it didn't make any difference. Any other ideas?
    Posted to Code (Forum) by hudsucker on 06-16-2005
  • OnSaveRequest function

    Only just started dabbling with InfoPath. I am currently designing a form that needs to be saved to a specific location with a specific reference id as the file name which is to be taken from a field within the form. But alas, as you might have guessed, it does not work for me. I have followed steps outlined in the article Extending the Save ...
    Posted to Code (Forum) by hudsucker on 06-14-2005
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.