Joined: 31 May 2012
Online Status: Offline
Posts: 1
Topic: Convert this SQL to crystal syntax Posted: 31 May 2012 at 6:25am
Select <field_name1>,count(1)
from <table_name>
where <field_name2>= <value1>
and <field_name3> = <value2>
abd <date_field> between <start_date_parameter> and <end_date_parameter>
group by <field_name1>
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 01 Jun 2012 at 4:59am
Huh? If you put the above SQL in a command it should work. Of course you can only do that in certain versions of CR. In the newer versions of CR you can use parameters in the SQL and they are in the form of '{?parameter_name}'
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum