Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing A Step In A Basic Script???

Status
Not open for further replies.

gbenezra

IS-IT--Management
Dec 30, 2000
13
0
0
CA
Hello,

I am a novice at FileMaker but am slowly finding out how powerful a program it really is.
I was wondering if someone could help me with a script which does not work competely...I believe I am missing a step?
Here is what I want to do:
I want to run a script which will auto paste the current date in a field when I do a certain search.
Unfortunately it only pastes the current date in the first record of the find...I need it to paste in all the records found
Here is my script:
Enter Find Mode []
Paste Literal[Select,"field","="]
Perform Find []
Paste Current Date [Select,"Field"]
Go To Layout ["Field"]

Thank You
Gary
 
If I understand you correct :

you want to paste the current date into a field in all the records from a find set ?

If that's the case, make a field 'Today', date, global.

Add a step at your script after the find statement :

set field - Today - (specify - status(currentDate).

Or am I missing something ?

HTH

JW
 
Actually just changing the field to Global did what I was looking for...thank you very much

GB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top