Forum Discussion
- SuryaExpertQrew Assistant CaptainAs long as you have the primary key field in the xl that you are importing from, quickbase will only insert/update. If you want to only insert, I would consider removing that column from the XL.
- MehdiMaskootQrew TraineeRemove the PK from my XL??? :)))
How does QB know the value of my PK field then???
I am receiving the XL from a customer and it has thousands of records that I don't know what records are new. I guess QB needs to redesign its import then. - QuickBaseCoachDQrew CaptainThis can be done with some extra setup.
You can import your data into a temporary import table where the Key field is your own PK. The based on a relationship where that is the parent make a relationship to the real data field based on a reference field on the child side of the PK field.
Then make a summary total of the # of existing data records. Then either using a saved table to table import or a manual "copy these records to another table:, filer the record based on # of existing data records = 0.
That way it will never import and update existing records.
When you get the next XL file, you purge the temporary import scratch file data and start again fresh. - MehdiMaskootQrew TraineeYes, I was able to do it by creating an Action.
But, why QB team doesn't simply provide a checkbox to ask if user wants to also update or he/she only wants to insert.
They are checking for existing records anyways. They could simply ignore the existing records based on the user request and it would be even much faster to only insert.
Thanks anyways.