|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Anyone looking for a way to modernize legacy data or easily migrate to a more cost-effective database without sacrificing functionality will benefit from this seminar. View the Intro to Advantage Database Server now! |
|
#1
|
|||
|
|||
|
I'm developing an application, I use DAOs to access data form the server, and I want the user to be able to save & open data entered in the application. I can't make the source code work. I'm using Visual Basic 6.0
------------------ Silas [This message has been edited by Silas (edited April 26, 2000).] |
|
#2
|
|||
|
|||
|
Hi,
there are several ways. you could - save it in the windows registry - create a text file and store your data there: dim fno as integer fno = freefile open "file.txt" for output as fno print #fno, "Hello World" close fno - if you are accessing a database you could insert your data in it dim rs as recordset dim db as database 'open db - i don't know the command by heart 'then open the recordset set rs = db.openrecordset("name_of_table", dbopendynaset); 'now insert your data rs.addnew rs!Field1 = "Data1" rs!Field2 = "Data2" rs.update Hope this helps, Chris. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Data Saving & Retreival |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|