473,418 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Spontaneous loss of subform bookmarks

Tim
Hi, has anyone experienced a spontaneous loss of a subform bookmark
(i.e. resetting to the first record), when the computer is idle.

I used to have a problem in NT4 when doing a couple of specific things
outside of access (launching internet explorer or adobe) that would
cause a loss of bookmarks within access. Since our migration to XP
though my database seems to do it spontaneously whilst the computer is
idle. I guess its actually something that XP is doing below the surface
that causes the behaviour, just looks to be spontaneous.

Ive posted on here before to see if anyone had heard of things outside
of access having the ability to cause loss of bookmarks, but no answer.
I'm reposting as its becoming more than just a nuisance. Any ideas
greatly appreciated. Thanks.

Tim

Nov 29 '05 #1
9 1847
A bound form should not lose bookmarks if the server and network are stable.

It is possible to get this kind of problem if you close the default
workspace. Access opens it again transparently, but you can get strange
errors such as invalid object references to the form's RecordsetClone.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Tim" <ti*********@yahoo.co.uk> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi, has anyone experienced a spontaneous loss of a subform bookmark
(i.e. resetting to the first record), when the computer is idle.

I used to have a problem in NT4 when doing a couple of specific things
outside of access (launching internet explorer or adobe) that would
cause a loss of bookmarks within access. Since our migration to XP
though my database seems to do it spontaneously whilst the computer is
idle. I guess its actually something that XP is doing below the surface
that causes the behaviour, just looks to be spontaneous.

Ive posted on here before to see if anyone had heard of things outside
of access having the ability to cause loss of bookmarks, but no answer.
I'm reposting as its becoming more than just a nuisance. Any ideas
greatly appreciated. Thanks.

Tim

Nov 29 '05 #2
Tim
The network is as stable as they get. It doesn't co-incide with network
errors. I've always put it down to something happening on the local
machine.

I'm definetly not conciously causing the default workspace to close, I
guess if this were happening then it would be associated with a bunch
of error messages and that's just not happening. After its happened if
you go to the top level list and reselect the line you were working on
then the event code kicks in and causes all of the subforms to become
realigned.

Am I truly unique???

Tim

Nov 29 '05 #3
Ah: by bookmark you are referring to the current record of the subform (not
its Bookmark property.)

Someone may correct me, but I do not believe the connection to the data file
should time out if you have a bound form open.

Is there anything else that could be triggering this?
Code in the Timer event of a form?
A Requery somewhere?
Some event procedures that trigger dependencies?
Conditional Formatting?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Tim" <ti*********@yahoo.co.uk> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
The network is as stable as they get. It doesn't co-incide with network
errors. I've always put it down to something happening on the local
machine.

I'm definetly not conciously causing the default workspace to close, I
guess if this were happening then it would be associated with a bunch
of error messages and that's just not happening. After its happened if
you go to the top level list and reselect the line you were working on
then the event code kicks in and causes all of the subforms to become
realigned.

Am I truly unique???

Tim

Nov 29 '05 #4
Tim
Allen,
Yes, that is what I mean - the current record of the subform. Im not
sure if it does or doesn't stay perpetually connected, by I read
somewhere that having a constantly open recordset onto the back end
database within a hidden form can improve performance I did this and
the performance increase was very significant. The forms are bound
though so I'm not really sure why this is.

I really can't think of anything within the database that could be
triggering it. Certainly when we were on the NT4 platform the behaviour
was confined to very specific events such as opening internet explorer
or adobe reader.

There is timer events on the main form, but only that checks the time
and then quits the database if its in the middle of the night (needed
so morning back up routine doesn't get shot away).

A large proportion of the event procedures are dedicated to keeping the
forms controls/subforms aligned on the database in repsonse to record
changes. The behaviour causes misalignment in the form controls so it
can't be en event getting triggered.

Its written in access 97 so there isn't any conditional formatting.

Tim

Nov 29 '05 #5
Inline.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Tim" <ti*********@yahoo.co.uk> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...

There is timer events on the main form, but only that checks the time
and then quits the database if its in the middle of the night (needed
so morning back up routine doesn't get shot away).
You could try running without the timer event, just to see if it makes any
difference.

A large proportion of the event procedures are dedicated to keeping the
forms controls/subforms aligned on the database in repsonse to record
changes. The behaviour causes misalignment in the form controls so it
can't be en event getting triggered.


Unusual. How is this done? By setting the RecordSource of one subform in the
Current event of another?
Nov 29 '05 #6
> Unusual. How is this done? By setting the RecordSource of one subform in the
Current event of another?


Allen, you may have suggested this already, but does Tim have any on got
focus events that requery anything?

The other thing that comes to mind, though he didn't mention it, is the
question of whether this database is using linked tables - in some ODBC
set ups using linked tables against Oracle, for example, there is a
definite timing out period. I don't know if Jet linked tables can be
set up with a time out mechanism.

Just to throw out a couple of things to help or confuse... 8)
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 29 '05 #7
Tim
I tried running with the timer event off and no difference.

The alignment in the subform controls is just about requerying controls
that are based on queries. i.e. At the top level the oncurrent event
will copy the index of the selected record onto a hidden control which
is used as a query parameter for the next level down. So the next level
down subform just needs requerying to align its records to the top
level. The main form is a large tab control with each level on a
seperate tab. It means that the 70% of the whole database is contained
on a single form with a lot of interdependency.

I guess this is pretty inelegant. In my defence I inherited the
database to look after, I didn't create it. Although that said it was
actually created by a software consultant.

Tim

Nov 30 '05 #8
Tim
Ive just checked it and there are no got focus events in the database
at all.

The back end of the database is linked tables to another access
database on a server. There are a few users on the back end.

Nov 30 '05 #9
Bet that requerying is the issue.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Tim" <ti*********@yahoo.co.uk> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I tried running with the timer event off and no difference.

The alignment in the subform controls is just about requerying controls
that are based on queries. i.e. At the top level the oncurrent event
will copy the index of the selected record onto a hidden control which
is used as a query parameter for the next level down. So the next level
down subform just needs requerying to align its records to the top
level. The main form is a large tab control with each level on a
seperate tab. It means that the 70% of the whole database is contained
on a single form with a lot of interdependency.

I guess this is pretty inelegant. In my defence I inherited the
database to look after, I didn't create it. Although that said it was
actually created by a software consultant.

Tim

Nov 30 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carl | last post by:
I have a main form with navigation buttons on it and a label showing for example Record 1 of 15 using recordsetclone on it and eveything works fine. When I move through the records the record...
7
by: Neil Ginsberg | last post by:
I'm having some problems with an Access 2000 MDB file with a SQL Server 7 back end, using ODBC linked tables. I previously wrote about this, but am reposting it with some additional information and...
1
by: Tim | last post by:
Hi, has anyone experienced a spontaneous loss of a subform bookmark (i.e. resetting to the first record), when the computer is idle. I used to have a problem in NT4 when doing a couple of...
15
by: Francach | last post by:
Hi, I'm trying to use the Beautiful Soup package to parse through the "bookmarks.html" file which Firefox exports all your bookmarks into. I've been struggling with the documentation trying to...
2
by: Alan T | last post by:
I have two bookmarks, eg. beginMark and endMark I need to get the text between these 2 bookmarks, how do I do that? eg. <beginMark> Hello Word! This is Saturday.
14
by: Rational Repairs | last post by:
I am trying to create global code for navigation use in all my forms -- including subforms. I searched, and searched, but can not find how to globally reference a subform object. I need to have the...
1
by: stuart | last post by:
I have a list of records in a subform that a user can either edit or delete. This is an unbound form. If the user deletes a record, I want to refresh the form, and then position the cursor on the...
1
by: Gord | last post by:
Is it possible to extract the bookmark using an SQL query? I'm using A2007 and have a select query used as the recordsource for a subform. The query pulls out those records that match whatever...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.