Re: Excel validation.
- From: "Bill @MMSD" <wthompson@xxxxxxxxxxxxxxxxx>
- Date: Fri, 08 Jun 2007 05:48:28 -0700
That does work, I use it all the time.
I also make the use a parameter in the SQL and link it to a cell in
excel and when that value changes it can automatically refresh the
data.
The way to do that is to click add criteria and slect your column and
for your value type in [?]
For example, this SQL uses IBM sample customer file included in
library ADTSLAB.
You could just copy and paste this by pressing SQL button.
SELECT CUSTOMER.CUSTNO, CUSTOMER.CUSTNA, CUSTOMER.REPNO,
CUSTOMER.CONTAC, CUSTOMER.CPHONE, CUSTOMER.CFAX, CUSTOMER.CADDR,
CUSTOMER.CCITY, CUSTOMER.CCOUNT, CUSTOMER.CZIP, CUSTOMER.CZIPLO
FROM ADTSLAB.CUSTOMER CUSTOMER
WHERE (CUSTOMER.CUSTNO=?)
When you click return data to Ms Excel click the parameters button and
select "Get the value from the following cell" and select the cell and
you might want to check the "Refresh automatically when cell value
changes"
-----
Bill
On Jun 7, 6:28 pm, "Saml" <none@xxxxxxxxxxxxxxx> wrote:
This may work: Configure an ODBC connection. Start Excel. Click menu
Data/Import External Data/New Database Query using your new ODBC connection.
Then write the SQL necessary to get your one record.
Sam
<I_am_f...@xxxxxxxxxxx> wrote in message
news:1181236117.328201.202220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Is there a simple way of retreiving a single record from DB2 file with
Excel based on row/column value.
Thanks.
.
- Follow-Ups:
- Re: Excel validation.
- From: I_am_fitz
- Re: Excel validation.
- References:
- Excel validation.
- From: I_am_fitz
- Re: Excel validation.
- From: Saml
- Excel validation.
- Prev by Date: We need specified software
- Next by Date: How many companies are buying new AS400's
- Previous by thread: Re: Excel validation.
- Next by thread: Re: Excel validation.
- Index(es):
Relevant Pages
|