Tips: ODBC & Access database Montana

Tips on using ODBC with Microsoft Access

Local Companies

Computer Port
406-883-6237
314 First Street East Suite 202
Polson, MT
Recco North America
(406) 883-1861
711 Main St
Polson, MT
Aether Group Llc
(406) 863-4834
100 2nd St E
Whitefish, MT
G T I Systems Integrators
(406) 652-7122
4281 Cedarwood Ln
Billings, MT
Cedar Mountain Software
(406) 549-0766
338 W Alder St
Missoula, MT
Click Here Designs, LLC
406-883-6237
314 First Street East Suite 202
Polson, MT
Concise Logic
(406) 572-3323
10 Jawbone Rd
Martinsdale, MT
Exdivio Solutions Inc
(406) 433-7800
Sidney, MT
Front Desk Software
(406) 443-1416
Helena, MT
Lonetree Communications
(406) 292-3594
Inverness, MT

provided by: 
Originally published at Internet.com


1. MS Access drivers (upto and including Access 97) are not thread safe.

2. Always make user your DoFieldExchange order is the same as the order of fields in the DB table. The class wizzard will occasionally change the order at you.

3. Don't use 16-bit Ints in your database. Only use Bytes or Longs (32-bit). The RFX_Short function actually uses SQL_LONG in the ODBC call. Most of the time this seems to work OK, but it will fail for paramaters. Also remember VC++ 5.0 ints are 32-bits.

4. Don't try and bind to fields you are passing in as paramaters. I.E. In the Access Query if you have a field you are compairing to a paramater, make sure the show row is not check for that column.

5. You can have Indexes with multiple fields besides the primary key to help speed up the DB, and help with Database integerity. To do this go into design view for the table, and select View->Indexes. at the bottom of the list enter a new index name, and then enter the names of the fields you wish to have in the index in the Field name colum in the next rows, leaveing index name cell blank Index Name    Field Name   Sort Order UserName      LastName     Accending               FirstName    Accending               MiddleInit   Accending Index2        Field1       Accending               Field2       Accending Index3        Field1       Accedning Index4        Field1       Accending ...

Read article at Internet.com site

Featured Local Company

Click Here Designs, LLC

406-883-6237
314 First Street East Suite 202
Polson, MT
http://www.clickheredesigns.com/

Click Here Designs, LLC has been creating professional websites from Polson since 1997. Our extensive portfolio is available on our website. We offer complete web development services, including search engine optimization, web site maintenance, and complete webmaster services. When in doubtClick Here.


Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML