Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    gostap is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Feb 2017
    Posts
    30
    Sorry, I post the wrong database....

    strippedIII.zip

  2. #17
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Sorry.. My bad...

    When using DoCmd.OpenReport , one of the parameters is a "WhereCondition"


    WhereCondition
    Optional
    Variant
    A string expression that's a valid SQL WHERE clause (WHERE clause: The part of an SQL statement that specifies which records to retrieve.) without the word WHERE.

    I modified the code for "cboAssist_AfterUpdate" and now the report opens as it should.

    I also deleted most field captions in the table.
    I added "Option Explicit" at the top of EVERY MODULE. There were undeclared variables and missing double quotes.
    You have a field names "Kontakt(tel)" - this is bad because of the special characters.

    You should remove all Look up FIELDS (in tables)... Reason: http://access.mvps.org/access/lookupfields.htm
    Attached Files Attached Files

  3. #18
    gostap is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Feb 2017
    Posts
    30
    Thanks a lot all of you! Works perfectly now!
    Again, thanks!

  4. #19
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    We're all happy to help...

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

Similar Threads

  1. cascade comboboxes
    By gostap in forum Forms
    Replies: 22
    Last Post: 08-26-2021, 02:22 PM
  2. Revese a cascade comboboxes
    By epardo87 in forum Access
    Replies: 5
    Last Post: 01-20-2017, 04:01 PM
  3. Replies: 3
    Last Post: 03-31-2016, 12:16 PM
  4. cascade combo box
    By Andyjones in forum Access
    Replies: 6
    Last Post: 04-05-2012, 04:41 PM
  5. Cascade of 3 or more ComboBoxes
    By tomullus in forum Forms
    Replies: 4
    Last Post: 10-08-2011, 06:22 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