Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 58
  1. #31
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Sorry, I have been indisposed for a few weeks.



    Just so I understand, you are suggesting that I concatenate the names in the combobox but forget the code for the Applicant_Add_Frm?

    Where does the concatenate code go? In the row source for the combobox in the Applicant_Junction_SubFrm?

  2. #32
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    I have a new issue.

    When I select a rejection reason on my master form, it comes up with the following error: "The value you entered isn't valid for this field"

    Now, I know why this is coming up. I have the combofox setup to store the value in the Rejection_Reason_Junction_Tbl. If I fix the issue to store the ID field, it only shows a PK in the master form after I select it. Is there a way to show something other than the PK in this case?

  3. #33
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Yes, concatenate the name parts in the combobox RowSource and forget trying to pass name and parsing with code for new record. Names just have too much variability.

    To set up multi-column combobox review http://datapigtechnologies.com/flash...combobox3.html
    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. #34
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    I'm getting a syntax error(missing operator) in the query expression. I'm not sure what's wrong.

  5. #35
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Post the query SQL statement for analysis.
    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.

  6. #36
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Sorry, but where would one find that?

  7. #37
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Maybe from the combobox RowSource property? Or if the RowSource is a reference to query object, open the query in SQL View.
    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.

  8. #38
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Would it be easier for you to review the database itself?
    Attached Files Attached Files

  9. #39
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    What is name of form with the issue?
    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.

  10. #40
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Applicant_Junction_SubFrm

  11. #41
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    RowSource SQL is missing a paren. Sorry if that was my typo.

    SELECT ID, Last_Name_Company_Name & IIf(Not IsNull(First_Name), ", " & First_Name, "") & IIf(Not IsNull(MI), " " & MI,"") AS AppName FROM Applicant_Tbl;

    ColumnCount: 2
    ColumnWidths: 0";2"
    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.

  12. #42
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Are you getting this same error when you attempt to open the Rejected_Application_Frm: The expression On Open you entered as the event property setting produced the following error: Return without GoSub.?

    I can't text whether or not the fix in the last post is working because of this?

  13. #43
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Not getting that error. The RowSource edit will not impact.
    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.

  14. #44
    KCC47 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Feb 2013
    Posts
    77
    Nevermind that last error.

    Just to confirm, I'm to input this code into the rowsource of the combobox of the Applicant_Junction_SubFrm?

    I've done that and nothing is changing. I still get the notinlist error when I enter anything in that field.

  15. #45
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I don't get NotInList error with any comboboxes in the subforms of Rejected_Application_Frm.

    If you have done the same edits then your db should work as well. I would have to see exactly what you have done.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 06-20-2012, 12:00 PM
  2. Linking Subforms on Unbound Master Form?
    By 10 Gauge in forum Forms
    Replies: 8
    Last Post: 07-21-2011, 08:06 AM
  3. Replies: 22
    Last Post: 03-15-2011, 07:17 AM
  4. Master/Child between Subforms
    By Pilotwings_64 in forum Forms
    Replies: 3
    Last Post: 08-22-2010, 01:45 AM
  5. Replies: 2
    Last Post: 06-14-2010, 03:25 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