ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Query results to message box (https://www.excelbanter.com/excel-programming/311915-query-results-message-box.html)

noel

Query results to message box
 
Does anyone have guideance on putting query results, by
row, into a message box?

THANKS!!

Tom Ogilvy

Query results to message box
 
It sounds like a bad idea. Why not write it to a worksheet or use a useform
and put it in a listbox.

--
Regards,
Tom Ogilvy

"noel" wrote in message
...
Does anyone have guideance on putting query results, by
row, into a message box?

THANKS!!




No Name

Query results to message box
 
OK if a UserForm would work better, then how would you gqt
the query results into the form?
-----Original Message-----
It sounds like a bad idea. Why not write it to a

worksheet or use a useform
and put it in a listbox.

--
Regards,
Tom Ogilvy

"noel" wrote in

message
...
Does anyone have guideance on putting query results, by
row, into a message box?

THANKS!!



.


Tom Ogilvy

Query results to message box
 
see answer to you next posting.

--
Regards,
Tom Ogilvy

wrote in message
...
OK if a UserForm would work better, then how would you gqt
the query results into the form?
-----Original Message-----
It sounds like a bad idea. Why not write it to a

worksheet or use a useform
and put it in a listbox.

--
Regards,
Tom Ogilvy

"noel" wrote in

message
...
Does anyone have guideance on putting query results, by
row, into a message box?

THANKS!!



.




Jamie Collins

Query results to message box
 
"Tom Ogilvy" wrote ...

It sounds like a bad idea. Why not write it to a worksheet or use a useform
and put it in a listbox.


Agreed. But if the results set is small and the OP is using an ADO
recordset, the GetString method would do the job nicely.

Jamie.

--


All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com