I assume the database is Access. First create the database and convert it to a
older version.(Tools-->Database Utilities --> Convert Database --> To Priorer
Database Version).
Then Create the interface with textboxes,COmmand button & dataaccessobj.
Connect the DAO to the converted database
(i.e - set database name(browse and select) & Record source (Select the Table
Name)
Then connect Text boxes to DAO
(i.e set Data source to DAO name & set data field )
in the command button click event
data1.recordset.addnew
data1 is DAO name
I hope this will help. But if you need an example mail me to [EMAIL PROTECTED]
setlan83 <[EMAIL PROTECTED]> wrote:
hello, i need to insert a record into an existing database by using
DAO.
can anyone tell me how to do so? any code that can use as references?
i try out but i wonder how to move a record in the database?
thanks :p
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "vbhelp" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Start your day with Yahoo! - make it your home page
[Non-text portions of this message have been removed]
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/