Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Export a Table To an Access Database?
Message
De
22/01/2001 15:53:57
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
22/01/2001 15:36:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00463763
Message ID:
00466956
Vues:
18
>Using the default Access DSN in Windows?

>I've thought of that but how are you error-trapping/querying the Access->specific Field properties, such as DecimalPlaces?

Right now my error trapping is minimal. I do have some in the VB code that traps errors during the creation process but it is pretty basic... puts a general error message and the message from the error number. As of yet does not offer decent recovery. I've pretty much just warned of possible problems in the notes for the program. Cowards way out! < vbg >

I also look for some types of things before I send the info to the dll file. Stuff like.. to many fields, use of General fields ( I don't even try to do them ), strange characters in name, use of reserved words in names,etc. The last one I found out the hard way. In VFP you can (not a good practice but you can) have a field called "date". I found that this would crash the table creation process in my dll.

In the VB dll I'm using DAO to provide some backward compatability with Access 97 files. I could not get any of the ADO created files to work with 97. Could have been my problem but I just gave up and used DAO. Not as "sexy" as ADO but it works.

I will probably add an option pretty soon to use stuff specificaly for the creation of Access 2000 files.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform