SQLForms30 questions - HELP!
From: Joseph Dzikiewicz <dzik_at_access1.digex.net>
Date: 31 Mar 1994 12:28:11 -0500
Message-ID: <2nf17b$sdg_at_access1.digex.net>
| THINGS COUNT |
| THING1 12 |
| THING2 8 |
| THING3 1 |
| |
Date: 31 Mar 1994 12:28:11 -0500
Message-ID: <2nf17b$sdg_at_access1.digex.net>
I need some help with SQL*Forms30.
I have an application where I want to generate a form that looks like the following:
| THINGS COUNT |
| THING1 12 |
| THING2 8 |
| THING3 1 |
| |
SELECT DISTINCT THINGS FROM THING_TABLE; and have the results appear in my THINGS column, but I cannot figure out how to get the DISTINCT clause into the form block's query.
SELECT COUNT(THINGS) INTO :form.Count FROM THING_TABLE WHERE THINGS = :form.Things;
my COUNT column fills with zeros.
Can anyone out there in net-land help me with these two problems? Received on Thu Mar 31 1994 - 19:28:11 CEST