473,406 Members | 2,705 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,406 software developers and data experts.

Adding infos to my Database using ASP programs keeps on deleting infos in my Database

Good day to everybody!

I have been having this problem for quite a few times already.

I have been trying to add informations to our database, the programs on my add page (entry_schedule.asp) is working great, it could add infos to the Database, no problem but for some reason when i am using it for a long time already it just deletes the informations in the Database so i would go back again to information number 1.

Say i am adding informations and i am half way through already and hit my Add button it will just show this error:

ADODB.field error (800aObcd)
Either bof or eof is true, or the current record has been deleted.
Requested operation requires a current record.

And when i check my database, the informations are all gone

I am confused now and i don't know what was going on. I don't even know if it's my program or some virus out there.

If anyone could tell me what can i do or direct me to a software place to avoid this, i would greatly appreciate it.

Thank you so much,

Celi
Oct 31 '06 #1
1 1272
nedu
65
Hi Celi,

For this problem u shall use the transactions in the connection object . .

Use the beginstrans,committrans,rollbacktrans property of the connection obj . .
Nov 2 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: PayPal Service | last post by:
<div id=3D"AOLMsgPart_0_cfc2d77d-bb8d-499a-832c-efe0f664221a"> <html> <head> <title>Dear PayPal User</title> </head>
4
by: Brian K. | last post by:
I am trying to split up and secure a database that we've been using on a network for a few years, following the procedure listed in Q304932 from microsoft. I create a new blank database for...
1
by: mirko | last post by:
How can I collect infos about the caller class of a custom class library (dll), directly by the class library itself? I tried using the StackTrace class inside the class library, but the last...
6
by: cpnet | last post by:
I've authored a custom web component (a non-ui component kinda like a DataSet) and so far it's working. When my web component is added to the web form in the designer from the toolbox, the...
1
by: seanmayhew | last post by:
I have a form page that that while editing saves the data to an xml doc before submitting to db. On each page unload it saves the xmldoc as the user can add multiple items to the company like...
4
by: Newbie | last post by:
Can someone help: Is there a way with ado.net and it's disconnected dataset to delete a record in a table if you can't specify a unique field in an SQL WHERE clause. The current Dbase .dbf...
2
by: smartchap009 | last post by:
hi, If i can get help in writing perl code for adding updating and deleting user in linux.adds a user to the database file called passwd. With the -a switch the program accepts a user-id and...
1
by: smartchap009 | last post by:
Adding,Updating and Deleting user using perl script in linux -------------------------------------------------------------------------------- hi, If i can get help in writing perl code for...
3
VbaNewbee
by: VbaNewbee | last post by:
I have a form, once a button is clicked it sends out an excel email attachment to lotus notes. The first time it works fine, however ifyou try to attach and send out the attachment again it states...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.