473,513 Members | 2,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help/sos!

2 New Member
i have just started on vb,ihave encountered a problem,i have connected my form on student enrolment to ms access but when i try to add a record through form on run time it overwrites the previous record instead of adding a new,though i am using data1.recordsource.addnew property,where data1 is the name of data control.help to remove the problem
Feb 26 '07 #1
2 960
dorinbogdan
839 Recognized Expert Contributor
Replace Recordsource like:
Expand|Select|Wrap|Line Numbers
  1. data1.Recordset.AddNew
  2. ...
  3. data1.Recordset.Update
Feb 26 '07 #2
willakawill
1,646 Top Contributor
Hi. It is very important that you post the code that you have so far so that the experts here are not guessing blind. thanks
Feb 26 '07 #3

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

Similar topics

26
2616
sos
by: Goofy | last post by:
Hi all, i am trying to write php scripts using notepad but everytime i opened it, it automatically disappears after a few seconds. it is really frustruating. i cant write code. what can i do?
14
7958
by: mich | last post by:
Hi I am trying to use Windbg with SOS.dll on VS 2003 by following the article "SOS:It's Not Just an ABBA Song Anymore" at http://msdn.microsoft.com/msdnmag/issues/03/06/Bugslaye I tried the...
3
2836
by: Cheung, Jeffrey Jing-Yen | last post by:
Hi all, I need some help with debugging a "deadlock" in a production environment. I've managed to get a crash dump and have tried to analyzed it via WinDbg and SOS. Unfortunately, I am not...
1
1124
by: Kenny | last post by:
Hi, How a project can be simultanously working by 2 or more person? It looks to me the Re-compile is compiling for the whole project.. If I check out 1 page and you check out one page.. Then I...
29
15476
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
10
2224
by: B. Williams | last post by:
I have an assignment that requires me to write a program that uses a class, a constructor, a switch, and store the records in a text file. The second requirement is to create a function called...
12
2793
by: asif929 | last post by:
I am trying to write a program which creates four triangles. The program begins with prompting a user " Enter the size of triangles", number from 1 to N is the size of four triangles For Example if...
2
5504
by: johnxhc | last post by:
I am trying to use sos extension but almost half of the sos command do not work, for example 0:027!findtable No export findtable found 0:027!bpmd No export bpmd found 0:027!GCHandleLeaks...
1
234
by: Eric Sosman | last post by:
vaib wrote: Yes, there are people here who know a bit about the topic. In a small way, I'm one of them. But it's not the focus here, which means that the concentration of experts on your...
10
1278
by: xiao | last post by:
Can anyone help me to find out what are the structure of 'DataTable' ? Does loop the 14 layers or the 800*800 array first? (NumX=NumY=800) gridde and WriteHeader are two structures Thank you~~~...
0
7260
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
7161
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
7384
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
7539
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...
0
5686
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,...
1
5089
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.