dbTalk Databases Forums  

Scripting Problem - Pasting into Field identified by a variable.

comp.databases.filemaker comp.databases.filemaker


Discuss Scripting Problem - Pasting into Field identified by a variable. in the comp.databases.filemaker forum.



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

Default Scripting Problem - Pasting into Field identified by a variable. - 04-03-2007 , 02:53 PM






Using Scriptmaker in Filemaker Pro 5.5, is it possible to paste a value into
a field where the field is identified by a variable contained in another
field. The Scripting only appears to allow me to paste into a specific field
that I identify by name.



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

Default Re: Scripting Problem - Pasting into Field identified by a variable. - 04-03-2007 , 03:40 PM







"George MacRae" <gmacrae (AT) cogeco (DOT) ca> schreef in bericht
news:0hyQh.55$Nm.46 (AT) read2 (DOT) cgocable.net...
Quote:
Using Scriptmaker in Filemaker Pro 5.5, is it possible to paste a value
into a field where the field is identified by a variable contained in
another field. The Scripting only appears to allow me to paste into a
specific field that I identify by name.

You can not change the field where your data is pasted, but you can use the
IF statement to capture all values and targets you need. Further I would
advise against copy-paste within a script. Since you use the pasteboard of
your system you can never be sure who or what else is using this, Which
might result in unexpected paste.

Keep well, ursus




Reply With Quote
  #3  
Old   
George MacRae
 
Posts: n/a

Default Re: Scripting Problem - Pasting into Field identified by a variable. - 04-03-2007 , 06:31 PM



"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote

Quote:
"George MacRae" <gmacrae (AT) cogeco (DOT) ca> schreef in bericht
news:0hyQh.55$Nm.46 (AT) read2 (DOT) cgocable.net...
Using Scriptmaker in Filemaker Pro 5.5, is it possible to paste a value
into a field where the field is identified by a variable contained in
another field. The Scripting only appears to allow me to paste into a
specific field that I identify by name.


You can not change the field where your data is pasted, but you can use
the IF statement to capture all values and targets you need. Further I
would advise against copy-paste within a script. Since you use the
pasteboard of your system you can never be sure who or what else is using
this, Which might result in unexpected paste.

Keep well, ursus
I was afraid of that. Fortunately this is a non-networked setup, so the
pasting is not a problem, but the inability to select the flield into which
to paste data will complicate my script bigtime. Thanks for the advice.




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.