Results 1 to 5 of 5
  1. #1
    maxis is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2013
    Posts
    30

    Table FieldName = 0# - Does the # mean DOUBLE WITH A VALUE OF ZERO?


    I don’t think I’ve ever seen this VBA syntax before and my google searches haven’t provided an answer. VBA code in MS Access where the right side is = 0#. What does the # do? Guessing it might mean DOUBLE field type, but I would sure appreciate a definitive answer please. Thanks...

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    Using a # sign is an old syntax which forces the datatype to be a double.

    This recent thread at another forum will explain in more detail: https://www.access-programmers.co.uk...d.php?t=298075
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    maxis is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2013
    Posts
    30
    Awh... so it is! This database is over 15 years old so that makes sense! THANK YOU SO MUCH!

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    You're welcome
    I've been using Access for almost 20 years & have never used this type of syntax myself
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by ridders52 View Post
    You're welcome
    I've been using Access for almost 20 years & have never used this type of syntax myself
    That is a blast from the past! It really goes back to QuickBasic, which VBA was originally based on.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Replies: 7
    Last Post: 10-11-2013, 03:28 PM
  2. Deleting double quotes out of my table?
    By kawi6rr in forum Queries
    Replies: 3
    Last Post: 02-19-2013, 04:32 PM
  3. Replies: 2
    Last Post: 01-04-2013, 10:05 AM
  4. Replies: 14
    Last Post: 11-16-2010, 03:56 PM
  5. Replies: 0
    Last Post: 08-08-2008, 08:34 AM

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