my buttons are all the same - InfoPath Dev
in

InfoPath Dev

my buttons are all the same

Last post 07-12-2005 09:37 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-12-2005 08:21 AM

    • buzzby
    • Top 200 Contributor
    • Joined on 07-11-2005
    • United Kingdom
    • Posts 60

    my buttons are all the same

    Hi

    I have a form with 4 buttons but they always perform the same action. I have 4 different data connectionas that i want each one of the buttons to use. The problem is that as soon as i set one button the other 3 also do the same thing.

    HELP - how do i stop this
  • 07-12-2005 09:37 AM In reply to

    Re: my buttons are all the same

    Is the action that you are performing in the code or in the InfoPath?
    If it is in the code then name the buttons differently and write a common method for the functionality and pass the dataconnection name as a parameter to the method. Now call this method in all the 4 buttons onclick method.

    If it is in InfoPath then also you need to name the buttons differently.

    Agni
    InfoPathDev India
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.