Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Seeking example code

I am looking for a simple example of Excel opening an MS Access database,
finding a row by the primary key, writing a value to one of the fields and
then closing the database.

Does anyone have such an example and/or know of where an example might be?

TIA.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Seeking example code

I don't think this link has that specific example, but it has some good
background and "points the way"

http://www.erlandsendata.no/english/...php?t=envbadac
Mr. Erlandsen's site on ADO.

--
Regards,
Tom Ogilvy

"Karl" wrote in message
...
I am looking for a simple example of Excel opening an MS Access database,
finding a row by the primary key, writing a value to one of the fields and
then closing the database.

Does anyone have such an example and/or know of where an example might be?

TIA.





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Seeking example code

"Tom Ogilvy" wrote ...

I am looking for a simple example of Excel opening an MS Access database,
finding a row by the primary key, writing a value to one of the fields and
then closing the database.


I don't think this link has that specific example, but it has some good
background and "points the way"

http://www.erlandsendata.no/english/...php?t=envbadac
Mr. Erlandsen's site on ADO.


The OP requires the UPDATE sql syntax e.g.

UPDATE MyTable SET MyDataCol = 'New Value' WHERE MyKeyCol = 55;

Jamie.

--
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
seeking help angel Excel Worksheet Functions 2 July 10th 08 07:48 AM
Seeking the character code for entering a Hard Return in a cell? JKing Excel Discussion (Misc queries) 2 June 4th 08 11:06 PM
Seeking someone to look over my work DoctorMyear Excel Discussion (Misc queries) 0 June 6th 06 11:53 PM
seeking of array Tomek S Excel Worksheet Functions 6 April 14th 06 01:17 PM
Seeking help from a GURU usf97j4x4 Excel Worksheet Functions 5 January 11th 06 05:17 PM


All times are GMT +1. The time now is 01:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"