|
-
September 3rd, 2001, 06:29 AM
#1
Using the MID function in MS Access
I've created an Access Database that uses the MID and FORMAT functions from Visual Basic. I have now found that the database wont work on a computer that doesn't have Visual Basic installed. Is there a way I can find out which files are needed for these functions?
-
September 3rd, 2001, 08:42 AM
#2
Re: Using the MID function in MS Access
Hi,
these Functions are part of the VBA-Library.
This Lib is installed with Access. There must be another problem!
KIK
-
September 3rd, 2001, 09:00 AM
#3
Re: Using the MID function in MS Access
Maybe, but I can't think what else it could be. When I compile the code in Access without having VB installed it doesn't recognise MID, MID$ and FORMAT. If I then install VB it works fine. I looked at the help file for MID and the title of the page was Visual Basic reference, which is what made me think they were VB methods not VBA methods.
-
September 3rd, 2001, 09:19 AM
#4
Re: Using the MID function in MS Access
in the code-window, you can write the library before the function:
if you try, you will see, that vba is the lib:
vba.mid()
vba is a module of access. you have not to install it.
KIK
-
September 3rd, 2001, 09:45 AM
#5
Re: Using the MID function in MS Access
Me thinks your right,
Maybe is should try setting InstallShield to install the Access 97 object.
Thanks a lot for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|