D.Cook
Member
We've all done it: compiled a program with the local db then sent it to a client site only to receive an error because their database structure is somehow different.
** CRC for <tablename> does not match CRC in <r-code file>. Try recompiling. (1896)
I don't know about every other database system, but I'm pretty sure that normally this doesn't happen. If a new field is not referenced in a SQL SELECT statement for example, it simply doesn't select it.
So my question is firstly, does anyone know of a secret startup parameter or ini setting that might disable this check? I realise it's quite probably not possible due to the way r-code is compiled, but am curious to know.
And secondly if not, does anyone have any tips for dealing with this: procedure-wise, code-wise or otherwise?
We generally keep a local copy of a database built with the same .df as the client db, but things happen and somehow these become mismatched..
And you know, it would be really nice to be able to add new fields to a database table without recompiling everything..
** CRC for <tablename> does not match CRC in <r-code file>. Try recompiling. (1896)
I don't know about every other database system, but I'm pretty sure that normally this doesn't happen. If a new field is not referenced in a SQL SELECT statement for example, it simply doesn't select it.
So my question is firstly, does anyone know of a secret startup parameter or ini setting that might disable this check? I realise it's quite probably not possible due to the way r-code is compiled, but am curious to know.
And secondly if not, does anyone have any tips for dealing with this: procedure-wise, code-wise or otherwise?
We generally keep a local copy of a database built with the same .df as the client db, but things happen and somehow these become mismatched..
And you know, it would be really nice to be able to add new fields to a database table without recompiling everything..