Hi everyone!
I have a search form where users can enter values into text fields. Currently I am assigning the field values into an object that passes the values into a class I created. The class function ultimately places those values into a stored procedure to retrieve a recordset. I want to then call the class from another form (results) and place the records (based on the criteria selected) into a listview control.
The search form's field values are assigned to the variables in the class just fine, but when I call the class in the results form my class variables become 0 or "" again (like nothing was passed to them). Am I doing something wrong? Is this even possible using a class?
Thanks for any help!
I have a search form where users can enter values into text fields. Currently I am assigning the field values into an object that passes the values into a class I created. The class function ultimately places those values into a stored procedure to retrieve a recordset. I want to then call the class from another form (results) and place the records (based on the criteria selected) into a listview control.
The search form's field values are assigned to the variables in the class just fine, but when I call the class in the results form my class variables become 0 or "" again (like nothing was passed to them). Am I doing something wrong? Is this even possible using a class?
Thanks for any help!