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

How do i select a record using formula

Status
Not open for further replies.

mamba74fr

Technical User
Oct 31, 2004
12
GA

Hi all ,

I have my table like that i can print from sequel console.

Org.OrgID Org.Org Name Org.Course Org.Time
1145 MATH_DPT MATH 03/13/05
1146 PHYS_DPT PHYS 03/26/05
1147 BIOL_DPT BIOL 03/13/05
1148 ECON_DPT ECON 03/18/05
1149 MATH_DPT MATH 03/23/05
1144 FREN_DPT FRENCH 03/13/05


i would like to print to build a formula that allows me to select the record :
" 1149" when i give that 2 parameters : MATH and 03/23/05

i want to write something like

select O.OrgID from Org O where O.Course like 'MATH' and O.Time like '03/23/05'

or but much more something like

if {Org.Course}='MATH' and {Org.Time}='03/23/05' then {Org.OrgID}
else "" ;


Thank you a lot



 
Please see the thread in Crystal reports 1 Formulas.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top