Hi there,
Is there any method or a way to copy a form object to a variable?
Let me explain this - We have a method called "Copy" for the Dataset class & you all must be knowing that there is a difference between the below two lines of code:
In the first line of code, any changes made to Ds will reflect in DsTemp. However, in the second line of code, any changes made to Ds will not reflect in DsTemp because we are only "copying" the contents & schema of Ds. Likewise is there a method or a work around to "copy" a Form object?
Thanks in advance,
Aads
- please see the below code:
Is there any method or a way to copy a form object to a variable?
Let me explain this - We have a method called "Copy" for the Dataset class & you all must be knowing that there is a difference between the below two lines of code:
Code:
DsTemp = Ds
DsTemp = Ds.Copy()
Thanks in advance,
Aads
- please see the below code:
Code:
Dim Ds as Dataset
Ds.ReadXml("C:\MyXml.xml")
Dim DsTemp as Dataset = Ds.Copy()
Comment