Re: Matt: EuSQL Question About Returning Field Types
- Posted by c.k.lester <euphoric at ck??ster.com> Sep 22, 2007
- 486 views
Matt Lewis wrote: > c.k.lester wrote: > > You have a function in eusql for returning a flat list of fields. What's the > > best way to get a list of field types for a table? > Take a look at flat_field_names(). You could also take the return value > of blank_record() and flatten it out. Send me the code and I'll put it > into the library. :) flat_field_names uses get_record_struct(), but get_record_struct does not return the field types... only the field names and an empty sequence. I think I'll just cheat and grab the data from the table_info table. What are you using for wxEDB these days? I'm having a heck of a time getting it on my home PC. I have it at work and it works fine. :(