I really would like an enhancement of the import function
1.) I want to make a choice between:
import records
update records (with a matching field)
(The way it is done in Filemaker)
2.) If I now choose (in the import dialog) a table and match the names and than change to another table and set some fields there, than the fields of the previous table ar gone. So I can only import in one table at the same time.
I really would like to do this in multiple tables at ones!
3.) Is there any news, when this whole circus can be done by methods?
(setting fields, import order, etc..)
1> this would be very heavy, shouldn’t be done with thousands of records!!
2> so you have a dump in one file with 10 column for table X and 15 column for table Y. ? Why not just first do the table X. Start import, go back and do table Y? That is calculated in time almost the same thing.
#1 is something that I also miss dearly from filemaker. I am going to have to research 3rd party tools for this until it is added into Sevoy. I’m told Navicat offers this but would appreciate any other suggestions. I’m using mySQL as the db.
I would suggest the following, similar to above, that I had to use.
As Servoy is very slow at importing and it can’t really cope with thousands of records easily, I use Interactive SQL (if you are using the default Sybase install)
Import updated records into a temp file with the same PK and then use the ‘UPDATE’ SQL command to set each field in your real file to the temp field using the PKs as a match. The update statement might be a bit long if you have a lot of fields, but it should all happen a lot faster than a Servoy loop will.