Sign in to follow this  
Followers 0
mbarrett65

importing from excel; match field required for new record

2 posts in this topic

I'm setting up an excel file for import to "update matching records in found set" records and selected the option to "add remaining data as new records." My match field is the sys_id. What I"m finding is filemaker won't add the remaining data as new records unless there's a value in the sys_id match field. Normally, that field is set to auto-enter a serial number in sequence. I would prefer not to create a sys_id value in the excel in case someone has created the same one from within filemaker.

Any reason Filemaker is requiring data in the match field to create a new record with the remaining data?

Thanks for any help and advice.

-Mo

Share this post


Link to post
Share on other sites

If I understand this correctly, you should create a calculation field = sys_id and use it as the match field. Then your new records can have any arbitrary value in their sys_id cell. Make sure to apply auto-enters during the import.

I am assuming here that the existing records do have a sys_id value and that it is the correct one - otherwise your question makes no sense.

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 PedroAlex
      Good afternoon everyone.
      I need to open a .xlsx file by pressing a button
      I have tried with a script, where I establish a variable
      $ filename = e: \ Works \ Josram \ Presup \ AAVSA \ slopes 345 7 Apr 14.xlsx
      And using the command "Send DDE Execute"
      The service name = "c: \ Program Files \ Microsoft Office \ Office16 \ Excel.exe"
      But when you run it, it just does nothing
      Can someone tell me that I'm doing wrong?
      I don't need to import o export a file. 
      I only need, when i click a button Excel runs and open the .xlsx file
      Thanks in advance
      regards
      Pedro
    • By 123
      Hey,
      I have a Tab-Separated Text File which I want to import to a database that I just created in FileMaker Pro 15. The text file essentially is a log of events, for instance, one line describes an order, another line describes a payment that has been made. The problem is that I somehow need to import all these lines into different tables. I want all lines in the log file that describe a payment in a table called Payments, and all lines that describe an order in a table called Orders for example.
      I'm just starting out with FileMaker so forgive me if there is an obvious solution that I'm not aware of. I have a background in software development, so the only solution that I can think of is writing a small program myself that does all the parsing for me and creates separate text files that contain all the orders and payments and other events that have been logged in the file. Then I could simply import each file into the table I need all the data in. 
      So to sum everything up, my main question is if there is a way to somehow parse the text file before importing it. I know that you can create custom scripts in FileMaker but I'm not sure if what I need to do can be done just with that.
      Thanks in advance,
      Mike
    • By Peter Barfield
      Not sure if this is the relevant area however, I couldn't seem to find a scripting section
      What I would like to do and I have had no success so far is the following scenario.
      I have database which stores references to files in container field located on a folder on a shared computer.
      What I want to do is have a script which when run populates the database with the names of those files located in the folders on the computer and create a new record for those not already present and if they are already present ignore the import.
      I have tried a test script which gets the documents path and loops through each record however I get file unknown when debugging and that is as far as it goes.
      The script in no one handles the above scenario of omitting and inserting only new docs it was just a test to see if it was possible to import via this method. From what I can see the script is asking for a particular filename and if it can't be found it throws the error. That though is no good as essentially the filename is in a sense unknown at the time of import and that is what the purpose of the script would be i.e. too find those files and create a new record with reference only in a container.
      Documentation on this is either non existent or sparse and confusing to say the least (or at least that's how I find it)
      Any enlightenment would be appreciated.
       
    • By BugsyOhar
      Over the past ten years our organization have been using a PO database solution to store all purchasing information. Each year
      the layout would change to illustrate which year it represents. We would like to merge each of these databases into one for better
      searching capabilities. Is there an easy way to accomplish this task while still maintaining data integrity? Thank you!
    • By Bartek
      Hi There,
      First of all many thanks to creators for amaizng plugin.
      What is the syntax for inserting images to excel?
      ScribeDocWriteValue ( “addImage()”; image ; page ; x location ; y location ; height ; width ) 
      Do not work for xlsx with error about invalid cell name (first parameter is function adn for excel it seams it is not recognized) for pdf works fine as in demo expample
      I tried standard syntax for excel where first parameter is table cell and second is image in container but it do not insert the image.
      Any suggestions?
      Thanks in advance.
      Bart