I have 2 list fields:
fldTblAbbinamenti containing 2 colums of data: row1 FOODS, row2 WINES, and
fldVini containing WINES.
with this code:
Code: Select all
on mouseup
local tVinoDaAbbinare, tAbbinamenti
set itemdel to TAB
put fld "fldTblAbbinamenti" into tAbbinamenti
put "*" & the selectedText of me into tVinoDaAbbinare
filter tAbbinamenti with tVinoDaAbbinare
end mouseup
do not work it returns empty.
but, for exemple, if I select the wine "Carema" from field fldVini and replace the variable of the line of code
"filter tAbbinamenti with tVinoDaAbbinare" with
"filter tAbbinamenti with "*Carema"
it's work, returns me the corrects lines
What I'm wrong?
best
franco