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

sql statment integration into functions

Status
Not open for further replies.

Hambone2

Programmer
May 11, 2001
2
US
I'm new to CR but am an ASP developer. I'm using CR 8.5 and I want to know if it is possible to use sql statments in the formula fields editor WITH the basic syntax. If so, how?

The documentation that I have hints at it but does not go any further.
 
I'm not clear what you want to write - SQL in BASIC, in a Crystal Reports formula?
The SQL Expression Editor allows some SQL like coding to develop expressions. The Record Selection Formula can be written in BASIC, and Crystal translates that into the SQL WHERE clause. What were you thinking of? Malcolm Wynden
I'm for sale at malcolm@wynden.net
 
Keep in mind that the SQL expression editor does not allow writing a SQL 'statement' just a SQL expression to generate a new column in the results. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Yeah, and it's not even in SQL, but a Crystal derivative that has just a few simple SQL like functions in it. However, it sounds good in the sales literature. (Yes, I disgruntled when I first actually tried to use this feature ;-))
Malcolm Wynden
I'm for sale at malcolm@wynden.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top