Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Export/Import
Wed, Oct 26 2011 5:04 AMPermanent Link

Petter Topp

Hi.

I need to exchange data between separate installations of my project and it
it seems like a good ida to use the Export/Import methods of Dbisam.
The Export/Import is performed on the exact same dataobject and same
physical table - Both methods are performed with default values.
The exportfile looks fine, but when I try to Import, I get an exception on
one of the fields, saying that the value is not a valid integer....

One would think that an Export/Import of the same table would be straight
forward.
The only possible issue is that the first field of the table in question has
a value that is NULL, this field is also a keyfield.
Could it be an issue that due to the first value being NULL, the import is
out of sync?
Any suggestions?

Thanks
Petter
Dbisam 4.30
Wed, Oct 26 2011 7:10 AMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Petter,

Having a null as the first value shouldn't be an issue, even if its a key field.
The error might be being triggered by another integer field...
Can you please post an example exported file and the table structure ?


--
Fernando Dias
[Team Elevate]
Wed, Oct 26 2011 2:44 PMPermanent Link

Petter Topp

Hi Fernando.

I was preparing the files for you with my application, and now it
works....??
Need to do some more testing - what I experienced the first time may have
something to do whith the data in the table.

Petter

"Fernando Dias"  skrev i nyhetsmeldingen:
A65C6A79-F6A6-475D-B432-D66C2950324B@news.elevatesoft.com ...

Petter,

Having a null as the first value shouldn't be an issue, even if its a key
field.
The error might be being triggered by another integer field...
Can you please post an example exported file and the table structure ?


--
Fernando Dias
[Team Elevate]
Image