Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I inherited a db with table names starting with numbers. Access query builder has no problem with it but I found VBA was persnickety about this.

    For instance, the syntax of



    Debug.Print rs!1Fld

    gets modified by VBA to

    Debug.Print rs!; 1; fld

    adding parens handles this idiosyncrasy.

    Debug.Print rs![1Fld]

    as does

    Debug.Print rs("1Fld")
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    Join Date
    Apr 2017
    Posts
    1,680
    Ignore this! There was a field TempF!

    Quote Originally Posted by don911no View Post
    ...To learn, I tried to change the now working formula to remove the brackets (TempF-32)*5/9 but that didn't work. ...
    "-" is one of special character meant before, So either use [TempF-32], or rename the field as e.g. TempF32.

    I suspect poor Access tried to substract 32 from TempF, and didn't find such variable.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. 32 bit to 64 bit conversion
    By fishhead in forum Access
    Replies: 12
    Last Post: 07-07-2020, 11:37 AM
  2. Replies: 19
    Last Post: 07-13-2015, 10:15 AM
  3. Replies: 41
    Last Post: 05-29-2015, 02:58 PM
  4. PDF to JPG conversion
    By max_the_axe in forum Access
    Replies: 6
    Last Post: 09-01-2014, 11:33 AM
  5. UM Conversion
    By Rawb in forum Database Design
    Replies: 5
    Last Post: 01-24-2011, 04:02 PM

Tags for this Thread

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