Using Win32 functions in Visual FoxPro Image Gallery
Extensible Storage Engine (ESE, Jet Blue)
JetAddColumn
JetBeginSession
JetBeginTransaction
JetCloseDatabase
JetCloseTable
JetCommitTransaction
JetCreateDatabase
JetCreateInstance
JetCreateTable
JetDeleteTable
JetDetachDatabase
JetEndSession
JetGetColumnInfo
JetGotoBookmark
JetInit
JetMove
JetOpenTable
JetPrepareUpdate
JetRetrieveColumn
JetRollback
JetSetColumn
JetTerm
JetUpdate
Code examples:
Extensible Storage Engine class library
JetCreateTable
..msdn    Add comment     W32 Constants      Translate this page
Creates an empty table in an ESE database.
Code examples:
Extensible Storage Engine class library
Declaration:
JET_ERR JET_API JetCreateTable(
  __in          JET_SESID sesid,
  __in          JET_DBID dbid,
  __in          const tchar* szTableName,
  __in          unsigned long lPages,
  __in          unsigned long lDensity,
  __out         JET_TABLEID* ptableid
);
FoxPro declaration:
DECLARE INTEGER JetCreateTable IN esent;
    INTEGER sesid,;
    INTEGER dbid,;
    STRING szTableName,;
    LONG lPages,;
    LONG lDensity,;
    INTEGER @ptableid
Parameters:
sesid
The database session context to use.

dbid
The database identifier to use.

szTableName
The name of the index to create.

lPages
The initial number of database pages to allocate for the table.

lDensity
The table density, in percentage points.

ptableid
On success, the table identifier is returned in this field. The value is undefined if the API does not return JET_errSuccess (0).

Return value:
Returns the JET_ERR datatype with one of predefined return codes.
Usage:
LOCAL nTable
nTable=0

THIS.errorno = JetCreateTable(THIS.jetsessionid,;
    THIS.jetdatabaseid,;
    m.cTablename, 0,0, @nTable)
My comment:
JetCreateTable creates a table which does not contain any columns. To add columns, see JetAddColumn.

The table should usually be closed with JetCloseTable.


Word Index links for the JetCreateTable :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-11 16:54:19
Modified: 2008-01-11 16:58:01
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.224.197.86)
12 sec.Function: 'SendMessage'
26 sec.Function: 'GetComputerNameEx'
37 sec.Function: 'GdipCreateBitmapFromGdiDib'
50 sec.Function: 'LPtoDP'
1.07 min.Function: 'DrawDibDraw'
1.27 min.Function: 'CreateMD5SSOHash'
1.45 min.
Function group: 'Dynamic-Link Library'
1.67 min.Function: 'GetEnvironmentVariable'
1.85 min.Function: 'WNetConnectionDialog1'
2.05 min.Function: 'waveInStart'
Google
Advertise here!