dbTalk Databases Forums  

Import with variable filename

comp.databases.filemaker comp.databases.filemaker


Discuss Import with variable filename in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
chapeau_melon
 
Posts: n/a

Default Import with variable filename - 11-14-2006 , 03:01 AM






Hello

Can someone quickly help me on this :

Running Filemaker 8.5 advanced on XP

I set up the import script :
- import from file
- filewin:/C:/Documents and Settings/Desktop/test/$FileToOpen
- Set variable :
- name = $FileToOpen

But now I'm stuck for the value ?

I want the value to be either what is in the copy/paste memory or a
value from a field.
And in either case I want that that value is completed with the
extention .txt

Can you help me ?

Kind regards


Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Import with variable filename - 11-14-2006 , 03:45 AM






It is almost allways a bad idea to use copy/paste, because the clipboard
contents might not be what you expected. Especially in a multy user
environment.

and as for adding the extension, this is simply added to the import from
name

$FileToOpen = Name & ".txt"

Ursus

"chapeau_melon" <tomagneessens (AT) hotmail (DOT) com> schreef in bericht
news:1163494915.227454.172670 (AT) h48g2000cwc (DOT) googlegroups.com...
Quote:
Hello

Can someone quickly help me on this :

Running Filemaker 8.5 advanced on XP

I set up the import script :
- import from file
- filewin:/C:/Documents and Settings/Desktop/test/$FileToOpen
- Set variable :
- name = $FileToOpen

But now I'm stuck for the value ?

I want the value to be either what is in the copy/paste memory or a
value from a field.
And in either case I want that that value is completed with the
extention .txt

Can you help me ?

Kind regards




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.