Blank Form on some computers

R

rce7144

I have an Access 2007 solution I created a year or so ago and all was
working fine. The final solution uses access runtime and an accde
file. The customer requested some revisions to the solution a few
months ago. After I made the revisions I reinstalled the solution on
the original workstations and also installed it on a few other
computers as well. For some reason, the original workstations do not
open a form correctly. But on the computers that have never run the
original solution, everything works fine. The problem is when a form
is opened from the switch board or a search macro, the form is
blank ... there are no fields, no text, no data ... nothing, just a
blank form showing the form background color. This only happens on the
computers that had the original solution installed. I tried
uninstalling runtime, as well as the original application. I
reinstalled it with the latest access runtime. But still no luck.

Any help would be appreciated.
 
S

Song

I have an Access 2007 solution I created a year or so ago and all was
working fine. The final solution uses access runtime and an accde
file. The customer requested some revisions to the solution a few
months ago. After I made the revisions I reinstalled the solution on
the original workstations and also installed it on a few other
computers as well. For some reason, the original workstations do not
open a form correctly. But on the computers that have never run the
original solution, everything works fine. The problem is when a form
is opened from the switch board or a search macro, the form is
blank ... there are no fields, no text, no data ... nothing, just a
blank form showing the form background color. This only happens on the
computers that had the original solution installed. I tried
uninstalling runtime, as well as the original application. I
reinstalled it with the latest access runtime. But still no luck.

Any help would be appreciated.

I may be wrong but I suspect user does not have enough right.
 
R

rce7144

I may be wrong but I suspect user does not have enough right.


Are you referring to the user rights on the domain? If so, then you
may be partially right. The only thing that throws this theory off is
this: The solution I built is a basic quote system that pulls from a
table of tiers based on quantity. The customer wanted 3 different
quote tiers ... so I simply copied my files accordingly and changed
the tiers accordingly. So the workstations use 3 different accde files
and pull from 3 different db files.
Here's the catch: On one of the problem workstations 2 of the quote
systems work fine and 1 does not. On all the other problem work
stations, all 3 quote systems do not work.
 
T

Tony Toews

I may be wrong but I suspect user does not have enough right.

Good point. There can be a difference in permissions if you drag and
drop the ACCDE from the server in which case it retains the
permissions on the server share. But if you click once of the FE on
the server, copy by hitting Ctrl+C and then pasting into the users
folder that will then use the default permissions on the target
folder.

Tony
 
T

Tony Toews

I have an Access 2007 solution I created a year or so ago and all was
working fine. The final solution uses access runtime and an accde
file. The customer requested some revisions to the solution a few
months ago. After I made the revisions I reinstalled the solution on
the original workstations and also installed it on a few other
computers as well.

BTW you can use the Auto FE Updater to make this process a lot easier.
Configuration is done by using a wizard. Then you just need to click
on a button which will create an email for users new to your
application. When the users click on the hyperlink in the email it
will deploy the Access FE database file on the users system.

See deails in my signature.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/
 
R

rce7144

BTW you can use the Auto FE Updater to make this process a lot easier.
Configuration is done by using a wizard.  Then you just need to click
on a button which will create an email for users new to your
application.  When the users click on the hyperlink in the email it
will deploy the Access FE database file on the users system.

See deails in my signature.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages -http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
  updated seehttp://www.autofeupdater.com/
Granite Fleet Managerhttp://www.granitefleet.com/

I tried the copy and paste idea and that did not work. I am at a total
loss on what to try next.
 
J

John Spencer

When I see this type of behavior - one computer the program works, another it
fails - I suspect there is a library references problem.

To do its job, Access makes use of various external program and object
libraries. If you move a database from one machine to another, these
references may be "broken".

When this happens, you need to take steps to let Access repair the
reference(s) ON THE COMPUTER WHERE THE FAILURE IS OCCURRING.

This is going to be particularly tough to solve if you are using RUNTIME since
you won't be able to get to the references screen.

You might be able to use the following (Never tested), but it will have to
execute on startup

Sub EnumerateReferences()
Dim ref As Reference
Dim strOut As String

For Each ref In Access.References
strOut = strOut & vbCrLf &_
ref.Name & IIf(ref.IsBroken, " Missing", " OK") & _
vbCrLf & ref.FullPath & vbCrLf
Next ref

MsgBox strOut
End Sub

If you can temporarily install a full version of Access on a computer where
this is failing the following may help.

Here are MVP Doug Steele's instructions for how to do it:

*** Quote ***

Any time functions that previously worked suddenly don't, the first thing to
suspect is a references problem.

This can be caused by differences in either the location or file version of
certain files between the machine where the application was developed, and
where it's being run (or the file missing completely from the target machine).
Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module (or open the
Debug Window, using Ctrl-G, provided you haven't selected the "keep debug
window on top" option). Select Tools | References from the menu bar. Examine
all of the selected references.

If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you just
unselected (you can tell by doing a Compile All Modules), go back in and
reselect them.

If none have "MISSING:", select an additional reference at random, back out of
the dialog, then go back in and unselect the reference you just added. If that
doesn't solve the problem, try to unselect as many of the selected references
as you can (Access may not let you unselect them all), back out of the dialog,
then go back in and reselect the references you just unselected. (NOTE: write
down what the references are before you delete them, because they'll be in a
different order when you go back in)

For far more than you could ever want to know about this problem, check out
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html

Just so you know: the problem will occur even if the library that contains the
specific function that's failing doesn't have a problem.

**** End Quote ****


John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
 

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