yes it does, in the body of the layout
Lee
Fabrizio MURA wrote:
Does your variable "name" appear on the layout where you execute the
script from?
Fabrizio Mura
-----Original Message-----
From: FileMaker Pro Discussions [mailto:[EMAIL PROTECTED]
On Behalf Of Lee
Sent: Thursday, August 21, 2008 2:30 PM
To: [email protected]
Subject: variable dilemma
I have set a variable script that refuses to work if anyone has an idea
where the scripting is wrong then I'd appreciate any input.
Set Variable ($data; (Value:Get(FileName)&"_"&main::name)
Exports Records (No dialog;"$data.xls", Unicode(UTF-16)
'main::name' field is just a text field with a name in it.
The exported file just reads $data.xls rather than for example
"Main_John" which is what the 'name' (text) field reads on the screen .
any help appreciated. I have done other variable scripts when saving
files but this one just seems to be wrong somewhere.
Lee Mills
--