• Help With IF Syntax? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Help With IF Syntax? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Author
    Topic
    #446906

    How can I change the following not to include tables with _Bak_ in the table name?

    The following is not working?

    And tdf.Name “*_Bak_*” _

    Thanks, John

    If (tdf.Attributes And (dbSystemObject Or dbHiddenObject)) = 0 _
        And tdf.Name  "zTableFields" _
        And Left(tdf.Name, 1)  "~" _
        And Left(tdf.Name, 2)  "ez" _
        And tdf.Name  "*_Bak_*" _
        Then
    
    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: Help With IF Syntax? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

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

    Your information: