Results 1 to 7 of 7
  1. #1
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34

    Column Control Source Property

    I did this in a form and it worked fine, but I'm having trouble in my report:



    The report is based off of the "Project" Table. I have a field called "PM" in my Project table that is a look-up field to my "Contacts" table for a person's name . I want to set a text box's control source to be =[PM].[Column](3) to show that person's Phone Number. It worked fine for a form that I did, but it isn't working on this report. Is there something I'm forgetting?

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,628
    Better would be to build the report RecordSource as a join of tables then all data from the related records will be available for display in textboxes.
    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. #3
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    I thought that, I was just trying to take a shortcut Is there any reason why it worked before and isn't working now? I even tried it in a form again and it didn't work, but a form in the same database works that way. Is there some property I can check just to be sure?

    Thanks!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,628
    I would have to review the project.
    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. #5
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    Here are 2 snap shots of the properties of each text box. It looks the same to me, but I don't know if I've forgotten a step. And "ST_TO" and "MCC_PM" are both linked to the Contacts table as look-up fields for a person's name. I don't have the Contacts table linked to either of the forms, but it isn't working on "MCC_PM." Anything helps, meanwhile I'll try doing it the right way.Click image for larger version. 

Name:	ST.jpg 
Views:	3 
Size:	159.4 KB 
ID:	7694Click image for larger version. 

Name:	P.jpg 
Views:	2 
Size:	157.3 KB 
ID:	7695

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,628
    I can't determine cause from those images either.
    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. #7
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    Wow, you're idea was way easier Thanks!

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

Similar Threads

  1. Replies: 5
    Last Post: 10-13-2011, 03:36 PM
  2. Replies: 3
    Last Post: 03-21-2011, 05:29 PM
  3. control source
    By nashr1928 in forum Forms
    Replies: 5
    Last Post: 03-12-2011, 09:31 PM
  4. Control Source
    By sarah54 in forum Access
    Replies: 1
    Last Post: 03-07-2011, 09:00 PM
  5. SQL vs. vba Row Source property
    By eww in forum Programming
    Replies: 7
    Last Post: 10-15-2010, 11:02 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