Skip to content

Commit ff61ae3

Browse files
committed
docs update
1 parent f2d0627 commit ff61ae3

16 files changed

+86
-13
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ VBA CSV interface is the most complete, and open source, CSV/TSV VBA parser libr
1414
* __Flexible__. Import only certain range of records from the given file, import fields (columns) by indexes or names.
1515
* __Dynamic Typing support__. Turn CSV data field to a desired VBA data type.
1616
* __Data sorting__. Sort CSV imported data using the hyper-fast [Yaroslavskiy Dual-Pivot Quicksort](https://web.archive.org/web/20151002230717/http://iaroslavski.narod.ru/quicksort/DualPivotQuicksort.pdf) like Java.
17+
* __Microsoft Access compatible__. The library has a version for those who feel in comfort working through DAO databases, [download from here](https://github.com/ws-garcia/VBA-CSV-interface/blob/master/src/Access_version.zip).
1718
* __RFC-4180 specs compliant__.
1819

1920
## Getting started
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: DumpToAccessTable
3+
parent: Methods
4+
grand_parent: API
5+
nav_order: 3
6+
---
7+
8+
# DumpToAccessTable
9+
{: .d-inline-block }
10+
11+
New
12+
{: .label .label-purple }
13+
14+
Dumps the data from the current instance to a Microsoft Access Database (.accdb).
15+
{: .fs-6 .fw-300 }
16+
17+
---
18+
19+
>⚠️**Caution**
20+
>{: .text-grey-lt-000 .bg-green-000 }
21+
>This method is only available in the [Access version of the CSVinterface.cls](https://github.com/ws-garcia/VBA-CSV-interface/blob/master/src/Access_version.zip) module.
22+
{: .text-grey-dk-300 .bg-yellow-000 }
23+
24+
## Syntax
25+
26+
*expression*.`DumpToAccessTable`*(dBase, tableName, \[fieldsToIndexing\])*
27+
28+
### Parameters
29+
30+
<table>
31+
<thead>
32+
<tr>
33+
<th style="text-align: left;">Part</th>
34+
<th style="text-align: left;">Description</th>
35+
</tr>
36+
</thead>
37+
<tbody>
38+
<tr>
39+
<td style="text-align: left;"><em>dBase</em></td>
40+
<td style="text-align: left;">Required. Identifier specifying a <code>DAO.Database</code> object variable representing the output database.</td>
41+
</tr>
42+
<tr>
43+
<td style="text-align: left;"><em>tableName</em></td>
44+
<td style="text-align: left;">Required. Identifier specifying a <code>String</code> Type variable representing the output database table name.</td>
45+
</tr>
46+
<tr>
47+
<td style="text-align: left;"><em>fieldsToIndexing</em></td>
48+
<td style="text-align: left;">Optional. Identifiers specifying a <code>Variant</code> Type variables representing the fields of the table in where indexing is required.</td>
49+
</tr>
50+
</tbody>
51+
</table>
52+
53+
### Returns value
54+
55+
_None_
56+
57+
>📝**Note**
58+
>{: .text-grey-lt-000 .bg-green-000 }
59+
>Before dump data, is required to make a call to the `ImportFromCSV` or `ImportFromCSVstring` method.
60+
{: .text-grey-dk-300 .bg-grey-lt-000 }
61+
62+
See also
63+
: [ImportFromCSV method](https://ws-garcia.github.io/VBA-CSV-interface/api/methods/importfromcsv.html), [ImportFromCSVstring method](https://ws-garcia.github.io/VBA-CSV-interface/api/methods/importfromcsvstring.html).
64+
65+
---
66+
67+
## Behavior
68+
69+
If a table named *tableName* already exist in the database, the operation is aborted. User can specify the fields for create indexes by name or by absolute position through the *fieldsToIndexing* parameter. When the *fieldsToIndexing* parameter is not set, the data is dumped into the database table without indexing more fields than the record position.
70+
71+
[Back to Methods overview](https://ws-garcia.github.io/VBA-CSV-interface/api/methods/)

docs/api/methods/dumptoarray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: DumpToArray
33
parent: Methods
44
grand_parent: API
5-
nav_order: 3
5+
nav_order: 4
66
---
77

88
# DumpToArray

docs/api/methods/dumptojaggedarray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: DumpToJaggedArray
33
parent: Methods
44
grand_parent: API
5-
nav_order: 4
5+
nav_order: 5
66
---
77

88
# DumpToJaggedArray

docs/api/methods/dumptosheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: DumpToSheet
33
parent: Methods
44
grand_parent: API
5-
nav_order: 5
5+
nav_order: 6
66
---
77

88
# DumpToSheet

docs/api/methods/exporttocsv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ExportToCSV
33
parent: Methods
44
grand_parent: API
5-
nav_order: 6
5+
nav_order: 7
66
---
77

88
# ExportToCSV

docs/api/methods/getdatafromcsv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: GetDataFromCSV
33
parent: Methods
44
grand_parent: API
5-
nav_order: 7
5+
nav_order: 8
66
---
77

88
# GetDataFromCSV

docs/api/methods/guessdelimiters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: GuessDelimiters
33
parent: Methods
44
grand_parent: API
5-
nav_order: 8
5+
nav_order: 9
66
---
77

88
# GuessDelimiters

docs/api/methods/importfromcsv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ImportFromCSV
33
parent: Methods
44
grand_parent: API
5-
nav_order: 9
5+
nav_order: 10
66
---
77

88
# ImportFromCSV

docs/api/methods/importfromcsvstring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ImportFromCSVstring
33
parent: Methods
44
grand_parent: API
5-
nav_order: 10
5+
nav_order: 11
66
---
77

88
# ImportFromCSVstring

0 commit comments

Comments
 (0)