change attribute to table search with the key "Not"

hi, i've been learning the table search function and have been using it for a while now. my problem is i cant seem to get a certain key working. the key i am trying to use is "Not" i have used "Exact and "Contains" but cant seem to get "Not" working, i even used the same statement and just replaced "Exact" with "Not" but value is always Zero. ive tried searching these forums and youtube but cant find anyone who has covered that specific key. any help appreciated

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2019

    I didn't even realize that was an option. I just tried several variations including these and none of them worked:

    tableSearch( ...,"not")
    tableSearch( ...,(not))
    tableSearch( ...,not)
    tableSearch( ...,(not)"exact")

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2019

    Aha! Turns out it's "notexact"

    tableSearch( game.|T| Data , self.searchKey ,"col",1,1,tableRowCount( game.|T| Data ),"notexact")

    How the heck we're supposed to know that...

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • CMR InteractiveCMR Interactive Member, PRO Posts: 13

    that actually worked, thank you very much

Sign In or Register to comment.