Re: ADOX - Import type library into Delphi 2007
- From: Pontus Berg <pontus@xxxxxxxxxxxxxxxxx>
- Date: Tue, 20 May 2008 23:58:44 +0200
Pontus Berg skrev:
Howdy!
I asked the same question more than two years ago, and give it a new shot here as I still have got no answers I have been able to use.
I want to modify an Access database at runtime and this takes ADOX (not only ADO but also ADOX so you can f.ex. access the structure of the data and not only the data itself).
Importing a type library is very well described at many informative sites. Take this brilliant example:
http://delphi.about.com/od/database/l/aa072401a.htm
Now; How do I do that in Delphi 2007? It's totally different and renaming is not one of the options.
I might add that I have been given the suggestion to rename the MDB file, create a new table (according to the definition in the EXE), create a new table and them migrate the data from the old file to the new. This seemed like a massively bigger job than adjusting the existing database.
However, I still need to be able to do the same thing - adding columns to a database so without successful import of the ADOX type library and usage of the same, then I still need to cover a bit of ground before I am there...
/Pontus
.
- References:
- ADOX - Import type library into Delphi 2007
- From: Pontus Berg
- ADOX - Import type library into Delphi 2007
- Prev by Date: Re: ADOX - Import type library into Delphi 2007
- Next by Date: Re: ADOX - Import type library into Delphi 2007
- Previous by thread: Re: ADOX - Import type library into Delphi 2007
- Next by thread: Re: Importing ADOX library - How?
- Index(es):
Relevant Pages
|