Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    A query that can pull the records for appending to temp table should be able to serve in place of the table. I don't see any reason to write to table. Just use the query that selects the records. The temp table or query could be included in form RecordSource by joining on common identifier field (ProbNum?) - join type "Include all records from {table} and only those from {temptable/query} that match. Then the Conditional Formatting expression can reference the ProbNum field from query - if it Is Not Null then set textbox color.

    So is 'work order number' synonymous with 'ProbNum'?
    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.

  2. #17
    Paintballlovr is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2013
    Posts
    96
    Ok, we're finally working. Here is what I ended up with for the final code: DLookUp("ProbNum","tblTEMP_UPDATED_ISSUES_NOT_RCTE AM","ProbNum=" & [ID]). Thanks for your assistance, this will be a valuable tool in helping to determine which work orders we look at first!

    Sorry, I didn't refresh to notice that you had replied before this. sorry about switching the terminology half way through, but yes, work order number and probnum were the same thing.

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    What do you think about comments on not needing temp table and joining with query to avoid DLookup?
    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.

  4. #19
    Paintballlovr is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2013
    Posts
    96
    That's definitely the way to go. I've already released the current version, but I'm going to go back and switch it out in the next couple of days. Thanks again!

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

Similar Threads

  1. Access 2010 Checkbox & Validation Rules
    By mrmims in forum Access
    Replies: 1
    Last Post: 04-29-2014, 08:52 AM
  2. Conditional Formatting on an Access 2010 Report
    By ecalvert47462 in forum Reports
    Replies: 1
    Last Post: 02-18-2014, 12:18 PM
  3. Replies: 16
    Last Post: 12-02-2013, 06:20 AM
  4. Replies: 2
    Last Post: 01-21-2013, 10:38 PM
  5. Linked table manager in Access 2010
    By Delta223 in forum Access
    Replies: 3
    Last Post: 01-07-2011, 12:37 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