Results 1 to 5 of 5
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,080

    Dynamically created RowSource not found


    I have a simple popup form with a single combo control. The Open code determines the content of the rows setting the control's RowSource. When I click on the combo Access reports it can't find the "RecordSource" NOT the "RowSource" of the combo.

    So, I set the popup's "RecordSource" innocuously to one of my tables but the error persists. I verified that the "RowSource" was correctly initialized, as viewed in the IW (Below).

    Any ideas?

    Click image for larger version. 

Name:	002.jpg 
Views:	8 
Size:	247.8 KB 
ID:	27731

  2. #2
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,080
    The error:
    Click image for larger version. 

Name:	001.jpg 
Views:	7 
Size:	142.6 KB 
ID:	27732

  3. #3
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    You must have accidentally set the record source for the control to be the same as your row source setting? What do you see when you click on the drop down in the property sheet for the control's recordsource?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,706
    I suspect that the form's recordsource property is being set in code. You can't tell by looking at the form in design view, since setting the recordsource in code doesn't "stick" in the design view.
    Do a search for '.recordsource' to see if you can find it.

  5. #5
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    2,080
    Good grief! When I went to the property sheet for the combo to check out your suspicion I noticed that the RowSource "type" was set to "table/query" rather than "Value list". That does make a big difference

    Thanks for your thoughts,
    Bill

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

Similar Threads

  1. Replies: 3
    Last Post: 04-23-2015, 07:59 AM
  2. Replies: 0
    Last Post: 02-25-2015, 08:09 AM
  3. Change rowsource on cbo
    By Tvanduzee in forum Forms
    Replies: 1
    Last Post: 09-27-2012, 02:04 PM
  4. RowSource question
    By ermcc in forum Access
    Replies: 3
    Last Post: 07-11-2012, 08:16 AM
  5. SQL Rowsource
    By DSTR3 in forum Queries
    Replies: 2
    Last Post: 12-06-2010, 11:06 AM

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