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

Access, VB and Crystal

Status
Not open for further replies.

PatHill

Programmer
Oct 26, 2000
8
0
0
GB
I have a Query in Access 97 which uses some VB functions to derive the value of various fields in the query based on other values in the row. So for example a VB function
Code:
f(x,y,z)
is defined so that if z > 10 then the value returned is x+y, otherwise its just x. The query then runs like
Code:
SELECT f(x,y,z) FROM MYTABLE;

The functions are actually more complex than this but it illustrates the point.

I want to be able to report on this query via ODBC using (among other things) Crystal. The problem is that Crystal says that this query has no fields and refuses to let me report on it.

Any ideas ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top