add new record - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

add new record

Last post 02-22-2005 03:04 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-18-2005 08:38 AM

    • sosan
    • Not Ranked
    • Joined on 10-28-2004
    • Italy
    • Posts 4

    add new record

    I'd like to add a new record with javascript
    i used this code

    XDocument.View.ExecuteAction("xCollection::insert", "new_rec");

    it's ok but i have to show just the new record and hide the other ones.
    the action "New record" that infopath uses with the command button
    can do it.

    the problem it's this: when i clic on the button to add new record (the action) the view switch on the default one...I dont'want this! (??) so I want to add new record by code and Force the switchView to the current.

    Some help?
  • 02-22-2005 03:04 PM In reply to

    It is hard to follow what you are doing and what you want to do. Will you please be more specific?

    Greg Collins [InfoPath MVP]
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.