Make sure you read the comments in the code. The pervious line in the code says:
The 1 refers to the first table in the report, a 2 would refer to the second table, and so on.
>hi!
>
>thanks for ur reply. sir i have download ur articles and in one of them article kb014 u have mention how to connect with dsn.
>
>in that code i have understand all the code except one thing.
>
>odbt = ocdbt.item(1)
>
>what is this item(1) can we change the parameter. what does this parameter then mean.
>
>with thanks.
>bye.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer