Restored from previous forum. Originally posted by Bernard.
I'm looking for informations about MSJET40.DLL to try to make an database application.
Is someone can help me ?
BDu
Database
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Iontichy.
Is this a access database?
---------------
star traveler
If i'm not completly wrong, you can create a new ODBC connection with the Jet-drivers (control panel / ODBC) to get a database connection.I'm looking for informations about MSJET40.DLL to try to make an database application.
Is this a access database?
---------------
star traveler
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Iontichy.
Is it usefull to convert the DateTime column to a string in the query?
Like this:
---------------
star traveler
Is it usefull to convert the DateTime column to a string in the query?
Like this:
Code: Select all
select firstname,lastname,CStr(birthday) as birthday
from t_person
---------------
star traveler
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Iontichy.
Then you have to use the ODBC API functions.
But this is VERY complex.
i.e.:
SQLRETURN SQLColAttribute_ (
SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber,
SQLUSMALLINT FieldIdentifier,
SQLPOINTER CharacterAttributePtr,
SQLSMALLINT BufferLength,
SQLSMALLINT * StringLengthPtr,
SQLPOINTER NumericAttributePtr);
---------------
star traveler
Then you have to use the ODBC API functions.
But this is VERY complex.
i.e.:
SQLRETURN SQLColAttribute_ (
SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber,
SQLUSMALLINT FieldIdentifier,
SQLPOINTER CharacterAttributePtr,
SQLSMALLINT BufferLength,
SQLSMALLINT * StringLengthPtr,
SQLPOINTER NumericAttributePtr);
---------------
star traveler
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm