Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8045 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi There

Being a newbie to FM - I have a question - regarding importing records from a text file.

I have a Time Sheet System that loads text files each day.

I want to create a script that will use a calculated file name search for tat file in a designated folder and then proceed to upload that data automatically each day into FM.

Can some one show me how this could be done. Thanks.

Regards

Michael

Posted

Well, if you know the possible values that can be computed, AND there's not too many of them, then you can compute the value and run through an If series to open the corresponding file. For example, if you have a directory of years, in each a directory of months, in each files named by the day number... then you could compute the date, break it into components, and then run it through three sets of Ifs, the largest being 31 Ifs. Ugly, but possible.

Posted

... or simplify it orders of magnitude by only having *one* import file name.

This topic is 8045 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.