×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

File Maker Pro 9 thread295-1400681

File Maker Pro 9 thread295-1400681

File Maker Pro 9 thread295-1400681

(OP)
Question referencing previously closed post:
thread295-1400681: Date Calc Question

The original question was is there a way to get the dates in between a date start and date end fields. The response was great and demonstrated how to get the results to show up in a field as a list. I was wondering how to take it a step further- I'd like to take the results and insert a row for each result that inserts all same data from row for each new date calculated.
Example:
id: 1
start date: 11/5/2007
end date: 11/10/2007
catagory: Ror
nights: 5
So the database will show all of the above plus each date in the range something like:
Row 1
id: 1
start date: 11/5/2007
end date: 11/5/2007
catagory: Ror
nights: 5
Date 1: 11/5/2007
row 2
id: 1
start date: 11/5/2007
end date: 11/5/2007
catagory: Ror
nights: 5
date 2: 11/6/2007
row 3
id: 1
start date: 11/5/2007
end date: 11/5/2007
catagory: Ror
nights: 5
date 2: 11/7/2007
and so on and so forth and also have the ability to delete the rows as the date range changes.

How could I modify the script to do that?

Thanks for your help!




 

RE: File Maker Pro 9 thread295-1400681

It is not a script, it is a Custom Function.

You need a calculation field to parse out each row from the returned value and add the fields you want, separated by a ¶.

Or you could use a recursice calculation if you first store how many rows the CF returns and concatenate your fields.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close