不是有效的书签 - 不使用记录集 [英] not a valid bookmark - not using a recordset

查看:63
本文介绍了不是有效的书签 - 不使用记录集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立了一个输入和管理采购订单的系统。这是由> 10个客户使用

。有些在Access 97中使用它,大多数在A2k中。关于

一半通过Citrix实现使用它。它分为一个

前端和3个后端(1个网络用于永久存储,1个本地用于

临时存储,1个本地用于特定用户的存储)。


一个特定的形式是单个客户端失败(Access 2000,使用

Citrix)。此表单是带有子表单的表单,用于输入po'。

外表包含摘要信息,例如供应商。孩子

表格用于输入行。按顺序,字段是帐户,

数量,单价,扩展(qty *单位),然后是两个自由文本字段。

它绑定到外部表单上一个共享ID,它使用一个自动编号

键来确保所有用户的唯一ID。


这个单个客户端从单价转移时遇到错误

字段到第一个自由文本字段。当前行上的所有字段

显示#error。显示的错误消息是Not a valid bookmark。

单价字段上的唯一代码是设置延长的费用

等于数量*单价。错误消息不是通过我的错误陷阱产生的
。如果我按ctrl + break查看接下来执行什么
,那么什么都没有。

父表单和子表单都不使用记录集。我没有宣布
,也没有使用任何表格上的任何书签。我已经在每个记录集上声明了

记录集,这些记录集仅在其sub或

函数中使用,然后在退出子或函数时被终止。父母

表单是未绑定的,子表单是绑定的。错误不一致。

有时它会在第二个po输入时失败,有时候第四个,

有时会更远。我还没有看到它在1日失败。如果

表单已关闭然后重新打开,则第一次输入将不会遇到

错误。一旦产生错误,即使将鼠标滚动到

,子窗体也会产生它。错误消息框有时会多次显示




我发现错误的次数没有任何一致性
$ b显示$ b,或者在生成它之前它将接受的条目数量,但它通常在2到12之间。

我找不到任何一致性记录中使用的数据

产生错误。

我已经从主服务器重新配置了客户端的应用程序。

我重新链接另一个客户的应用程序到这个客户的表格

并遇到错误。

我已将此客户的应用程序重新链接到另一个客户的表并且不要

遇到错误。

我可以使用客户的应用程序&桌子和

没有遇到错误。

我可以将此客户的帐户与其他客户的应用程序&表格和

确实遇到错误。

我没有看到Citrix与非Citrix之间存在任何差异,尽管

另一位测试人员报告说在

非Citrix环境中没有遇到错误。

如果我在
$ b中输入所有细节线,我还没有遇到错误首先是$ b子表单,然后在外部表单中输入数据。

我已尝试在子表单的所有代码中放置断点和错误处理程序,以及父窗体上的子窗体对象。生成此错误时遇到的这些都没有。


我重建了所有表格。我注意到,在测试时,当通过表格链接查看它们时,会对表格中的某些字段进行排序

会产生此错误。这些是文本字段,使用

A-Z按钮对asc / desc进行排序。我从头开始重建那张桌子。我通过将前表中的数据导出到文本文件来重新填充它,然后从该文本文件中导入数据。这并没有改变

测试结果。


我唯一的想法就是完全重新设计表格以消除

使用子表单,这将花费比我目前更多的时间

可用。当然,另一方面,如果我没有做过如此多的测试/重建,我将部分完成它。


我不知道可能导致这个错误的原因是什么?有什么想法吗?

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?

推荐答案

抱歉 - 父表和子表都绑定到表格,每个表格都是

不同的表。两者都在当地的后端。

Apologies - both the parent and child forms are bound to tables, each a
different table. Both are in the local back end.




ml_sauls写道:

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.



没有使用Citrix意味着你有多个用户使用相同的

前端副本?这是否也意味着您有多个使用本地和临时存储'/ b $ b数据库的相同副本的
用户?您是否确定了多个用户通过Citrix访问这些数据库时是否发生了问题?您可能希望
想要重新访问后端数据库的存储架构。


您是否已压缩并修复了所有数据库?这个特殊的

Access 2000安装是否安装了最新的服务包?


布鲁斯

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


de *************** @gmail .com 写在

新闻:11 ********************** @ e3g2000cwe.googlegro ups.com:
de***************@gmail.com wrote in
news:11**********************@e3g2000cwe.googlegro ups.com:

不使用Citrix意味着您有多个用户使用前端的

相同副本?
Doesn''t using Citrix mean that you have multiple users using the
same copy of the front end?



只有当你设置错误时才会这样。


在终端服务器设置下,你会做什么与在各个工作站上运行

完全相同 - 每个用户获得前端的单独副本

。如果不这样做就会导致同样的问题,即任何前端共享导致的问题。


有人因为有人认为这样做而对此过敏's
浪费了磁盘空间。好吧,除非你有一个1GB的前端(

意味着你做了一些令人难以置信的错误),我看不出它是多么的b / b
问题。我的大多数客户的b / b
应用程序的前端都不到10MB,所以即使支持100个用户也不是现代服务器上的大量磁盘空间。


-

David W. Fenton http://www.dfenton.com/

usenet at dfenton dot com http://www.dfenton.com/DFA/


这篇关于不是有效的书签 - 不使用记录集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆