diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2016-10-13 16:54:15 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2016-10-13 17:00:10 +0200 |
commit | 3cac16941b775e02159af75d9b390b7dcc08d7ec (patch) | |
tree | c8d8fffc5509df8675b67183300f39eb83871766 /wizards/source/access2base/Field.xba | |
parent | 5f55b7d00a70db5dddaa0e74ccef52c021770f95 (diff) |
Access2Base - CopyObject applied on tables belonging to different databases
So far, only tables belonging to the SAME database could be copied.
Copying tables between databases from different sources (HSQLDB 1.8/2.3, MySQL, PostGres, Sqlite)
is admitted.
Field type conversions are in this case based on empiric rules.
A case study based on getMetadatInfo() is available on request.
Change-Id: Iae4ea7c4df4799cde3c8f973746513bad56246d8
Diffstat (limited to 'wizards/source/access2base/Field.xba')
-rw-r--r-- | wizards/source/access2base/Field.xba | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/source/access2base/Field.xba b/wizards/source/access2base/Field.xba index 5b94ba2f8bee..d08bcfbd37d6 100644 --- a/wizards/source/access2base/Field.xba +++ b/wizards/source/access2base/Field.xba @@ -151,7 +151,7 @@ Dim iChunkType As Integer Select Case Column.Type ' DOES NOT WORK FOR CHARACTER TYPES ' Case .CHAR, .VARCHAR, .LONGVARCHAR, .CLOB ' iChunkType = vbString - Case .BINARY, .VARBINARY, .LONGVARBINARY, .BLOB + Case .BINARY, .VARBINARY, .LONGVARBINARY, .BLOB, .CHAR ' .CHAR added for Sqlite3 iChunkType = vbByte Case Else Goto Trace_Error |