This has to be something I am missing because I am blind to it. I have a
variable set to "*checkbox*" & tab & "√". When I filter the following text with
that filter I get just the line which matchs.
[1] ["roomid"] 16,[1] ["siteid"] 4,[1] ["uniqueid"] 18,[1]
["status"] Available,[1] ["building"] Logos,[1] ["roomnumber"]
671,[1] ["roomname"] Logos-IT Tech Room,[1] ["capacity"] 5,[1]
["checkbox"] √
HOWEVER, if I filter the following text with the same filter I get empty!
[1] ["clientnotes"] ,[1] ["firstname"] Robert,[1] ["lastname"]
Sneidar,[1] ["cpristate"] CA,[1] ["caltstate"] CA,[1] ["caltcity"]
Santa Ana,[1] ["cphone1"] (714) 979-4422,[1] ["cphone2"] (714)
401-2407,[1] ["cprizip"] 92704,[1] ["cpriaddr1"] 3000 W. MacArthur
Blvd,[1] ["cpriaddr2"] ,[1] ["clientid"] 1,[1] ["uniqueid"]
1,[1] ["cpriaddr3"] ,[1] ["clientbalance"] 13100,[1] ["isaguest"] 0,[1]
["caltzip"] 92704,[1] ["checkbox"] ,[1] ["cpricity"] Santa Ana,[1]
["caltaddr1"] 3232 W. MacArthur Blvd,[1] ["clientname"] Sly
Laboratories,[1] ["clientext"] 3691,[1] ["caltaddr2"] ,[1] ["caltaddr3"]
,[1] ["isacompany"] 1,[1] ["clientfax"]
[2] ["clientnotes"] ,[2] ["firstname"] Muffin,[2] ["lastname"]
Man,[2] ["cpristate"] NA,[2] ["caltstate"] ,[2] ["caltcity"] ,[2]
["cphone1"] (800) 212-1212,[2] ["cphone2"] ,[2] ["cprizip"]
00123,[2] ["cpriaddr1"] 123 Drury Lane,[2] ["cpriaddr2"] ,[2]
["clientid"] 2,[2] ["uniqueid"] 2,[2] ["cpriaddr3"] ,[2]
["clientbalance"] 1200,[2] ["isaguest"] 0,[2] ["caltzip"] ,[2]
["checkbox"] √,[2] ["cpricity"] Far Far Away,[2] ["caltaddr1"] ,[2]
["clientname"] Muffin Man Bakery,[2] ["clientext"] ,[2] ["caltaddr2"]
,[2] ["caltaddr3"] ,[2] ["isacompany"] 1,[2] ["clientfax"]
Both chunks contain lines with "*checkbox*" & tab & "√" as you can see! But one
filters correctly and the other returns empty! Now the plot sickens! If I
change the filter to "*√*" then I get the correct results. If I change the
filter to "*checkbox*" I also get the correct results.
It is looking for all the world that having a tab in the filter can hose it,
but only SOMETIMES. Apparently it works if there are no other tabs after the
one filter finds??!?! Can anyone else verify this? Just save the two chunks
above to properties in a stack. Then make a button that puts the chunks into
two variables, and filter the variables using my examples above. See what you
get.
Bob
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode