[AccessD] A2K: Code Failures on Win 98 Machine

Jim Dettman jimdettman at earthlink.net
Thu May 20 07:04:57 CDT 2004


Darren,

  What you describe is most likely a problem with references and/or the
environment on those specific machines.

  Open a module in design view, click tools/references, and see if any are
MISSING or BROKEN.  If so you'll need to figure out how and why.

  If not, check any unchecked reference.  Close the MDB and Access, then
reopen and uncheck the reference you just checked.  Then do a compile.
Should get no errors.  Now see if the code works as it should.

Jim Dettman
President,
Online Computer Services of WNY, Inc.
(315) 699-3443
jimdettman at earthlink.net

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK
Sent: Thursday, May 20, 2004 12:52 AM
To: AccessD List
Subject: [AccessD] A2K: Code Failures on Win 98 Machine


Hello all
I have 2 issues still outstanding with my latest app. On win XP or Win 2000
boxes the
following code snips work fine. All machines are WIN 98 and WIN2000 and
WIN XP boxes (No Win 95 or Win ME) all running Office 2000
In fact the Office 2000 install is off the same MS Office 2000 install
disk - <sigh>
But the code snips fails only on the Win 98 machines

Anyway here is the snip that fails in WIN 98 - but is cool in WIN2000 and
WINXP
strSkinsPath = Left(CurrentDb.Name, Len(CurrentDb.Name) -
Len(Dir(CurrentDb.Name)) - 1) & "\Skins\" & strSelectedSkin & "\"

But of course the "hard coded" following snip below in place of the one
above does work on all OS's
strSkinsPath = "C:\Program Files\TruMan\Skins\" & strSelectedSkin & "\"

Also I am getting failures with the bookmark property in the Win 98 boxes.
Same Access/Office version just different OS

Basically I have a combo box on a student form to use for a search tool.
You pick a student name from the combo on  the footer of the Student Form
Then using .findfirst and .bookmark I can (normally) go to the record.
But it fails on the Win98 boxes and throws me out of the app and on occasion
needs a re-boot.
So to that end - does anyone have any .findfirst and .bookmark code that
works with a WIN 98 box?
Even code to determine .AbsolutePosition would be fine. I can then use
docmd.gotorecord stuff
Many thanks in advance

Darren

--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list