• Where condition written on report (Access 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Where condition written on report (Access 2000)

    Author
    Topic
    #401111

    Where Condition written on the report
    How can i write the where condition on a text box in a report?

    I am opening the report with the help of a combo box and the
    following where condition:

    View:=acPreview, WhereCondition:=”OrderID > ” & Me![CboOrders]

    Can i add on a control on the report saying that this is a list
    of all orders greater than the order selected in the combo box?

    What i have tried is :

    =”List of all the orders greater then : ” & “” & Forms!MyForm![CboOrders![orderid]

    But i am afraid it doesnt make sense

    Viewing 1 reply thread
    Author
    Replies
    • #787683

      I don’t know why you tacked OrderID at the end of the expression, and there is an unmatched left bracket [. Does the following work?

      =”List of all the orders greater then : ” & Forms!MyForm!CboOrders

    • #787684

      I don’t know why you tacked OrderID at the end of the expression, and there is an unmatched left bracket [. Does the following work?

      =”List of all the orders greater then : ” & Forms!MyForm!CboOrders

    Viewing 1 reply thread
    Reply To: Reply #787684 in Where condition written on report (Access 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel