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!

Run-Time query !!!

Status
Not open for further replies.

HadiRezaee

Technical User
Mar 9, 2001
165
IR
Hi,
I want to find all records that CODE field is 120, in Crystal Report 8.0
So, i made a new report and i choosed all fields that i need ...
Then in my project, i wrote:
m_Crystal.SetSQLQuery("SELECT * FROM PERSON WHERE
Code:
 = 120");
But this code won't work !!!
What is my wrong ?
 
to set query is too few. You should run/execute it. Before running you can bind column and parameters. John Fill
1c.bmp


ivfmd@mail.md
 
When you set a query, you set only its SQL string and nothing more. There should be some methods like Run of Execute to get some results. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top