Click here to Skip to main content
15,917,808 members
Home / Discussions / Database
   

Database

 
QuestionUpdating a table from Excel Pin
Kyudos16-Feb-11 12:18
Kyudos16-Feb-11 12:18 
AnswerRe: Updating a table from Excel Pin
Wendelius17-Feb-11 3:03
mentorWendelius17-Feb-11 3:03 
Hi,

It's been years since I last used DAO but few things come in mind:
- The statement executed using CDaoRecordSet is (if I recall correctly) parsed by the provider. This actually means that your DAO provider should be able to understand the SQL syntax you use, but that's not possible (since you're using T-SQL syntax)
- Unfortunately CDaoRecordSet doesn't have the capability to pass the statement to the server as-it-is
- You could try to use CDaoQueryDef instead and use the passthrough option so that the provider won't interfere. After all you're not trying to get any results back to the client but to populate a table in the database

Also keep in mind that in your statement you're referring to a file which resides on the database server. Meaning that the file xltest.xls must reside in directory C:\test at the database server.
The need to optimize rises from a bad design.My articles[^]

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 
QuestionStrnge WHERE syntax Pin
Mel Padden15-Feb-11 6:25
Mel Padden15-Feb-11 6:25 
AnswerRe: Strnge WHERE syntax Pin
Chris Meech15-Feb-11 9:07
Chris Meech15-Feb-11 9:07 
GeneralRe: Strnge WHERE syntax Pin
Mel Padden15-Feb-11 9:16
Mel Padden15-Feb-11 9:16 
QuestionRe: Strnge WHERE syntax Pin
Chris Meech15-Feb-11 9:26
Chris Meech15-Feb-11 9:26 
AnswerRe: Strnge WHERE syntax Pin
Mel Padden15-Feb-11 9:44
Mel Padden15-Feb-11 9:44 
AnswerRe: Strnge WHERE syntax Pin
jschell16-Feb-11 9:18
jschell16-Feb-11 9:18 
QuestionADO and memory limit? "Description: Not enough storage is available to complete this operation." Pin
devvvy14-Feb-11 15:42
devvvy14-Feb-11 15:42 

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.