Re: dynamic ESQL/C question
Posted in 1998
Version 8.1 of the ESQL/C manual has a section on it on page 10-101. If you don't have the manual you can get a PDF version at the Infomix web site. The section is called "Handling an Unknown Column List". It's a long procedure but pretty straight forward. apatnaik@aircom.com wrote: > I am using Dynamic ESQL/C to read records with an unknown column > list. I am fetching the records, and would like to use dynamic memory > allocation to store the column field names and column field data. > > The column field data has a LENGTH associated with it that > I read in and malloc the right number of bytes to hold the character > buffer. > > However, I don't know how to derive the number of bytes for > the column field name. The examples go through fixed characters > arrays that are used to receive the data. is there a way to figure > out how long this is??? > > Thanks, > -Anjela > > Let me know by e-mail to apatnaik@aircom.com > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- > http://www.dejanews.com/ Now offering spam-free web-based newsreading