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

mod free hand sql via vba ?

Status
Not open for further replies.

jjl

Programmer
Apr 23, 2001
9
US
Trying to modify free hand sql via vba ... receive error DA0011 Cannot find universe. Any hints? Thx.

Code
=====
Application.ActiveDocument.DataProviders.Item(1).SQL = "select order_item_id from ptel_po where order_item_id IN ('OI000176')"
 
It was not an editable property ... ended up using MS ADO.
 
The SQL is an editable property on my setup. Recommend you :
1. set up a standard query using the GUI, then
2. capture the SQL
3. edit the SQL as you see fit

By setting up the report conventionally, you will assure that you can connect to the universe.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top