Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917

    I know the Cage_Code_tbl table contains the Status and Vendor fields. Do they also exist in the PBOM_TABLE table?

  2. #17
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    Yes sir they do.

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Could you post the SQL for the RecordSource of the MainForm please?

  4. #19
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Could you also post a jpg of your tables and relationships?

  5. #20
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    I work with SQL in SQL Developer and Crystal Reports but I do not know where to find the code for the whole form.

    The only thing I could find is the code for after update. This is the main form in properties.
    Code:
    Private Sub Form_AfterUpdate()
    Me.Refresh
    End Sub 

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    What is the RecordSource of the MainForm? Is it a table or Query? If Query the could you switch to SQL view and post that here?

  7. #22
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    Here are the screenshots of the tables and relationships.


    Click image for larger version. 

Name:	tables.JPG 
Views:	2 
Size:	143.2 KB 
ID:	8590

    Click image for larger version. 

Name:	relationships.JPG 
Views:	3 
Size:	181.0 KB 
ID:	8591

  8. #23
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    The record source for the main form is the PBOM table.

  9. #24
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    Guys.. I will be off work until monday. I will answer any other questions when I come back.

    Thank you both again for trying to help me where ever you can.
    Clay

  10. #25
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    I am back at work if either of you are still wanting to help.
    thanks
    Clay

  11. #26
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Go to your main form in design view and look for any events.
    Perhaps you could post what vba code you find.

  12. #27
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    In the After Update field the event procedure is
    Code:
    Private Sub Form_AfterUpdate()
    Me.Refresh
    End Sub
    In the On Timer field the event procedure is
    Code:
    Private Sub Form_Timer()
    Me.txtClock.Requery
    End Sub
    That is all the code that I have in the Event tab for the main form.

  13. #28
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    How is the combo populated?
    Did you build the database?
    Can you create (from your database) a small database with the relevant tables and forms to show the issue?

  14. #29
    dausa is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2012
    Posts
    17
    I just got the problem solved by one of our computer guys that was passing through. Our MIS department does not support Microsoft Access at all so I knew I could not go to them for help. Fortunately, one of them was passing through my office so I took a chance and asked if he knew anything about Access. He likes Access so he helped me (even though he was directed not to help with Access).

    Thank you all who tried to help. You guys are great!!!

    God Bless
    Clay

  15. #30
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Any chance you could post what he did?

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

Similar Threads

  1. Replies: 2
    Last Post: 08-01-2011, 11:35 PM
  2. Populate combo box with Record Set in Access 2003
    By ganeshvenkatram in forum Access
    Replies: 2
    Last Post: 06-20-2011, 04:10 AM
  3. Populate table/subform from VBA
    By degras in forum Forms
    Replies: 3
    Last Post: 03-03-2011, 10:59 AM
  4. Replies: 9
    Last Post: 12-15-2010, 01:44 PM
  5. Replies: 0
    Last Post: 06-23-2009, 03:01 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