|
-
Sep 14th, 2007, 06:07 AM
#5
Thread Starter
New Member
Re: Help Me Please!!!
ummm, ok.. i made another program (that is, in order for me not to ruin my other one). its just a trial program for my problem. i have this code on my form
Code:
Private Sub Command1_Click()
Adodc1.Recordset.AddNew
Text1.SetFocus
End Sub
Private Sub Command2_Click()
Adodc1.Recordset![nme] = Text1.Text
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.Delete
MsgBox "record deleted!"
End Sub
Private Sub Command4_Click()
DataReport1.Show
End Sub
i first click the command1 in order for me to add a name, then i click command2 to save the name i entered, but when i have entered and saved two names, and i click command4, the datareport shows the two names that i entered, for example:
name: mark
name: mike
that's what's on my datareport, what should i do if i only want to display one name?
P.S. i have, on my project, a form, a DataEnvironment and a DataReport. please tell me what to do...
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
|