If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Button on Form not Working for multi users

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-12, 08:11
MIKEWB20012000 MIKEWB20012000 is offline
Registered User
 
Join Date: Jan 2008
Posts: 24
Button on Form not Working for multi users

Hi guys

I have a db on our server, which, when being tested by one individual worked well. However, I have now increased the testing group to 3 individuals and now I have a problem!

on one of the forms, I have a button that, when clicked, creates a PDF, saves it in a public folder, and also sends an email. This button works 100% of the time if only one user is logged in or, it works for the first user that logged in. Any users subsequently logging in, and who click the button, the VB routine does nothing??

Can anyone offer any advice/suggestions?

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-07-12, 08:48
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
Is the database split? If not, this is the first thing to do.

One database file (the back-end) containing the tables remains on the server and each client machine receives a copy of a second database file (the front-end) that contains all other objects (Queries, Forms, Reports, etc.). The front-end uses attached (linked) tables to the back-end.

You cannot safely work with an Access database in multi-user mode if the interface is shared. Sooner or later , the database becomes corrupted.

There's an Assistant (Wizard) is Access to help you slit the database. In Access 2003 you can find it by opening the "Tools" menu, then select "Database Splitter" in the "Database Utilities" submenu. In Access 2010, it's in the "Database Tools" ribbon.
__________________
Have a nice day!
Reply With Quote
  #3 (permalink)  
Old 01-07-12, 08:54
MIKEWB20012000 MIKEWB20012000 is offline
Registered User
 
Join Date: Jan 2008
Posts: 24
Thanks Sinndho. I am using the database via a citrix connection. Therefore, would I add the front end into each users "My Documents" - would this work?
Reply With Quote
  #4 (permalink)  
Old 01-07-12, 09:10
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
I never used an Access database with Citrix, so I'm not able to answer, sorry !

Have a look at: My random thoughts on Microsoft Access, Terminal Server and/or Citrix or Google search for "Citrix and MSAccess".
__________________
Have a nice day!
Reply With Quote
  #5 (permalink)  
Old 01-08-12, 18:10
Missinglinq Missinglinq is offline
Registered User
 
Join Date: Jun 2005
Location: Richmond, Virginia USA
Posts: 1,702
Just to clarify, if only one user is using the app, the button works, regardless of which machine this user is working on?

I ask because when apps run fine on one machine and not on another the first thing you have to think about are missing references.

If you find that the problem is machine-specific, and you haven't had to trouble-shoot Missing References before, here are Doug Steele's detailed instructions on doing this:

Access Reference Problems

Linq ;0)>
__________________
Hope this helps!

The Devil's in the Details!!

All posts/responses based on Access 2000/2003
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On