Results 1 to 2 of 2
  1. #1
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231

    Recordsetclone NOT picking up records from linked table

    My code for cloning a recordset is not picking up any columns from the second linked table. Below is my code:

    Dim rstEditGrower_Record As Recordset
    Dim rstEditGrower_Record_Cloned As Recordset

    strSQL = "Select * from FULLGROWER WHERE [MEMBER_ID] = " & Forms!frm_EDIT_CURRENT_FULLGROWER.MEMBER_ID

    Set rstEditGrower_Record = db.OpenRecordset(strSQL)

    Set rstEditGrower_Record_Cloned = rstEditGrower_Record.Clone



    When I debug and list all the fields in my recordsetclone, none of the fields from my second table are listed.

    Can anyone see what I'm doing wrong?

    CementCarver

  2. #2
    CementCarver's Avatar
    CementCarver is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    231
    Solved it..... and here is the answer....

    strSQL = "Select * from FULLGROWER inner join FULL_COMM_BREAKDOWN ON FULLGROWER.[MEMBER_ID] = FULL_COMM_BREAKDOWN.[MEMBER_ID] WHERE FULLGROWER.[MEMBER_ID] = " & Forms!frm_EDIT_CURRENT_FULLGROWER.[MEMBER_ID]

    CC

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

Similar Threads

  1. linked table/subform with no records
    By markjkubicki in forum Forms
    Replies: 3
    Last Post: 09-30-2013, 05:43 PM
  2. Replies: 1
    Last Post: 06-25-2012, 06:48 AM
  3. Update different records in a Linked Table
    By Lorlai in forum Import/Export Data
    Replies: 3
    Last Post: 06-14-2011, 02:01 PM
  4. automatically add records to linked table
    By bcrozier in forum Database Design
    Replies: 3
    Last Post: 04-07-2011, 09:03 PM
  5. Me not picking up new columns in table
    By asterismw in forum Programming
    Replies: 3
    Last Post: 03-11-2011, 02:00 PM

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