Results 1 to 6 of 6
  1. #1
    johnnyc11 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    3

    scroll bar in form

    I have a form that shows up as a datasheet and dispalys all the records in the database. I have a macro that I adapted from one of microsoft's templates. The macro is activated when the primary key of the record is clicked. The macro copies the ID number and finds the corresponding record using a different form that I use to input data. The macro successfully finds the corresponding ID, but the form that it opens does not have a scroll bar. I need to be able to scroll up and down because there are more fields as you scroll down. Other than that, the form seems to be able to save the fields I edit and the other tabs on the form also work. If I open the form from the navigation pane like a normal form there are scroll bars and it works well. Can any one help me add the scroll bars?

    JPG of macro is below



    Thanks,
    John
    Click image for larger version. 

Name:	macro.jpg 
Views:	24 
Size:	88.4 KB 
ID:	12641

  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
    Few experienced developers use Macros. Untested, but try removing the last comma and Dialog from the OpenForm line, and see if that helps:

    , Dialog

    Linq ;0)>

  3. #3
    johnnyc11 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    3
    wow I didnt even notice that. THANK YOU!

  4. #4
    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
    Did that solve the problem?

    Linq ;0)>

  5. #5
    johnnyc11 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2013
    Posts
    3
    yes thank you very much!

  6. #6
    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
    Glad we could help!

    Good luck with your project!

    Linq ;0)>

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

Similar Threads

  1. Scroll bar position in main form
    By VictoriaAlbert in forum Forms
    Replies: 1
    Last Post: 10-25-2011, 04:24 PM
  2. PDF and form scroll bar issue
    By GraemeG in forum Forms
    Replies: 4
    Last Post: 04-03-2011, 04:28 PM
  3. Adding Scroll bar to a form
    By Kesar in forum Access
    Replies: 1
    Last Post: 06-02-2010, 02:57 PM
  4. Replies: 1
    Last Post: 12-10-2009, 09:58 PM
  5. Auto Scroll in a Form
    By delliott777 in forum Forms
    Replies: 0
    Last Post: 05-31-2008, 07:02 AM

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