column name. If you pass the value nil to the API, we will not return the
column name. You should be able to use a PChar, but you must point it to a
buffer first. Something like this might work (bear with me, my
Then you pass 'pname' to the API. That should work. It's been a long time
"Lewis Howell" <lou_junkmail@yahoo.com> wrote in message
news:IRxWb.37875$8a5.15070@bignews1.bellsouth.net...
> Thanks...I found my problem. In Delphi I was passing parameter as PChar
> which is accurate to the Microsoft documentation. I finally got it to
work
> by sending in an array[0..30] of Char.
>
> --
>
> Thanks,
> Lewis Howell
> lou@ibsoft-us.com
> Innovative Business Software
>
www.ibsoft-us.com >
>
> "Brannon Jones [MS]" <branjo@nospam.microsoft.com> wrote in message
> news:uJGFqBO8DHA.3448@TK2MSFTNGP09.phx.gbl...
> > If you have multiple result sets, then you need to use SQLMoreResults()
to
> > move to the next result set. Also, check that your input parameters to
> > SQLDescribeCol are correct. SQLDescribeCol should return a valid column
> > name in all cases (unless the column doesn't have a name, which is
> possible
> > if the column is a computed column or literal string.
> >
> > --
> > Brannon Jones
> > Developer - MDAC
> > This posting is provided "as is" with no warranties and confers no
rights.
> >
> >
> > "Lewis Howell" <lou_junkmail@yahoo.com> wrote in message
> > news:Tn6Wb.37818$uS3.22155@bignews4.bellsouth.net...
> > > I am trying to get SQLDescribeCol to return column names (alias) from
> > > multiple result sets in a stored procedure but it returns a nil
string.
> I
> > > have also tried SQLColAttribute with no success.
> > >
> > > Any suggestions, places to read, different newsgroups, code to try,
etc.
> > ???
> > >
> > > --
> > >
> > > Thanks,
> > > Lewis Howell
> > > Innovative Business Software
> > >
www.ibsoft-us.com > > >
> > >
> >
> >
>
>