Steve,
By naming all the columns, your report won't break unless a key is changed or one of the columns you are using is delete or renamed which is much more unlikely. VFP checks the columns in the result set against the UpdatableFieldList and the UpdateNameList and if there is a difference then and error is generated. If you name the columns then you will never get the new columns.
It would also be easy to write a validation program using sqlcolumns() that would verify the structure of the tabels you are using.
>That's the problem. Any structural changes made by the vendor are out of my control (and knowledge until a problem occurs), so I need a way to dynamically determine that the table has changed. Unfortunately, if they make a fundamental change to any field that I'm using, the report will break anyway. I'm betting, however, that they are adding fields, etc. which are superflous to my reporting engine.
>
>I can add all known fields to my select until they add something later...Can a view be set to "select *" rather than each field individually?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only