I don't think he meant that you can't know the names anywhere. He appears to be referring to hardcoding the table structure in queries.
Anyhow, you should make a set of constant "accessors" (as if this were an object) which return the field and table names, column numbers, etc. That way, when tables change or spawn, you have only one place to change the data.
After Compline,
Zaxo
In reply to Re: Database field names in code
by Zaxo
in thread Database field names in code
by disciple
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |