+ Reply to Thread
Results 1 to 1 of 1

Thread: Intro to Modules / Public Functions

  1. #1
    Barn Enthusiast sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69's Avatar
    Join Date
    Mar 2008
    Location
    The frigid northern plains
    Posts
    432
    Rep Power
    7

    Intro to Modules / Public Functions

    The database at the bottom of this post is just a sample database that will give you an introduction on how to use and code public functions.

    Often, when one mentions "module", or "public function", people tend to cringe, thinking of how complicated the database will be. In all reality public functions can be extremely simple, as per these examples.

    I like to use public functions for repetitive tasks that have to be re-coded over and over. Well, instead of coding the same 2 or 3 lines over and over, I like to throw them into public functions that can be called from anywhere.

    Anyhow, here is the database:

    Edit: I updated the database to fix an issue with the middle initial, if null would still include the period on the full name function. Also cleaned up the functions and subs just a hair.
    Attached Files
    Last edited by sbenj69; July 12th, 2008 at 11:46 AM.

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: April 5th, 2010, 12:15 AM
  2. VBScript Functions Reference
    By jmurrayhead in forum ASP Development
    Replies: 25
    Last Post: October 21st, 2008, 09:31 AM
  3. Accessing a Public Property in a web service
    By richyrich in forum .NET Development
    Replies: 0
    Last Post: May 23rd, 2008, 09:42 AM
  4. Date Functions Listed By Name
    By AOG123 in forum Microsoft Access
    Replies: 0
    Last Post: May 16th, 2008, 09:22 AM
  5. String Functions Listed By Name
    By sbenj69 in forum Microsoft Access
    Replies: 0
    Last Post: April 3rd, 2008, 11:17 PM

Bookmarks

Posting Permissions

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

SEO by vBSEO