2012-09-10 2 views
0

모든,파일 메이커 10 간헐적 인 클라이언트 오류 -1728 우리의 파일 메이커 서버 10 데이터베이스 응용 프로그램 중 하나에

, 클라이언트 사용자는 간헐적 -1728 오류를 받고있다 알 수없는 오류 : 나는 사용자로부터 배운 내용을 바탕으로 -1728

enter image description here

는 -1728 오류가 바로 "쇼 레이아웃"명령 이전에 발생합니다. (아래 참조).

set theDatabaseName to "F&B POs" 
set theCellName to "Product ID" 
tell application "FileMaker Pro" 

    set theInventoryID to contents of cell "ID" of current record 
    tell database theDatabaseName 
    -- -1728 error happens here!! 

    show layout "Inventory - All Quantities" 
    show every record 
    ... 

그에 대한 방탄에 FM에 가장 좋은 방법은 무엇입니까 : 내가 바로 오류 전에 실행 "으로 설정 theInventoryID"명령을 의심하는 건가요? 같은

뭔가?

tell application "FileMaker Pro" 
try 
    set theInventoryID to contents of cell "ID" of current record 
    on error 
    display dialog ("Make sure all inventory ids are valid") 
end try 

tell database theDatabaseName 
-- -1728 error happens here 
show layout "Inventory - All Quantities" 
show every record 
... 

고마워요!

답변

0

AppleScript 오류 "Can not get (something)"입니다. 모든 레이아웃과 필드가 있는지 확인하십시오. 또한 AppleScript가 FileMaker에서 실행되는 경우 이미 응용 프로그램에 말한대로 tell application "FileMaker Pro"/end tell 블록이 필요하지 않습니다.