+ Reply to Thread
Results 1 to 2 of 2

user defined function

Hybrid View

  1. #1
    delmac
    Guest

    user defined function

    still struggling

    Function Discount(quantity, price)

    If quantity >= 300 Then
    Discount = quantity * price * 0.1
    Else
    Discount = 0
    End If

    End Function
    -- I still cant find this function in the functions drop down box, is there
    something else I have to do. thnaks
    delmac

  2. #2
    Duke Carey
    Guest

    RE: user defined function

    Well, the obvious question is "where do you have the code?"


    "delmac" wrote:

    > still struggling
    >
    > Function Discount(quantity, price)
    >
    > If quantity >= 300 Then
    > Discount = quantity * price * 0.1
    > Else
    > Discount = 0
    > End If
    >
    > End Function
    > -- I still cant find this function in the functions drop down box, is there
    > something else I have to do. thnaks
    > delmac


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1