|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Display Query result set?
Hi,
How do I display a query result set in Access? My query outputs a bunch of rows...how do I display it on a screen? thanks cus129 |
|
#2
|
|||
|
|||
|
what exactly do you want?do you want to test your query syntax? if it is true,why dont' you use Query Analyzer from SQL Server 2000
|
|
#3
|
|||
|
|||
|
Hi,
I am coding in VBA. I have a form which has a combo box, couple of checkboxes and a button. Based on the selected item in combo box and checking some checkboxes, a query has to be generated. Now what if my query returns multiple rows....I should have a way of outputting it on the screen say on form or report.... how do I do this? |
|
#4
|
|||
|
|||
|
HI! cus129.
Exactly, i don't know vba,but you use vba.so, what to do now?.I use visual basic 6.In visual basic i can show the multiple rows through report,or i can show multiple rows through MSHFlex Grid.Is there grid in vba.if yes,i think you can do that.let's say you have grid.then you should select grid,give it colums,rows.then creat the query that generated from the combo boxes and some checkboxes... Then you have the query like:"select somefields from yourtables where YourFieldInDatabase='"& comboboxname.list(comboboxname.ListIndex) &"'. Quote:
|
|
#5
|
|||
|
|||
|
Hi cus129!
if you are interested, i will you the demo in visual basic to show multiple rows through MSHFLEx Grid. Quote:
|
|
#6
|
|||
|
|||
|
Hi
Thanks for the quick reply. Can you please post the sample code in VB? |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Display Query result set? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|