Click here to Skip to main content
15,902,939 members
Home / Discussions / Database
   

Database

 
GeneralRe: Which Database to Use Pin
Eddy Vluggen19-Feb-11 1:13
professionalEddy Vluggen19-Feb-11 1:13 
GeneralRe: Which Database to Use Pin
Anubhava Dimri19-Feb-11 1:23
Anubhava Dimri19-Feb-11 1:23 
GeneralRe: Which Database to Use Pin
Eddy Vluggen19-Feb-11 1:56
professionalEddy Vluggen19-Feb-11 1:56 
GeneralRe: Which Database to Use Pin
Richard MacCutchan17-Feb-11 21:47
mveRichard MacCutchan17-Feb-11 21:47 
AnswerRe: Which Database to Use Pin
Eddy Vluggen17-Feb-11 7:21
professionalEddy Vluggen17-Feb-11 7:21 
QuestionOracle cursor Pin
anishkannan16-Feb-11 22:47
anishkannan16-Feb-11 22:47 
AnswerRe: Oracle cursor Pin
Wendelius17-Feb-11 0:31
mentorWendelius17-Feb-11 0:31 
QuestionUpdating a table from Excel Pin
Kyudos16-Feb-11 12:18
Kyudos16-Feb-11 12:18 
Our app gets info from a product database (MDB), and we have a database editor tool included in our package. Our thought there was to provide users with a way to maintain their DBs without having to have Office installed.

So far, so fine-by-us. However, some of our users want to be able to update their DBs from data in Excel (though if they have Excel, they should have access to Access no? And they could just do this directly? Anyway. Whatever.)

So, for the very small percentage of our users who are interested, I've added a Query window to our database editor app. It allows users to run SELECT, DELETE, UPDATE and INSERT queries (Yes I know the risks! Yes, some operations are transactionally protected!).

Behind my query window / data-bound grid is a CDaoRecordset (yes, I know it's old, and deprecated, but it works, and extricating DAO from the app is a lot more work than I have time for at the moment).

So the question is, can I write a query in my query window that can update / insert to my component table from an Excel source?

I'm thinking something along the lines of:

SELECT * INTO XLImport4 FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\test\xltest.xls', [Customers$])


But executing something like that, the app complains about an unrecognised FROM clause.

Any thoughts / suggestions are much appreciated.
AnswerRe: Updating a table from Excel Pin
Wendelius17-Feb-11 3:03
mentorWendelius17-Feb-11 3:03 
QuestionHow to change the payroll_2007_08connectionstring to payrollconnectionstring (dataset) without removing the fields in reports. Pin
sr15916-Feb-11 1:37
sr15916-Feb-11 1:37 
QuestionRollBack Process Pin
Anubhava Dimri15-Feb-11 22:24
Anubhava Dimri15-Feb-11 22:24 
AnswerRe: RollBack Process Pin
R. Giskard Reventlov15-Feb-11 22:37
R. Giskard Reventlov15-Feb-11 22:37 
AnswerRe: RollBack Process Pin
Wendelius16-Feb-11 9:37
mentorWendelius16-Feb-11 9:37 
Questioncombo box issue Pin
scorp_scorp15-Feb-11 17:59
scorp_scorp15-Feb-11 17:59 
AnswerRe: combo box issue Pin
Jörgen Andersson16-Feb-11 0:42
professionalJörgen Andersson16-Feb-11 0:42 
QuestionIs MS Access database based application will be portable in all Windows machine ? Pin
Nadia Monalisa15-Feb-11 9:07
Nadia Monalisa15-Feb-11 9:07 
AnswerRe: Is MS Access database based application will be portable in all Windows machine ? Pin
David Mujica15-Feb-11 9:36
David Mujica15-Feb-11 9:36 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
Nadia Monalisa15-Feb-11 9:49
Nadia Monalisa15-Feb-11 9:49 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
David Mujica15-Feb-11 9:58
David Mujica15-Feb-11 9:58 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
Luc Pattyn15-Feb-11 10:18
sitebuilderLuc Pattyn15-Feb-11 10:18 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
Nadia Monalisa15-Feb-11 10:20
Nadia Monalisa15-Feb-11 10:20 
AnswerRe: Is MS Access database based application will be portable in all Windows machine ? Pin
Luc Pattyn15-Feb-11 10:31
sitebuilderLuc Pattyn15-Feb-11 10:31 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
Eddy Vluggen16-Feb-11 1:59
professionalEddy Vluggen16-Feb-11 1:59 
GeneralRe: Is MS Access database based application will be portable in all Windows machine ? Pin
jschell16-Feb-11 9:11
jschell16-Feb-11 9:11 
AnswerRe: Is MS Access database based application will be portable in all Windows machine ? Pin
PIEBALDconsult15-Feb-11 10:47
mvePIEBALDconsult15-Feb-11 10:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.