CvilleBill wrote:
Ah ha! Linked tables... I removed those from my DB and was able to create the project. I guess linked tables are a no no (even though they linked back to another Access database.) Assuming you can detect linked tables, might want to throw a better message up.
It's the Access OleDb driver which crashes (JET engine), so unfortunately I can't do much about it.
Investigating what I get back from GetOleDbSchemaTable, I see that 'LINK' is the table type for a link table. Though, I can't specify a filter for GetOleDbSchemaTable to EXCLUDE tables for a given operation (like getting the FK information/uc information). So that whole operation has to be skipped because the access JET engine otherwise crashes... I'm not sure that's a good idea.
OK, I can work around that by copying the table structure over for the gen phase. Any clue if linked tables will work from the generated code?
Thanks,
Bill
If the Access JET engine is up to it, it should work. If it fails, it's up to the JET engine why it fails, all LLBLGen pro does is executing queries on the access db it's connected to.