Yes, take a look at the several posters here who outlined that because the Code you are “using” or “calling” is a function, and NOT a Sub, then you DO NOT place the word “call” in front.
Based on the feedback and suggestions here, then:
Call jstCheckTableLinks_Full() - WRONG! Will NOT work
jstCheckTableLinks_Full() - correct – this should work fine
So please do take the time to read the suggestions here – such information is for your benefit.
> I copy all the two folders and store them on each target computer and then copy the BE folder and put it on the local server.
Well, I don’t see any reason to copy that BE folder to the computer when you want to place it on the server? For what possible reason, idea, or concept would you want to place that BE folder on each computer? The WHOLE idea here of a split system is that
you can share ONE BE for everyone on some shared server folder. So unless you can explain why or come up with a good reason, then I can’t see what benefit or outcome you are attempting to achieve by copying the BE folder to each computer?
Could you explain why you think this is a good idea? I am VERY VERY VERY curious here.
I can say for deployment for a new setup, then BEFORE you copy the FE to each computer, is you run it once, and link it to the BE data file on that shared server folder.
The FE when run for the first time will force every user to be prompted for the BE location data file. Such users might not know where that location is (and often they don’t want to care or know anyway). So when you setup a customer’s site, you likely want
to run your FE, browse and connect it to the BE accDB, and THEN USE THAT FE copy to deploy to each desktop. The reason for this is now that each user (even on first time run) will not be prompted to browse to the BE location. So you want (if possible) to distribute
to each user a correctly linked FE that points to the correct BE.
Of course, if it some far away customer and you don’t have remote ability, then all you can do is provide them with a FE folder that you place on each computer, and then the BE folder that they place and share on their server. Then when each user for the
first time launches the application, the user(s) will have to browse to that folder on the server and select the BE data file. This browse + selecting will ONLY occur the first time since the re-linking code on start will find the existing “last” linked BE
still in the same location and still functional. So the linking only has to occur one time – after that you only need to “check” if the BE not been moved.
Regards,
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada