Results 1 to 2 of 2

Thread: Simple question, i guess

  1. #1
    Guest

    Question

    i have an aplicattion with two forms, both forms use the same function to calculate some values, and same variables too.

    1.- Where and how i can define the function
    2.- Where and how i can declare a variable for two forms



    TIA

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Posts
    217
    Well, you need to add a module to your project. Inside the module you need to add your function. Just pass your variables to the function. Don't declare them public

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width