Mike,
Thank you, I just tried that with no success unfortunately. I have had other variables that work fine in other files but this one just will not work.

Lee
Mike wrote:
Hi Lee,

Have you tried:

Set Variable ($data; (Value:Get(FileName)&"_"&main::name&".xls")
Exports Records (No dialog;"$data"; Unicode(UTF-16)

Mike

Lee wrote:
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



--

Reply via email to