hsSetPrimaryKey: Set Primary Key of Database Table

View source: R/main.R

hsSetPrimaryKeyR Documentation

Set Primary Key of Database Table

Description

Sets fields with names given in vector keyFields as key fields of table tbl in MS ACCESS database mdb.

Usage

hsSetPrimaryKey(mdb, tbl, keyFields, dbg = FALSE)

Arguments

mdb

Full path to MS Access database file (*.mdb).

tbl

Name of table in which key fields are to be defined.

keyFields

(Vector of) key field name(s)

dbg

if TRUE, debug messages are shown


KWB-R/kwb.db documentation built on Oct. 1, 2023, 4:10 a.m.