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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox Query Problem..

Status
Not open for further replies.

Siddiq

MIS
Sep 23, 2000
46
PK
I am using a combobox in my form and using a query in it..
when I run that form it shows me a query window. I want to disable that query window.
 
Hi Siddiq,

Try doing something like

SELECT * FROM <table> INTO CURSOR tmpCursor
That will prevent the browse window from opening.

You then can basically use the cursor like a table.

Hope that helps

Yue Jeen
 
Thanks Creeder..
It's working but how to keep the cursor in order
 
Hi Siddiq,

You basically can do something like this,

SELECT * FROM customer ORDER BY name INTO CURSOR tempCursor

Therefore you have a table/cursor sorted by the column name.

You then can manually assigned the Rowsource of the combo box to this cursor.

Hope this helps.

Yue Jeen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top