Try:
set theRows to every data row of theDataSource whose content of data
cell 1 of it contains "file3"
This should return all data rows which match the search
Andreas
On 28.07.2005, at 21:12, Dan Day wrote:
Hello everyone,
I have a table with a data source and 2 columns. Is it possible to
search
for a particular string within the data source and have it return
which row
it's in?
What I'd like to do is to find which row contains "file3" without
having to
do a repeat statement looping through every row until it's found. So
something along the lines of:
set foo to data row of data source theDataSource that contains
"file3"
Is that even possible or am I stuck using a repeat loop?
Thanks,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/kiel%
40spherico.com