Results 1 to 6 of 6
  1. #1
    DubCap01 is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Location
    Dubbo, Australia
    Posts
    104

    Red face Stop VB Editor from auto-correcting

    Hi all,

    I am getting infuriated with MS Access 2010, as I cannot seem to get it to stop auto-correcting whilst I type in the VB editor screen

    Here's an instance.

    DoCmd.SelectObject actable,

    And..... when I press the space bar to start typing "TblWhatever" as the next part, the cursor jumps back to the comma at the end of the sentence, forcing me to again hit the spacebar to go to the next part of the string and type it REALLY quickly to stop it auto-correcting and jumping back there again!! It's a real-time visual thing, so I cannot post any examples.

    I have tried every combination in the VBA - Tools - Options, but I cannot get it to do what I want.



    Does anyone know if this is Windows 7 or MS Access, and/or how I can stop it from happening???

    thanks in anticipation
    Pete

  2. #2
    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
    Haven't come across this, before, and can't duplicate it, in v2007, but you don't need to go through the 'hit the spacebar to go to the next part of the string and type it REALLY quickly to stop it auto-correcting and jumping back there again' hucklebuck! You can simply continue typing and when you move off of the line of code the Access Gnomes will automatically insert the spaces, so

    DoCmd.SelectObject actable,"TblWhatever"

    will become

    DoCmd.SelectObject actable, "TblWhatever"

    with no effort on your part except to go to another line.

    Linq ;0)>

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Also not familiar with this behavior and can't replicate in A2010.

    Corrections do not occur until hit Enter.
    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.

  4. #4
    DubCap01 is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Location
    Dubbo, Australia
    Posts
    104
    Thanks for the replies everyone, it is something that is hard to explain without a visual - and I am not going to create a flash movie so you all can see, but nothing is helping!

    So I shall close it as solved and carry on infuriated!

    Pete

  5. #5
    apc0243 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    5
    I've had the same problem before. I couldn't get it to stop, but closing the visual basic editor sometimes fixes it. Other times I just close the whole database and try again. This usually fixes it!

    Good luck!

  6. #6
    DubCap01 is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Location
    Dubbo, Australia
    Posts
    104
    well folks, I just found out why my VBA editor auto-deletes the spacebar nudge, and it's so simple it's silly!
    I have a form open with an OnTimer event set to 1000, so every second, the form ticks over another 'second' on the virtual clock, and it resets my VBA editor timing - causing the auto-delete.
    I changed the other form's timer to 60000 (1 minute), and the problem disappeared

    Thanks for everyone's input - broadens the knowledgebase eh?

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

Similar Threads

  1. Stop Form Auto populate
    By newtoaccess2 in forum Forms
    Replies: 4
    Last Post: 10-15-2014, 10:13 AM
  2. Help for correcting Before Update
    By Pragmatic in forum Forms
    Replies: 11
    Last Post: 12-28-2011, 11:59 AM
  3. Stop auto save of forms
    By shanky365 in forum Forms
    Replies: 2
    Last Post: 07-28-2011, 08:37 AM
  4. stop access from auto adding records
    By svcghost in forum Forms
    Replies: 2
    Last Post: 10-21-2010, 05:25 PM
  5. auto start/stop time
    By j0ker21m in forum Reports
    Replies: 1
    Last Post: 12-10-2005, 08:42 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