Results 1 to 3 of 3
  1. #1
    FruStalin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    18

    How do I control objects in a subform showns as datasheet ?

    Hello Access people



    Just a little question about controlling objects in datasheet shown in subforms.

    Is it possible to control objects in at datasheet view? Please see the attached file.

    I am thinking of changing colors on a field via VBA.
    Example: [Forfaldsdato].forecolor = vbRed.
    This works fine in a ordinary form, but not in datasheet view.

    My goal is to change colors in sudden field according to some IF conditions . It must be possible when it works in form view.
    Does anyone know how this this done?

    Regards

    Morten
    Attached Thumbnails Attached Thumbnails Nyt billede (1).jpg  

  2. #2
    cowboy is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2010
    Posts
    291
    Why do you want your subform to be in datasheet view?

    If it were me I would make it a continuous form and run the code on the oncurrent field of the subform. If you want a datasheet view you can still make it work

  3. #3
    FruStalin is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    18
    Hello Cowboy

    I wish to have the Datasheet view for several reasons.
    One main reason is to avoid having that drop down arrow from comboboxes visible all the time and off cause having many infomation at same time.

    Is that possible the way you do it?

    Regards

    Morten

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

Similar Threads

  1. Replies: 6
    Last Post: 12-19-2013, 12:34 AM
  2. Replies: 3
    Last Post: 03-02-2012, 03:27 PM
  3. Hide each control, control group or subform?
    By BRV in forum Programming
    Replies: 2
    Last Post: 12-09-2011, 09:36 AM
  4. Replies: 5
    Last Post: 10-13-2011, 03:36 PM
  5. Replies: 4
    Last Post: 12-01-2010, 02:42 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