Search - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Search

Page 1 of 2 (12 items) 1 2 Next >
  • Stop the Submit if the form is open as read only

    Hi friends,  I have the below code that runs for my submit that is running off of a button.  Does anyone know how to (what to) put to stop this from running and give an error message if the form is open as read only?  I am getting row update errors if someone trys to submit it as read only, there ends up being a ...
    Posted to Code (Forum) by Danielle on 08-20-2009
  • Re: Query field? Have a field that needs to update if the value in the database was updated.

    Ok, I guess this needs more information now that I go back and read it.  The user is updating 6 dates, she updates many customers at one time so we built a query in the database and she is updating that "spreadsheet" view in the database.  However, I need that information to feed back to the form once she has made her ...
    Posted to Controls (Forum) by Danielle on 08-19-2009
  • Query field? Have a field that needs to update if the value in the database was updated.

    Hi guys, I have a form that is attached to database on the backend.  We are trying to make an more efficient way for the user to update a task by her pulling it up in a query and puttiing in the bulk date.  What I need is the next time the form is opened for that date to pull into that field on the form.  Is there a way to make ...
    Posted to Controls (Forum) by Danielle on 08-19-2009
  • Re: Submit Using Code due to Timeout Error

    Good Morning,  After two months to have time to work on this, I finally got it.  The code is: function CTRL2114_7::OnClick(eventObj) { try { XDocument.QueryAdapter.Timeout=240; XDocument.QueryAdapter.Submit(); XDocument.DataAdapters["MainConnection"] XDocument.DataAdapters["Submit"] .Submit(); ...
    Posted to Code (Forum) by Danielle on 07-08-2009
  • Re: DataConnection not defined error

    Good Morning,  I have finally got it working with the code below.  Thanks for all your help! function CTRL2114_7::OnClick(eventObj) { try { XDocument.QueryAdapter.Timeout=240; XDocument.QueryAdapter.Submit(); XDocument.DataAdapters["MainConnection"] XDocument.DataAdapters["Submit"] .Submit(); ...
    Posted to Code (Forum) by Danielle on 07-08-2009
  • Re: DataConnection not defined error

    Hi,  Thank you for responding, We are having network problems and have many remote users so they were getting timeout error.  I was told the only way to correct this was with code to change the timeout setting on submit.  Our SharePoint adminstrators would not budge on changing it on their level.   When I tried ...
    Posted to Code (Forum) by Danielle on 07-07-2009
  • Re: DataConnection not defined error

    OK, this code gets it to go to both connections, but it comes up and says it failed.  So I still need that sucess fail code I guess, any ideas?  XDocument.QueryAdapter.Timeout=120; XDocument.QueryAdapter.Submit(); XDocument.DataAdapters["MainConnection"] XDocument.DataAdapters["Submit"] .Submit();  
    Posted to Code (Forum) by Danielle on 07-07-2009
  • Re: DataConnection not defined error

    Ok Guys, getting closer...  I have the submit working, now I need to get it to close the form and give a success/failure message... HELP.. XDocument.QueryAdapter.Timeout=120; XDocument.QueryAdapter.Submit(); XDocument.DataAdapters["Submit"].Submit(); XDocument.UI.Alert("The form was submitted successfully.");  
    Posted to Code (Forum) by Danielle on 07-07-2009
  • DataConnection not defined error

    Hi guys, I am still struggling with a timeout error due to a slow network on my 2003 form.  I have come up with the below code (never written code in Jscript before) and now I am getting an error, Data Connection not defined.  Can anyone tell me what lines I am missing? XDocument.QueryAdapter.Timeout=120; ...
    Posted to Code (Forum) by Danielle on 07-07-2009
  • Re: Populating date based on if another field is completed.

    That was perfect, thank you so much!! 
    Posted to Controls (Forum) by Danielle on 06-05-2009
Page 1 of 2 (12 items) 1 2 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.