You can declare it as a public function but no other forms recognize it. They say Name "youFunctionName" is not declared.
If you define them the same way in a module they work fine.
Basically, I want to be able to create a function that uses a parameterized query that's in a data adapter for use with multiple asp pages with VB back coding.
While we are on the subject, I am doing this because I dont want to re-write a function that returns data from a parameterized query that is inside a data adapter.
Should I create a form will all my data sets and adapters, and create my functions there and just use those functions through the rest of the project or is there a better way?
Im a pretty green programmer and just starting to play with the idea of OOP, would this be a good opportunity?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.