davisg wrote:
I think what I am really asking here is does LLBLGen Pro really care about what type of join I specify in the Relationship screen of Access. I think i'm right in thinking that it uses the relationships in Access to determine relationships but I might be wrong there.
Geoff.
Frans can probably confirm this, but I don't think the Access OLE DB driver has access to all the settings created by the Access GUI and vice versa. I did find the following quote in a Microsoft article.
Note When you use OLE DB, there is no way to create a relationship that is not enforced, therefore there is no equivalent in ADOX to the DAO dbRelationDontEnforce setting of the DAO Attributes property of a Relation object. Also, ADOX and the Microsoft Jet 4.0 OLE DB Provider don't provide a way to specify the default join type that will be used in the Access query Design view window, as can be done by using the dbRelationRight and dbRelationLeft settings of the Attributes property.
That last part makes me think if there is no way to create a relation with default join type using OLE DB, then there isn't any way to read the default join type. To bad, that would be a neat way to automatically set up the join hint when creating typedlists.
Jeff