Localization problem

M

Mario Howard

When setting a subforms SourceObject in code to a Query
the query name string must be prefixed with "Query":

Me.Subform.SourceObject = "Query.qryMyQuery"

This will only work in an English version of Access 2000.

In a German version the syntax required is:

Me.Subform.SourceObject = "Abfrage.qryMyQuery"

In a French version the syntax required is:

Me.Subform.SourceObject = "Requête.qryMyQuery"

Does anyone know if there is a way to find out the local
version of an object name.

I do not want to have to "hard code" the local version
used of an object name.

Thanks

Mario
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top