Results 1 to 5 of 5
  1. #1
    zowmaster is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2017
    Posts
    2

    Dec_Sec Function?

    Hello,



    I am working on updating a query and am stuck on one part; in the Select statement it is written as Dec_Sec([Field1],[Field2]). Field1 contains a code (max 8 characters) and Field2 contains a one digit letter code.

    This code creates a new field (Group by creates a new field Security Codeec_Sec([Field1],[Field2])). The new Security Code field has word designations like Bonds, Bills, etc. My question is what is this Dec_Sec code? I cannot seem to find it anywhere, what is it doing and where can I see the logic behind it?


    Many thanks,
    zowmaster

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Search your project for this procedure. It is not an MS Access function so it is probably a UDF (User Defined Function).

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    yes, its custom. press Alt-F11 (VBE), then Ctl-F (find)
    set to CURRENT PROJECT

    to find that function.

  4. #4
    zowmaster is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2017
    Posts
    2
    Awesome, you guys are great. That gave me exactly the info that I needed, was just being dense I guess.. Thanks again!

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You're very welcome. I marked the thread as Solved for you.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 15
    Last Post: 05-31-2017, 02:10 PM
  2. Replies: 2
    Last Post: 02-26-2017, 11:31 AM
  3. Replies: 3
    Last Post: 03-04-2016, 10:36 AM
  4. Replies: 8
    Last Post: 11-04-2014, 10:44 PM
  5. Replies: 8
    Last Post: 01-31-2014, 01:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums