Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
  1. #16
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    It was simply my choice to use two forms, I like the flow better.



    I don't really understand what you want me to do... do you mind going in the sample database i sent and making the changes in there and then post it back on here so i can see the changes in the actual database?

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I did some more edits in my previous post.

    Exactly what do you not understand about the instructions?
    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. #18
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Do i get rid of my code that i used if i change to yours? like this is what i have now...

    Database4 - Copy.zip

  4. #19
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If you add field to table and modify combobox then the code can be replaced.
    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.

  5. #20
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Yeah its not working right for me.

  6. #21
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Posted db does not show attempt to implement my suggestions. The suggested changes are simple and I think clearly explained.

    What does 'not working right' mean - error message, wrong results, nothing happens.
    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.

  7. #22
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    I'm getting a parameter error and then an object error:

    Click image for larger version. 

Name:	Error1.jpg 
Views:	6 
Size:	81.7 KB 
ID:	17330

    Database4 - Copy.zip
    Click image for larger version. 

Name:	Error2.jpg 
Views:	6 
Size:	87.7 KB 
ID:	17331
    Last edited by cbende2; 07-18-2014 at 07:15 AM. Reason: Trying different things, getting different results, still need help.

  8. #23
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    The popup is probably because Access can't find something that is referenced in query so it prompts for input.

    Me is used in VBA code behind form or report. It is an alias reference to that same form or report.

    Describe exactly the edits you did and post your attempted code or provide the db.

    The suggested edits are:

    1. add and populate field named PlanField to Staff table

    2. modify combobox RowSource and place combobox in form header

    3. change VBA code
    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.

  9. #24
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    I did all three, but what am i populating the field "PlanField" with? what exactly is going in that field?

  10. #25
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    The name of the field from PlanTable that the user is assigned.
    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.

  11. #26
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Ok, I've done that, but it is still not checking off the correct box in the plan table.

    Database4 - Copy1.zip

  12. #27
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Need one checkbox named chkMM.

    Need to select [Event Procedure] in the combobox AfterUpdate event property.
    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.

  13. #28
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    [Next].....

  14. #29
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Ok, So am I making the chkMM field in StaffTable or PlanTable? and also, I'm still getting an error with the event procedure, my code is :

    Option Compare Database
    Private Sub cboName_AfterUpdate()
    Me.chkMM.ControlSource = Me.cboName.Column(2)
    End Sub

  15. #30
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    No, I did NOT say to create a field named chkMM. I said create a single UNBOUND checkbox control on form that is named chkMM.

    The only field I said need to add is PlanField in StaffTable.
    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.

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

Similar Threads

  1. Visible/Not Visible based on condition VBA
    By BLFOSTER in forum Programming
    Replies: 3
    Last Post: 07-15-2014, 01:29 PM
  2. Default Value in Combo Box Not Visible
    By alansidman in forum Forms
    Replies: 5
    Last Post: 04-19-2013, 01:06 PM
  3. Report Fields Visible Based on Checkbox
    By ghillie30 in forum Access
    Replies: 2
    Last Post: 09-21-2011, 09:04 AM
  4. Replies: 2
    Last Post: 01-06-2011, 04:38 AM
  5. Combo Boxes Visible/Invisible
    By Rick West in forum Forms
    Replies: 2
    Last Post: 07-06-2010, 09:41 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