AnsweredAssumed Answered

Find request via AppleScript

Question asked by GertvanOss on Jan 26, 2011
Latest reply on Jan 26, 2011 by GertvanOss

Title

Find request via AppleScript

Post

While using FMPro Advanced 11 I'm running into a problem as I try to do a find request via AppleScript. 

Can someone tell me what I'm doing wrong?

Thanks,

Gert

tellapplication "FileMaker Pro Advanced"

telldatabase "adressenboek_3.fp7"

telltable "addressenboek"

try

delete every request

endtry

create request

setfield "firstname" ofrequest 1 to "Piet"

find

endtell

endtell

endtell


error "FileMaker Pro Advanced got an error: Object not found." number -10006 fromfield "firstname" ofrequest 1 oftable "addressenboek" ofdatabase "adressenboek_3.fp7" to «class Piet»

Outcomes