Re: ESQL/C Cursors
Posted in 1994
In article <1994Jan5.093629.1008@condor.navsses.navy.mil>, Robert Scullion <scullion@sinbad.navsses.navy.mil> wrote: >So the question is: >Does anyone know how to declare a scroll cursor in ESQL/C such that it can be >stored into a C struct and passed around? I have been unable to find a way to do >this through standard ESQL/C The way I have always done this is to decide on a maximum # of cursors and then use a gigantic case statement in an acess function to perform operations on each cursor. If you cannot have a maximum, I don't know how to do it. The C file creates static file level globals for each cursor. > I'm leary of messing directly with the .c file >I get out of the esql command. I would be too... :-) -- -- Bradley M. Kuhn INTERNET: rhlab!bkuhn@uunet.uu.net OR bkuhn@loyola.edu UUCP: ...uunet!rhlab!bkuhn -- -- Bradley M. Kuhn INTERNET: rhlab!bkuhn@uunet.uu.net OR bkuhn@loyola.edu UUCP: ...uunet!rhlab!bkuhn