Click here to Skip to main content
15,895,011 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Getting filename of current window/application Pin
Dave Kreskowiak22-Dec-10 7:50
mveDave Kreskowiak22-Dec-10 7:50 
GeneralRe: Getting filename of current window/application Pin
Yance Lawang23-Dec-10 3:05
Yance Lawang23-Dec-10 3:05 
QuestionCheck Box Problem Pin
Leinad_3021-Dec-10 12:11
Leinad_3021-Dec-10 12:11 
AnswerRe: Check Box Problem Pin
Luc Pattyn21-Dec-10 12:25
sitebuilderLuc Pattyn21-Dec-10 12:25 
AnswerRe: Check Box Problem Pin
Dr.Walt Fair, PE21-Dec-10 15:56
professionalDr.Walt Fair, PE21-Dec-10 15:56 
AnswerRe: Check Box Problem Pin
Dave Kreskowiak21-Dec-10 18:18
mveDave Kreskowiak21-Dec-10 18:18 
QuestionInsert data to database tables [modified] Pin
ivo7521-Dec-10 8:21
ivo7521-Dec-10 8:21 
AnswerRe: Insert data to database tables Pin
phil.o21-Dec-10 9:03
professionalphil.o21-Dec-10 9:03 
Hi,

As far as I know, one single query can only be ran against one single database (I may be wrong, but I never encountered such queries that can access more than one database at the same time).

So you have to process it in two stages :

1- Run the query on the first database to grab the data you need
2- Run another query on the second database, using the previous stage's results (make use of parameters)

(and, please, take the time to format the code when you post Wink | ;) )
AnswerRe: Insert data to database tables Pin
Eddy Vluggen21-Dec-10 9:22
professionalEddy Vluggen21-Dec-10 9:22 
GeneralRe: Insert data to database tables Pin
ivo7521-Dec-10 9:37
ivo7521-Dec-10 9:37 
GeneralRe: Insert data to database tables Pin
Eddy Vluggen22-Dec-10 0:32
professionalEddy Vluggen22-Dec-10 0:32 
Questionvisual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999919-Dec-10 21:14
Denis999919-Dec-10 21:14 
AnswerRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
DaveAuld20-Dec-10 0:03
professionalDaveAuld20-Dec-10 0:03 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 4:04
Denis999920-Dec-10 4:04 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
T210220-Dec-10 4:42
T210220-Dec-10 4:42 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 7:24
Denis999920-Dec-10 7:24 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
T210220-Dec-10 12:09
T210220-Dec-10 12:09 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
Denis999920-Dec-10 20:48
Denis999920-Dec-10 20:48 
GeneralRe: visual basic .net, runtime error ,visual studio 2010 framework 4 Pin
T210220-Dec-10 20:58
T210220-Dec-10 20:58 
QuestionProtecting text file in VB6 Pin
hang_em19-Dec-10 17:09
hang_em19-Dec-10 17:09 
AnswerRe: Protecting text file in VB6 Pin
Dave Kreskowiak20-Dec-10 3:54
mveDave Kreskowiak20-Dec-10 3:54 
GeneralRe: Protecting text file in VB6 Pin
hang_em21-Dec-10 17:30
hang_em21-Dec-10 17:30 
GeneralRe: Protecting text file in VB6 Pin
Dave Kreskowiak21-Dec-10 18:17
mveDave Kreskowiak21-Dec-10 18:17 
QuestionSql Server 2008 - Cannot open database 'XXX' requested by the login. The login failed Pin
Tom Bui19-Dec-10 14:39
Tom Bui19-Dec-10 14:39 
AnswerRe: Sql Server 2008 - Cannot open database 'XXX' requested by the login. The login failed Pin
Dalek Dave19-Dec-10 14:45
professionalDalek Dave19-Dec-10 14:45 

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.