Click here to Skip to main content
15,887,322 members
Home / Discussions / C#
   

C#

 
Questionupdate query in windows application with ms access as database Pin
J.K.Sharma23-Jun-09 23:20
J.K.Sharma23-Jun-09 23:20 
AnswerRe: update query in windows application with ms access as database Pin
Sk9323-Jun-09 23:26
Sk9323-Jun-09 23:26 
GeneralRe: update query in windows application with ms access as database Pin
Robert_Pan24-Jun-09 0:12
Robert_Pan24-Jun-09 0:12 
GeneralRe: update query in windows application with ms access as database Pin
J.K.Sharma24-Jun-09 21:41
J.K.Sharma24-Jun-09 21:41 
GeneralRe: crystal report problem Pin
J.K.Sharma24-Jun-09 21:48
J.K.Sharma24-Jun-09 21:48 
GeneralRe: crystal report problem Pin
Sk9324-Jun-09 21:53
Sk9324-Jun-09 21:53 
GeneralRe: crystal report problem Pin
J.K.Sharma24-Jun-09 22:08
J.K.Sharma24-Jun-09 22:08 
AnswerRe: crystal report problem Pin
Sk9324-Jun-09 22:36
Sk9324-Jun-09 22:36 
Try something like this:

foreach ([forgot object name] tbl in CRReport.Database.Tables)
{
   tbl.SetLogOnInfo("",dbLocation,dbUser,dbPass)
   tbl.Location = dbLocation
   tbl.SetDataSource(dbLocation)
}


I've not got CR installed here, so can't double check the function and object names,
but I believe that will redirect your database source for you Smile | :)

The first parameter of "SetLogOnInfo" i think is a connection string, but I don't think you need this when reading from Access.. I've only ever used SQL Server, so I will say this is all just guess work WTF | :WTF:

Anyways, hope it works for you! Cool | :cool:
AnswerRe: update query in windows application with ms access as database Pin
Christian Graus23-Jun-09 23:42
protectorChristian Graus23-Jun-09 23:42 
JokeRe: update query in windows application with ms access as database Pin
Sk9323-Jun-09 23:46
Sk9323-Jun-09 23:46 
QuestionDynamically show images in crystal report Pin
KIDYA23-Jun-09 23:06
KIDYA23-Jun-09 23:06 
AnswerRe: Dynamically show images in crystal report Pin
Sk9323-Jun-09 23:18
Sk9323-Jun-09 23:18 
Questioncodes on data or text mining Pin
awedreh23-Jun-09 22:51
awedreh23-Jun-09 22:51 
AnswerRe: codes on data or text mining Pin
Simon P Stevens23-Jun-09 22:56
Simon P Stevens23-Jun-09 22:56 
AnswerRe: codes on data or text mining Pin
Christian Graus23-Jun-09 23:04
protectorChristian Graus23-Jun-09 23:04 
AnswerRe: codes on data or text mining Pin
Manas Bhardwaj23-Jun-09 23:11
professionalManas Bhardwaj23-Jun-09 23:11 
AnswerRe: codes on data or text mining Pin
OriginalGriff24-Jun-09 3:40
mveOriginalGriff24-Jun-09 3:40 
QuestionHeirarchy in DataGridView Pin
Zeeshan Ahmed Memon23-Jun-09 22:36
Zeeshan Ahmed Memon23-Jun-09 22:36 
Questionhitachi 902 Pin
Tauseef A23-Jun-09 22:35
Tauseef A23-Jun-09 22:35 
QuestionRe: hitachi 902 Pin
ribe23-Jul-09 9:30
ribe23-Jul-09 9:30 
AnswerRe: hitachi 902 Pin
Tauseef A23-Jul-09 9:59
Tauseef A23-Jul-09 9:59 
QuestionRe: hitachi 902 Pin
Tauseef A23-Jul-09 10:00
Tauseef A23-Jul-09 10:00 
AnswerRe: hitachi 902 Pin
ribe23-Jul-09 10:08
ribe23-Jul-09 10:08 
GeneralRe: hitachi 902 Pin
Tauseef A23-Jul-09 20:35
Tauseef A23-Jul-09 20:35 
GeneralRe: hitachi 902 Pin
BalachandarD25-Jul-09 1:40
BalachandarD25-Jul-09 1:40 

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.