Rabu, 08 Mei 2013

RE: [MS_AccessPros] disappearing global variables

 

Onno-

Anytime you have an untrapped error, the project may be reset and the values
of all Global variables lost.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)

-----Original Message-----
From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Onno Knol
Sent: Wednesday, May 08, 2013 1:51 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] disappearing global variables

Dear Friends,

In my MsAccess application I define a number of global variables, like
paths where I want to store files.
Now it sometimes happens that these gobal variables disappear somewhere in
the process of working with the application. Then my files suddenly are
stored on unexpected places like the root directory. What can be the cause?
A memory leak? And more important, how can I trace where this happens? Until
now it seems like a random phenomenon.

Has anyone ever had this problem and how did you handle it? One alternative
is to stop using global variables and read-write them to a database table
called settings,but I think this will be slower.

Any thoughts would help.

Thanks, Onno Knol

------------------------------------

Yahoo! Groups Links

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar