473,545 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

not a valid bookmark - not using a recordset

I've built a system to enter and manage purchase orders. This is in
use by >10 clients. Some use it in Access 97, most are in A2k. About
half use it through a Citrix implementation. It is separated into a
front end and 3 back ends (1 network for permanent storage, 1 local for
temp storage, and 1 local for storage for particular user).

One particular form is failing for a single client (Access 2000, using
Citrix). This form is a form with a subform, used for entering po's.
The outer form contains summary information, such as vendor. The child
form is for entering lines. In order, the fields are account,
quantity, unit price, extended (qty * unit), then two free text fields.
It is bound to the outer form on a shared id, which uses an autonumber
key to assure a unique id across all users.

This single client encounters an error when moving from the unit price
field to the first free text field. All fields on the current line
display #error. The error message displayed is "Not a valid bookmark".
The only code on the unit price field is to set the extended cost
value equal to quantity * unit price. The error message is not
produced through my error trap. If I ctrl+break to see what executes
next, nothing does

Neither the parent nor child form uses a recordset. I have not
declared, nor do I use, any bookmarks on either form. I've declared
recordsets on each, which are used solely within their subs or
functions, then killed when exiting the sub or function. The parent
form is unbound, the child form is bound. The error is not consistent.
Sometimes it fails on the 2nd po to be entered, sometimes the 4th,
sometimes further out. I have not yet seen it fail on the 1st. If the
form is closed then reopened, the first entered will not encounter
errors. Once it has produced the error, even rolling the mouse over
the subform will produce it. The error message box will sometimes be
displayed multiple times.

I cannot find any consistency in the number of times the error is
displayed, or in the number of entries it will accept prior to
producing it, though it is typically between 2 and 12.
I cannot find any consistency in the data used in the record that
produces the error.
I have reconfigured the client's application from the master.
I have relinked another client's application to this client's tables
and encounter the error.
I have relinked this client's app to another client's tables and do not
encounter the error.
I can use another client's accounts with the client's app & tables and
do not encounter the error.
I can use this client's accounts with another client's app & tables and
do encounter the error.
I do not see any differences between Citrix vs non-citrix, though
another tester reports that the error is not encountered in a
non-Citrix environment.
I've not yet encountered the error if I enter all detail lines in the
subform first, then enter data in the outer form.
I've tried placing break points and error handlers within all code on
the subform, as well as the subform object on the parent form. None of
these are encountered when this error is produced.

I have rebuilt all tables. I noticed when testing, that sorting
certain fields in the account table would produce this error, when
viewing them through the table link. These were text fields, using the
A-Z button to sort asc/desc. I rebuilt that table from scratch. I
repopulated it by exporting data from the former table to a text file,
then importing the data from that text file. This did not change the
testing results.

My only thought for a fix is to entirely redesign the form to eliminate
use of a subform, which will take more time than I currently have
available. Of course, on the other hand, I'd be partly done with it if
I'd not done so much testing/rebuilding.

I am at a loss as to what could be causing this error? Any ideas?

Oct 17 '06 #1
14 7727
Apologies - both the parent and child forms are bound to tables, each a
different table. Both are in the local back end.

Oct 17 '06 #2

ml_sauls wrote:
Apologies - both the parent and child forms are bound to tables, each a
different table. Both are in the local back end.
Doesn't using Citrix mean that you have multiple users using the same
copy of the front end? Does this also mean that you have multiple
users using the same copy of the 'local' and 'temporary storage'
databases? Have you determined whether the problem happens when
multiple users are accessing these databases via Citrix? You might
want to revisit the storage architecture of your back end databases.

Have you compacted and repaired all databases? Does this particular
Access 2000 installation have the latest service packs installed?

Bruce

Oct 17 '06 #3
de************* **@gmail.com wrote in
news:11******** **************@ e3g2000cwe.goog legroups.com:
Doesn't using Citrix mean that you have multiple users using the
same copy of the front end?
Only if you've set it up wrong.

Under a terminal server setup, you'd do exactly the same as running
on individual workstations -- each user gets an individual copy of
the front end. Failing to do that leads to the same problems that
any sharing of a front end causes.

Someone people seem allergic to doing this with some idea that it's
wasteful of disk space. Well, unless you have a 1GB front end (which
would mean you're doing something incredibly wrong), I can't see how
it would be an issue. The front ends of most of my clients'
applications are under 10MBs, so even supporting 100 users isn't a
significant amount of disk space on modern-day servers.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 17 '06 #4
Though it is through Citrix, neither the front end or either of the
local table files are shared by multiple users. Even if it were, all
my testing was with only me, which tells me that even if sharing causes
other issues, it does not seem to be a factor in this instance.

Yes, I have rebuilt all databases, including compact/repair. The front
end has been reconfigured from an unused master. I have also
decompiled/recompiled that. I have been assured that the client is
running A2k with all service packs installed. Regardless, I know the
local environment at work has all service packs installed, and again,
that's where I'm testing and where I'm getting an error. OS is Windows
xp.

I've cut my losses on testing and have begun redesigning both the
parent and subform to be unbound. Though I've been unable to pinpoint
just *why* this error occurs, I am hoping that making everything
unbound will eliminate it.

de************* **@gmail.com wrote:
Doesn't using Citrix mean that you have multiple users using the same
copy of the front end? Does this also mean that you have multiple
users using the same copy of the 'local' and 'temporary storage'
databases? Have you determined whether the problem happens when
multiple users are accessing these databases via Citrix? You might
want to revisit the storage architecture of your back end databases.

Have you compacted and repaired all databases? Does this particular
Access 2000 installation have the latest service packs installed?

Bruce
Oct 18 '06 #5

ml_sauls wrote:
Though it is through Citrix, neither the front end or either of the
local table files are shared by multiple users. Even if it were, all
my testing was with only me, which tells me that even if sharing causes
other issues, it does not seem to be a factor in this instance.

Yes, I have rebuilt all databases, including compact/repair. The front
end has been reconfigured from an unused master. I have also
decompiled/recompiled that. I have been assured that the client is
running A2k with all service packs installed. Regardless, I know the
local environment at work has all service packs installed, and again,
that's where I'm testing and where I'm getting an error. OS is Windows
xp.

I've cut my losses on testing and have begun redesigning both the
parent and subform to be unbound. Though I've been unable to pinpoint
just *why* this error occurs, I am hoping that making everything
unbound will eliminate it.

de************* **@gmail.com wrote:
Doesn't using Citrix mean that you have multiple users using the same
copy of the front end? Does this also mean that you have multiple
users using the same copy of the 'local' and 'temporary storage'
databases? Have you determined whether the problem happens when
multiple users are accessing these databases via Citrix? You might
want to revisit the storage architecture of your back end databases.

Have you compacted and repaired all databases? Does this particular
Access 2000 installation have the latest service packs installed?

Bruce

Please pass along if this resolves the issue. I have had similar
problem pop up in the last 3 months. My issue is not on a citrix box
but does occur only on some workstations and randomly during data
entry. This is ony happening on Access XP or 03 with an access back
end. If I use Sql Server I have nothing like this.

I too am pulling my hair out over this issue.

Thanks

Scott

Oct 23 '06 #6
"ml_sauls" <ml******@yahoo .comwrote in
news:11******** *************@h 48g2000cwc.goog legroups.com:
I have rebuilt all databases, including compact/repair. The front
end has been reconfigured from an unused master. I have also
decompiled/recompiled that. I have been assured that the client
is running A2k with all service packs installed. Regardless, I
know the local environment at work has all service packs
installed, and again, that's where I'm testing and where I'm
getting an error. OS is Windows xp.
This is a corruption issue, without doubt, as Peter Miller, who is
the recognized non-Microsoft expert on Jet, says in this post (all
on one line, of course):

http://groups.google.com/group/comp..../msg/6a68a5c1d
4c34872
I've cut my losses on testing and have begun redesigning both the
parent and subform to be unbound. Though I've been unable to
pinpoint just *why* this error occurs, I am hoping that making
everything unbound will eliminate it.
Unbound may avoid the error, but it won't eliminate the problem
that's causing the corruption. You need to fix *that*.

Keep in mind that the corruption could be in particular records, so
you may need to import groups of records into your new database,
rather than just importing the table structures and data all at
once. Peter advises importing the data structure, then importing
groups of records until you find the corrupted records.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 23 '06 #7

David W. Fenton wrote:
"ml_sauls" <ml******@yahoo .comwrote in
news:11******** *************@h 48g2000cwc.goog legroups.com:
I have rebuilt all databases, including compact/repair. The front
end has been reconfigured from an unused master. I have also
decompiled/recompiled that. I have been assured that the client
is running A2k with all service packs installed. Regardless, I
know the local environment at work has all service packs
installed, and again, that's where I'm testing and where I'm
getting an error. OS is Windows xp.

This is a corruption issue, without doubt, as Peter Miller, who is
the recognized non-Microsoft expert on Jet, says in this post (all
on one line, of course):

http://groups.google.com/group/comp..../msg/6a68a5c1d
4c34872
I've cut my losses on testing and have begun redesigning both the
parent and subform to be unbound. Though I've been unable to
pinpoint just *why* this error occurs, I am hoping that making
everything unbound will eliminate it.

Unbound may avoid the error, but it won't eliminate the problem
that's causing the corruption. You need to fix *that*.

Keep in mind that the corruption could be in particular records, so
you may need to import groups of records into your new database,
rather than just importing the table structures and data all at
once. Peter advises importing the data structure, then importing
groups of records until you find the corrupted records.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
I have created new databases and imported the data in with no errors or
problems. The error happens during data entry. I always thought
corruption until I did everything by the book and it still happens.

Thanks!

Scott

Oct 24 '06 #8
sc*******@gmail .com wrote in
news:11******** **************@ h48g2000cwc.goo glegroups.com:
>
David W. Fenton wrote:
>"ml_sauls" <ml******@yahoo .comwrote in
news:11******* **************@ h48g2000cwc.goo glegroups.com:
I have rebuilt all databases, including compact/repair. The
front end has been reconfigured from an unused master. I have
also decompiled/recompiled that. I have been assured that the
client is running A2k with all service packs installed.
Regardless, I know the local environment at work has all
service packs installed, and again, that's where I'm testing
and where I'm getting an error. OS is Windows xp.

This is a corruption issue, without doubt, as Peter Miller, who
is the recognized non-Microsoft expert on Jet, says in this post
(all on one line, of course):

http://groups.google.com/group/comp....ess/msg/6a68a5
c1d 4c34872
I've cut my losses on testing and have begun redesigning both
the parent and subform to be unbound. Though I've been unable
to pinpoint just *why* this error occurs, I am hoping that
making everything unbound will eliminate it.

Unbound may avoid the error, but it won't eliminate the problem
that's causing the corruption. You need to fix *that*.

Keep in mind that the corruption could be in particular records,
so you may need to import groups of records into your new
database, rather than just importing the table structures and
data all at once. Peter advises importing the data structure,
then importing groups of records until you find the corrupted
records.

I have created new databases and imported the data in with no
errors or problems. The error happens during data entry. I
always thought corruption until I did everything by the book and
it still happens.
It *is* corruption.

And simply importing the tables into a new database is likely
carrying over the corruption from the old data, as it is data-based
corruption (i.e., corruption in particular rows), not structural at
the table level or higher.

You need to follow the instructions in the post cited above, and
*not* just do a single import of table and data together, but import
structure first and then finite sets of data until the error occurs,
at which point you'll have found the corrupted record(s) which you
can replace with a new one and then delete the corrupt one.

It could also be that the new database you create is fine and as
soon as someone edits it, whatever is causing the corruption in the
first place kicks in and corrupts it again. You need to solve the
real problem, which is not that your database is corrupt, but that
something is repeatedly causing your database to become corrupted.
Remove the cause and you don't need fix corrupt databases any more.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Oct 24 '06 #9


On Oct 24, 3:43 pm, "David W. Fenton" <XXXuse...@dfen ton.com.invalid >
wrote:
scottk...@gmail .com wrote innews:11****** *************** *@h48g2000cwc.g ooglegroups.com :


David W. Fenton wrote:
"ml_sauls" <ml_sa...@yahoo .comwrote in
news:11******* **************@ h48g2000cwc.goo glegroups.com:
I have rebuilt all databases, including compact/repair. The
front end has been reconfigured from an unused master. I have
also decompiled/recompiled that. I have been assured that the
client is running A2k with all service packs installed.
Regardless, I know the local environment at work has all
service packs installed, and again, that's where I'm testing
and where I'm getting an error. OS is Windows xp.
This is a corruption issue, without doubt, as Peter Miller, who
is the recognized non-Microsoft expert on Jet, says in this post
(all on one line, of course):
>http://groups.google.com/group/comp....ess/msg/6a68a5
c1d 4c34872
I've cut my losses on testing and have begun redesigning both
the parent and subform to be unbound. Though I've been unable
to pinpoint just *why* this error occurs, I am hoping that
making everything unbound will eliminate it.
Unbound may avoid the error, but it won't eliminate the problem
that's causing the corruption. You need to fix *that*.
Keep in mind that the corruption could be in particular records,
so you may need to import groups of records into your new
database, rather than just importing the table structures and
data all at once. Peter advises importing the data structure,
then importing groups of records until you find the corrupted
records.
I have created new databases and imported the data in with no
errors or problems. The error happens during data entry. I
always thought corruption until I did everything by the book and
it still happens.It *is* corruption.

And simply importing the tables into a new database is likely
carrying over the corruption from the old data, as it is data-based
corruption (i.e., corruption in particular rows),notstruct ural at
the table level or higher.

You need to follow the instructions in the post cited above, and
*not* just do a single import of table and data together, but import
structure first and then finite sets of data until the error occurs,
at which point you'll have found the corrupted record(s) which you
can replace with a new one and then delete the corrupt one.

It could also be that the new database you create is fine and as
soon as someone edits it, whatever is causing the corruption in the
first place kicks in and corrupts it again. You need to solve the
real problem, which isnotthat your database is corrupt, but that
something is repeatedly causing your database to become corrupted.
Remove the cause and you don't need fix corrupt databases any more.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/- Hide quoted text -- Show quoted text -
Do you think its possible that the program or data in the program could
cause this?

Thanks

Scott

Oct 25 '06 #10

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

Similar topics

17
4177
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset Set rs = Me.RecordsetClone rs.Find "=" & lngContractID If Not rs.EOF Then Me.Bookmark = rs.Bookmark I must site the Heisenberb Uncertainty...
3
2374
by: DrFoo | last post by:
(Access 97 and 2003) Hi, Here's a smippit of code that works correctly about 95% of the time. This part of the algorithm... - find the first value = true - if found, find next value = false - if found, find next value = true
2
8588
by: corepaul | last post by:
I am fairly new to Access and I have a problem trying to use bookmarks with a recordset. I have a recordset dimensioned as, Dim rstFoodDesc As ADODB.Recordset ' recordset Dim bMark As Variant ' variable to store bookmark I open the recordset with the statements,
3
4797
by: Wayne Wengert | last post by:
In VB6/ADO I used to use the code below to put all the records that did not have a valid email address into an array which I used later to print mailing labels. I am not aware of a NET equivalent. What is the right way to approach this in NET? Wayne ============================================== varSentToCount = 0 'Count of recipients
1
3361
by: chingchanglang | last post by:
Hi...Below is my code where I am trying to get the recordsetclone of one page and take it to an Edit page where I can edit it. There are onlyl two pages, one primary key, Topic Number. Anyone have any ideas where I'm going wrong? I've checked the properties on the Edit form. I've tried bining them and unbounding them to no avail! :confused: ...
5
2453
by: Kaur | last post by:
Hi, I am having a strange bookmark problem. I have a main form called frmSurveyQSubQ. This form has a subform called sfrmRespodent. SfrmRespondent has a sfrm in it called sfrsfrmResponses. I have a list box on main form called lstQuestion that displays all the questions relevant to a survey. Clicking on a question in it fills the second list...
11
4260
by: Tom Clavel | last post by:
I need to make sure that I am on a different record than I just was on, in a DAO recordset. code fragment: 1. strFind = "thisSource = " & tripID & " AND thisTrip = " & tripID 2. rs.FindFirst (strFind) 3. If Not rs.NoMatch Then 4. strBookmark = rs.Bookmark 5. rs.MoveFirst
13
3433
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The form is based on a link table to sql server. Here is the code: Dim rst As DAO.Recordset Dim InventoryItem As String InventoryItem = "'" &...
6
7089
by: jaz215 | last post by:
hi! in my program i'm using the find and bookmark function of the adodc control. as the people want me to use a normal data control, when i tried to run it using the same commands i've got an error. is there any other way to do this function through a data control? i'll post on what i've got but i it seems no to work. can anyone help me pls.. ...
0
7409
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7664
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7918
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7436
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7766
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4958
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1022
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
715
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.