Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filling a grid with a query

Status
Not open for further replies.

martinmcc

Programmer
Oct 2, 2001
2
GB

Hi,

I am trying to fill a grid with a SQL query, but having a few problems. The query is running OK, but instead of filling the grid it opens up in a seperate window, as though the query had been run seperatly. The hackers guide states -

"With both query choices, make sure the query results are directed somewhere (the easiest is into a junk cursor) or the default Browse pops up before the grid gets filled"

I am not sure how to accomplish this? Any suggestions?

Cheers,
Martin McCann
 

Your sql statement needs &quot;into cursor <cursorname>&quot; at the end of it.

For example:

select col1, col2 from table into cursor tempcursor1


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top