John,
You'll get a browse anytime a SQL is run without an INTO clause. I think you can add an INTO CURSOR temp right into the property. I'd either use a view or a cursor and just set the Grid.RowSource = "TheCursorName"
>I have created a simple grid using a SQL statement. The grid is addressed as "formset1.pageframe1.page1.grid_prod" The recordsource is just the SQL statement "SQL * FROM PRODUCT WHERE SOMETHING==SOMETHING". The main program only setups a few public variables and then calls the main form. The trouble is that a browse window is opened (containing the SQL query) when I run the program and must be close before I a can continue with the program. How do I prevent the browse window from opening.