RE: Derek's Structure Library

new topic     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> Hi Andy,
> that's interesting. I never considered that the definition of a 
> structure
> would be a transient thing. Guess there's no end to human ingenuity, eh.
> 

I'm basically using the structures as temporary tables when working with 
an SQL database.  I query the database, and it returns the number of 
columns and field names in the result set.  So I create a structure on 
the fly using the field names, and store the returned rows as instances 
of that newly created structure.  Now I can refer to the columns by name 
with any result set using the same code.

But my program will be working in a loop with lots of different result 
sets, and there is no need to keep the old definitions around when I'm 
done with a particular set.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu