Welcome to Dream.In.Code
Become a VB Expert!

Join 150,196 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,034 people online right now. Registration is fast and FREE... Join Now!




save and edit button codes

 
Reply to this topicStart new topic

save and edit button codes, how to write save and edit button codes if i am saving in MS-Access

scholarscoll
16 Sep, 2008 - 12:00 PM
Post #1

New D.I.C Head
*

Joined: 16 Sep, 2008
Posts: 1



Thanked: 1 times
My Contributions
how to write save and edit button codes if i am saving in MS-Access
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Save And Edit Button Codes
16 Sep, 2008 - 12:08 PM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

akhileshbc
RE: Save And Edit Button Codes
27 Sep, 2008 - 11:13 PM
Post #3

D.I.C Head
Group Icon

Joined: 26 Sep, 2008
Posts: 177



Thanked: 3 times
Dream Kudos: 50
My Contributions
What technology are you using???? ADO or DAO????
User is offlineProfile CardPM
+Quote Post

jaakko
RE: Save And Edit Button Codes
6 Oct, 2008 - 02:20 PM
Post #4

New D.I.C Head
*

Joined: 26 Sep, 2008
Posts: 21



Thanked: 2 times
My Contributions
QUOTE(scholarscoll @ 16 Sep, 2008 - 01:00 PM) *

how to write save and edit button codes if i am saving in MS-Access


Save button code:

if data1.recordset.updatable then data1.recordset.update

Edit button code

Data1.recordset.edit
User is offlineProfile CardPM
+Quote Post

akhileshbc
RE: Save And Edit Button Codes
6 Oct, 2008 - 10:57 PM
Post #5

D.I.C Head
Group Icon

Joined: 26 Sep, 2008
Posts: 177



Thanked: 3 times
Dream Kudos: 50
My Contributions
QUOTE
Save button code:

if data1.recordset.updatable then data1.recordset.update

Edit button code

Data1.recordset.edit

Its DAO !!!
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 04:42AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month