G
Guest
Hello all.
I developed an Access application for some reporting purposes, and thought
it was a good time to split the database to enable some colleagues to have
access to the database data through the application's forms.
For the development i used Access XP (English, language is an issue here).
After having done the splitting, and while testing the front-end .mdb file
(with the forms etc.), i came across the following situations/errors, and i
would be grateful to receive some expert insights/comments:
1. Access XP does not want to open an .mdb file located in the intranet.
The error message i kept getting had to do with 'security reasons' and
'untrusted site'.
So i installed Access 2000 instead and simply bypassed the problem.
Is that a standard behaviour of Access XP?
2. While testing the front-end forms on a machine running *Greek* Access
2000, i got an error message for the declaration (VBA code):
Public AppXL as Excel.Application
(i'm doing some manipulation of Excel in my Access VBA code)
I never got this in the original file (before the split), and the reference
to MS Excel is properly set in the original file.
Does the reference need to be set again for the front-end part after the
split?
3. I'm also getting error messages for little parts of code involving the
Format statement, such as:
strDate=Format(BoxDate.Value,"mm/dd/yy")
I guess it has to do with the English characters being used for the
formatting ("mm etc.).
As the front-end might run on PCs with either the English or the Greek
Access, i'm wondering:
Is there a standard, intelligent way (Public VBA function?) to check for the
language being used, and define the String ("mm/dd/yy") used inside the
Format expression accordingly?
Many thanks for your time and patience,
Alex
I developed an Access application for some reporting purposes, and thought
it was a good time to split the database to enable some colleagues to have
access to the database data through the application's forms.
For the development i used Access XP (English, language is an issue here).
After having done the splitting, and while testing the front-end .mdb file
(with the forms etc.), i came across the following situations/errors, and i
would be grateful to receive some expert insights/comments:
1. Access XP does not want to open an .mdb file located in the intranet.
The error message i kept getting had to do with 'security reasons' and
'untrusted site'.
So i installed Access 2000 instead and simply bypassed the problem.
Is that a standard behaviour of Access XP?
2. While testing the front-end forms on a machine running *Greek* Access
2000, i got an error message for the declaration (VBA code):
Public AppXL as Excel.Application
(i'm doing some manipulation of Excel in my Access VBA code)
I never got this in the original file (before the split), and the reference
to MS Excel is properly set in the original file.
Does the reference need to be set again for the front-end part after the
split?
3. I'm also getting error messages for little parts of code involving the
Format statement, such as:
strDate=Format(BoxDate.Value,"mm/dd/yy")
I guess it has to do with the English characters being used for the
formatting ("mm etc.).
As the front-end might run on PCs with either the English or the Greek
Access, i'm wondering:
Is there a standard, intelligent way (Public VBA function?) to check for the
language being used, and define the String ("mm/dd/yy") used inside the
Format expression accordingly?
Many thanks for your time and patience,
Alex