Results 1 to 5 of 5
  1. #1
    dpasanen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    6

    Couple Design Issues

    Hello, I'm putting the final touches on a form for one of our departments (who happen to be very picky about looks) and having a couple issues. (Using Access 2010)



    Problem 1:
    I have lines separating different sections of input and when I go to Form view the lines do not stretch to the right edge of the form. In fact, it appears that the form automatically increases it's width when switching. I tried turning Auto Resize off, but that just makes it worse.

    Screenshot one - Design View with lines extending to the far right - http://i.imgur.com/pwCDt.png
    Screenshot two - Form View with the lines not reaching all the way to the right - http://i.imgur.com/R3hat.png


    Problem 2:
    I'm using a Me.Requery for many of my buttons to update query data after changing things. After the Me.Requery is run, the text boxes' background change to grey instead of being transparent like they started. I've tried messing with the color schemes, but it doesn't seem to do anything.
    Screenshot three - Before the Me.Requery - http://i.imgur.com/BA9pS.png
    Screenshot four - After the Me.Requery - http://i.imgur.com/jeRkJ.png


    Any help would be greatly appreciated!
    I've searched for answers for both but am coming up empty.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    In design view, size the form window so the right edge border (the scroll bar) covers part of the right edge of the form (even on top of controls) and save it. Open in form view, can you still resize the form by clicking edge and dragging? Hopefully not.

    Don't know about the colors. Would have to see code. Post it or the project for analysis.
    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.

  3. #3
    dpasanen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    6
    Well, i got the form size thing fixed, had to re-enable Auto-resize and cover the right side with the scrollbar like you said. Thanks!

    I noticed two of my total fields stays transparent after the requery, but all the others are still turning grey. I checked through the properties of them all and I'm not seeing anything different that would point at causing this.

    One snippet of code that causes it to happen:

    Code:
    DoCmd.SetWarnings False
    DoCmd.RunSQL "Update [TBL-Daily Counts] Set [SB FPs Completed] = [SB FPs Completed] + 1 where [ID]=[CurrID]"
    DoCmd.SetWarnings True
    Me.Requery
    DoCmd.GoToRecord acDataForm, "FRM-Scoreboard", acLast
    It is the Me.Requery that causes this to happen (when commented out, the boxes do not change), but I need it to do the requery to update all the text boxes in the form with the new data.

  4. #4
    dpasanen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    6
    Found something out, if the text box is overlapping the label, and it is set to "Bring to Front" it doesn't change the background color. Very weird....

    This would be a viable option, if I had labels by all my text boxes, but I don't. Tried to just "Bring to Front" on ones that didn't have labels near them and it didn't change.

  5. #5
    dpasanen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    6
    Crappy workaround, but it does work. I just took my first, top left, label and expanded it across the whole form, then sent it to the back. Now all the text boxes stay transparent after the requery.....weird....

    Thanks for the help!

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

Similar Threads

  1. My first database-design issues
    By rorybecerra in forum Access
    Replies: 8
    Last Post: 02-08-2012, 01:48 PM
  2. Issues with Subform Design
    By Scyclone in forum Forms
    Replies: 9
    Last Post: 10-20-2011, 07:14 AM
  3. Database Design/Report Issues
    By j2curtis64 in forum Access
    Replies: 15
    Last Post: 07-08-2011, 08:00 AM
  4. Couple of newbie questions
    By Awowk in forum Access
    Replies: 12
    Last Post: 08-06-2010, 01:16 PM
  5. A couple of problems...
    By dr_destructo in forum Forms
    Replies: 1
    Last Post: 06-08-2010, 11:03 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