someone told me that i should stick with method #2, interested in getting feedback here.
form2 has an id that form1 passes in order to load information from.
has a public integer that form 1 passes to form 2
class form1 private sub button1_click form2.id = 1 form2.pull_data form2.show end sub end class class form2 public id as integer = 0 public sub pull_data select whatever from whatever where id = id end sub end class
method # 2
has a private integer on form 2 that a public function changes..
class form1 private sub button1_click call form2.writeid(1) call form2.pull_data form2.show end class class form2 private id as integer = 0 public sub writeid(newid as integer) me.id = newid end sub public sub pull_data select whatever from whatever where id = id end sub end class
Edited by jlego: n/a