How to transfer of data from one form to another?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Toshi Trivedi
    New Member
    • Jan 2011
    • 13

    How to transfer of data from one form to another?

    I have two forms.On form1 , there is a button UPDATE . On click event of this button another form form2 opens. Here search criteria and value can be given by the user depending upon which data grid restrict the values shown. Initially data grid shows all the values from the table.
    A button APPLY is there on form2. On the click event of this button i set the property for all the columns.I want to display these values on form1 on the click event itself and then want to close the form.I am unable to set and get the property.

    I am unable to set and get property. i am using autonomous set get thru a class. i am sending the code also. Please guide me in this context.

    Thanks in advance
    Attached Files
  • GaryTexmo
    Recognized Expert Top Contributor
    • Jul 2009
    • 1501

    #2
    If Dept is the form you're trying to interact with, what you're doing won't work since you're creating a new instance. You need to communicate with your existing Form. Curtis Rutland has a writeup on this in the insights section, maybe start there and check back if you're still having troubles.

    Comment

    Working...