|
-
Jul 27th, 1999, 09:20 PM
#1
Thread Starter
New Member
here is my question:
http://www.vb-world.net/ubb/Forum1/HTML/005847.html
Thanks for your help
SLimak
------------------
Marek Karbarz
My WebPage
[email protected]
-
Jul 27th, 1999, 10:49 PM
#2
Lively Member
Hi,
Do you mean you want to save an empty record into your database
- OR -
Users will enter data, then you save the information that the users entered?
Preeti
-
Jul 27th, 1999, 10:57 PM
#3
Thread Starter
New Member
The second option
------------------
Marek Karbarz
My WebPage
[email protected]
-
Jul 28th, 1999, 06:13 PM
#4
Lively Member
Hi,
All you have to do is:
Dim SystemDb As Database
Dim SystemRs As dao.Recordset
Dim SQLStmt1 As String
Set SystemDb = Workspaces(0).OpenDatabase(App.Path & "\databasename")
SQLStmt1 = "Select * From tablename"
Set SystemRs = SystemDb.OpenRecordset(SQLStmt1, dbOpenDynaset)
With SystemRs
.AddNew
SystemRs![Field] = textbox1
SystemRs![Field] = textbox2
SystemRs![Field] = textbox3
SystemRs![Field] = textbox3
.Update
End With
Hope this helps,
Preeti
-
Jul 28th, 1999, 09:13 PM
#5
Thread Starter
New Member
-
Jul 29th, 1999, 06:41 AM
#6
Addicted Member
I may be way off but what the question mean to me is that you want your bound text to be empty when the form loads.
Private Sub Form_Load()
text1 = ""
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|