+ Reply to Thread
Results 1 to 3 of 3

Default value/text for variable in Function declaration

  1. #1
    Registered User
    Join Date
    12-15-2005
    MS-Off Ver
    2010
    Posts
    31

    Default value/text for variable in Function declaration

    Hi guys,
    In function variable declaration section, please advice how we assign default value/text for some/all parameter?
    Example :
    Function ABC (ByVal DiskNo As integer, ByVal DateBuy As text...)
    Possible to give default value 10 for DiskNo ? (of course, user still have freedom to enter their value).

    Thanks in advance.

    Fr, CS Lee

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,517
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-15-2005
    MS-Off Ver
    2010
    Posts
    31
    Hi Jindon,
    Thank you very much. As highlite by you, understand it work for Optional only.

    Fr, Lee CS.

+ 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