On 21/08/2008, at 3:29 pm, Lee wrote:

The exported file just reads $data.xls rather than for example "Main_John" which is what the 'name' (text) field reads on the screen .


I've just tried it successfully here Lee. Try this:

Set Variable [$data; Value:Get(FileName) & "_" & main::name & ".xls"]
Export Records [No dialog; "file:$data"]


(Note:
Although "file:$data" is entered into the output file path list, in ScriptMaker it will actually appear as:
Export Records [No dialog; "$data"]
after you close the dialog.)


--
Tim Mansour <[EMAIL PROTECTED]>
Neologica Print & Promotions (ABN 63 904 335 408)
159 Commonwealth Street  Surry Hills NSW 2010
Sydney 02 9212 1789  Melbourne 03 9012 7441  Mobile 0405 500 846

Reply via email to