|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Record CLone Issue
hello
Im trying to clone my a record on my form so my user doesnt have to re key all the information twice. No on has been able to help me.....Im using a data control liked to my access database. now in access their is a dup function... below is my code but given me errors much help needed thanks or a example error: compile error: method or data member not found this points to recordsetclone property? Private Sub Command12_Click() Set rstClone = Me.RecordsetClone rstClone.MoveLast DoCmd.GoToRecord , , acNewRec Set rstNew = Me.Recordset With rstNew .text88(0) = rstClone.text88(0) End With rstNew.Close Set rstNew = Nothing rstClone.Close Set rstClone = Nothing End Sub |
|
#2
|
|||
|
|||
|
Are you coding inside Access? The recordset clone method is Access-specific and not available in other flavors of VB.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
ok
so how would you clone in VB?
|
|
#4
|
|||
|
|||
|
ok
well i think everyone is confused... Im just trying to clone or duplicate the record from vb on my form so the user dosent have to re key information a person can have 5 records associated with them.
So if record one has joe smith and he has same information but soem fields different they can click a control to clone or duplicate the record so less rekeying? |
|
#5
|
|||
|
|||
|
Lets try again
Ok so i have 8 feilds in my vb form
Name Address City state zip phone product order no Now i want to be able to duplicate(clone the record) so the user wont have to re type the first 6 feilds(easier for the user)...? So a person can have multiple order no and products but with same name, address extc So i want to be able to duplictae the record so less keying and the user would only have to change the product and orderno? much help needed im using DAO.... |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Record CLone Issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|