Importing PDFs into FileMaker using a AppleScript

I’m trying to write a script that will automate importing files into a FileMaker 8.5 database. However, I’m not sure what I’m doing wrong and I’m still learning the in’s and out’s of Applescripting. Here’s the section of the script that I’m having problems with;

tell application "FileMaker Pro"
	show layout "LG PDF Proof"
	do script "Automated Find from AppleScript"
	tell document "LG PDF Proof" of application "FileMaker Pro"
		set cell "PDF Proof" of current record to file (currentPDF)
	end tell
end tell

This portion of the script errors out and gives me a error message stating;

Can’t make «class docf» “49413.pdf” of «class cfol» “Test 1” of «class cfol» “Desktop” of «class cfol» “krismiz” of «class cfol» “Users” of «class sdsk» of application “Finder” into the expected type.

The script see’s the PDF that I am wanting to import, but for some reason, it’s not able to. This is still rather new to me. I appreciate any help that can be offered. Thanks in advance!

Jacques,
I placed the example script you supplied me into my script as follows;

		tell application "FileMaker Pro"
			show layout "LG PDF Proof"
			do script "Automated Find from AppleScript"
			tell document "LG PDF Proof" of application "FileMaker Pro"
				set cell "PDF Proof" of current record to (selPDF as alias)
			end tell
		end tell

Howevr, now I receive a error message;

FileMaker Pro got an error: Object not found.

I’m assuming that I need to establish a path to the file? Thank you Jacques for your help with this.