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!

'WHERE' clause in formula?

Status
Not open for further replies.

unibored

Programmer
Mar 4, 2002
1
US
I would like to do the following in a formula:

SELECT count(dbA.a1)
WHERE dbA.a2 = 3 // any constant

i.e. to count number of occurences of a1 from dbA where from its attribute a2 equals a certain constant.

Unfortuantely cannot put the above into SQL Expression. Syntax errors and unable to compile.

Is there a way? Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top