473,549 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can New fields be added to Access DB using System.Data?

Siv
Hi,

I would like to add some functionality to an existing VB.NET 2003
application so that I can add new fields to the application's database (MS
Access mdb), rather than having to get the users to return their data files
for conversion. The application is run on standalone PCs that are not
connected to any network other than the Internet. The current installation
uses System.Data and I would prefer not to have to get the users to install
ADOX. The majority of users don't have the MS Access application installed
so I can't use COM to control MS Access and do it that way.

Is there a way to do it or must I use ADOX?

--
Siv
Martley, Near Worcester, UK.
Nov 23 '05 #1
2 973
Hello

you can add , delete columns , indexes with DDL sql ( i did a project
like this on a Access 2000 DB )

just execute your DDL statement on the oledb command object

regards

Michel Posseth
"Siv" <ms**********@r emoveme.sivill. com> schreef in bericht
news:eY******** *****@TK2MSFTNG P15.phx.gbl...
Hi,

I would like to add some functionality to an existing VB.NET 2003
application so that I can add new fields to the application's database (MS
Access mdb), rather than having to get the users to return their data
files for conversion. The application is run on standalone PCs that are
not connected to any network other than the Internet. The current
installation uses System.Data and I would prefer not to have to get the
users to install ADOX. The majority of users don't have the MS Access
application installed so I can't use COM to control MS Access and do it
that way.

Is there a way to do it or must I use ADOX?

--
Siv
Martley, Near Worcester, UK.

Nov 23 '05 #2
Siv
Michael,
Thanks, on reflection I ought to have known that.
--
Siv
Martley, Near Worcester, UK.
"m.posseth" <po*****@planet .nl> wrote in message
news:eY******** ******@TK2MSFTN GP09.phx.gbl...
Hello

you can add , delete columns , indexes with DDL sql ( i did a project
like this on a Access 2000 DB )

just execute your DDL statement on the oledb command object

regards

Michel Posseth
"Siv" <ms**********@r emoveme.sivill. com> schreef in bericht
news:eY******** *****@TK2MSFTNG P15.phx.gbl...
Hi,

I would like to add some functionality to an existing VB.NET 2003
application so that I can add new fields to the application's database
(MS Access mdb), rather than having to get the users to return their data
files for conversion. The application is run on standalone PCs that are
not connected to any network other than the Internet. The current
installation uses System.Data and I would prefer not to have to get the
users to install ADOX. The majority of users don't have the MS Access
application installed so I can't use COM to control MS Access and do it
that way.

Is there a way to do it or must I use ADOX?

--
Siv
Martley, Near Worcester, UK.


Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1657
by: Bob Alston | last post by:
Anyone have experience in building Access apps with user definable fields? (Not the kind of fields where you just let the user define the label for a pre set number of predefined fields.) I recently saw an app that uses an MDB database and allows the user to define totally new fields. The app maintains a table of the data fields. When a...
24
8469
by: Donald Grove | last post by:
I want to populate an array with values from an ado recordset (multiple rows) I use the absolute position of the cursor in the recordset to define the row of my array to be populated. I have a workaround for lack of a way to define the ordinal position of a field (incrementing a counter variable), but it feels so primitive: dim Fld as...
9
2514
by: Fish Womper | last post by:
I am at best a part time developer of Access databases. I use Access 2.0, as this is all my employer has on its computers. Even so, to use this ancient version requires a fairly convoluted installation procedure on each PC on which it is used. I am self-taught from the help files that come with Access 2.0 and from painful experience. I've...
7
2102
by: WXS | last post by:
Vote for this idea if you like it here: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=5fee280d-085e-4fe2-af35-254fbbe96ee9 ----------------------------------------------------------------------------- This is a consortium of ideas from another thread on topic...
0
7480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7751
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7511
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7840
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6088
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5119
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1973
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1087
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.