Sign in to follow this  
Followers 0

Strange Convert Behavior

2 posts in this topic

Hi - 


I have a single file runtime solution, and working on an upgrade that requires conversion from pre-FMP12 format.  I'm using the Convert File script step.  I've run into something very strange.  My solution uses it's own file extension  .fhc.


So I've set up the Convert step with no dialog and with a specified source file - namely 'fhcm.fhc.  The first several times I tried this, the output file was named fhcm.fmp12 - as expected -- and the original file was left unchanged, since I specified no dialog.  (It does not get changed to a fp7 file extension.  


Somewhere along the way, the Convert File step started naming the output file FHCM #, where # is a digit, starting with 0 and incrementing if I do this multiple times.  It also changes the lowercase to upper case.


So instead of naming the converted file fhcm.fmp12 (which it had done at first), I now end up with a converted file named FHCM 0.fhc or FHCM 1.fhc, etc.


I can't for the life of me figure out what changed nor can I find any documentation of when or why it would do this.


Any thoughts?




Share this post

Link to post
Share on other sites

I think I've figured this out, and it appears to be a genuine bug - or else I missed the documentation.  It seems that runtime behaves differently when using the Convert File script step.  Documentation says converted file will get fmp12 extension, but when I run from runtime, with dialog turned off, it adds a space and digit to the filename but does NOT change extension.  Seem to be very consistent.  

Would be great if anyone else can test this.

Share this post

Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Similar Content

    • By bioplasma
      This is one of the hardest thing I been trying to acomplish, I want to transform the contacts module into a Donors module for our blood bank.
      I have transform most of the fields already to match the donor information we will need. However I want each donor to show in a portal all the units or (products) associated to that donor.
      Example: 1 Donor can donate blood every 56 days 1 unit (which has a serial number associated to it) 
      I want each donor to show all the products or units associated to him.
      Im sure this might be something really simple to some of you so any help will me much appreciated
      Thank you in advance for all the help  
    • By AntoineD
      I try to put in a container an audio file with the text pronounced by FM from a text field.
      As I didn't see how to do it from FM, I tried to build my first Perform AppleScript [] using the terminal command "Say"
      On the terminal : (say "hello") works fine.
      and (say "hello" -o filename.aiff) => creates a file with the sound "hello".
      From filemaker, Perform AppleScript ["say \"hello\”"] : make the Mac pronounce correctly.
      But I can't run :  Perform AppleScript ["say \"hello\” -o filename.aiff"]
      I have a error message "Identificator can't be after identificator".
      I couldn't find anyway out.
      Does any of you have an idea ? 
    • By bioplasma
      Recently i change my office PC to a Mac Laptop since is much more accessible for me. After getting Filemaker 12 for it, I try running the copy I have of FM starting point and this what happens.
      I will appreciated any help I can get to resolve this 
      Thank you

    • By Ryan Gardner
      Hi... this may be in the wrong category, and I apologise in advance...
      Basically, I have been using the Invoice starter solution for around a year to generate and record invoices for my work...
      I have customised this a fair amount, and pretty much got it working as I would like. Having said this though, I have never changed the Invoice ID function. At the moment my invoices are automatically generating ID's as single numbers.
      Instead of my invoice ID's just being a single number, I have decided to add a prefix to this.
      I've done this successfully, and when I now create a new invoice, the id generated looks something like: RGINV0027
      What I can't figure out though, is how do I change the invoice ID's of the 20+ invoices that I have already generated in the software? Cant figure out how to do this.
      I want all of my previous invoices to follow this format of id (RGINV0000)
    • By shevyshevy
      I recently imported records from an excel sheet into my filemaker solution. I just noticed that the dates in the excel sheet were entered in this format  1996-04-19
      and as a result, all my date calculations are not working. For example, the Age and other functions. Manually changing the date to 4-19-1996 resolves it. 
      Is there a way i can do this without manually going to each record? because there are a lot of records to deal with.. 
      Thanks for your anticipated response