avatar
Asking help for Access!:(# Database - 数据库
i*g
1
ASP + Access to collect data from a webpage form,
that is, users fill in the form and click "submit",
my asp file will store the data into an Access table.
This program ran well, but yesterday after I deleted some
records which were entered by myself for testing, the
program can't run well. The error information is "The
file is in use." Actually, I just opened the database
and did nothing on it. O.K., I closed the database, then
another error information of "read-only data" appears.
Why? Thanks
avatar
j*a
2
When you want to change to data in Access, just close the
corresponding table view or design, no need to close the
Access file. Of course, closing it will be also OK.
But I don't know why is the "read-only data" problem. Maybe
your Access file has been damaged. I think the problem
should lie on Access file, not the ASP code.

【在 i*******g 的大作中提到】
: ASP + Access to collect data from a webpage form,
: that is, users fill in the form and click "submit",
: my asp file will store the data into an Access table.
: This program ran well, but yesterday after I deleted some
: records which were entered by myself for testing, the
: program can't run well. The error information is "The
: file is in use." Actually, I just opened the database
: and did nothing on it. O.K., I closed the database, then
: another error information of "read-only data" appears.
: Why? Thanks

avatar
i*g
3
Thanks for response, then how to recover
the access database files? The ASP file stores
data into two tables( some data into one table,
some others into another table, but the two tables
have some datas in common) in the access database,
and I just deleted the two testing records in the
two tables.

【在 j*****a 的大作中提到】
: When you want to change to data in Access, just close the
: corresponding table view or design, no need to close the
: Access file. Of course, closing it will be also OK.
: But I don't know why is the "read-only data" problem. Maybe
: your Access file has been damaged. I think the problem
: should lie on Access file, not the ASP code.

avatar
j*a
4
1. It's hard to undo some operations on Access database
file, as far I know. So what I mean to recover it is
to use the latest backup Access files, if your current
data file is in a mess.
2. I don't understand your points clearly. Are they
datus stored by ASP that be shared with two tables?
3. I think it's a good design of database to store datus
in one table, and transfer them in other tables by
relationships. Maybe your problem lies on the relationships.
If you can delete your test records in

【在 i*******g 的大作中提到】
: Thanks for response, then how to recover
: the access database files? The ASP file stores
: data into two tables( some data into one table,
: some others into another table, but the two tables
: have some datas in common) in the access database,
: and I just deleted the two testing records in the
: two tables.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。