>>But the bug isn't in the .dbc - it works for me. It's the GenDbc which incorrectly generates the view building code. I ended up defining the views in code, and this (gendbc + manual fixes) code actually creates a .dbc with view definitions, and they work fine.
>
>Have you looked at GenDBCX by Steve Arnot (
http://www.stevearnott.com/)? It works much better than Gendbc
Ahhh, finally someone with the URL of it. Sure I will.