Hi Everyone,
I have a Split Database and i have been trying to arrange for one value in a field to duplicate in another, post is called (
Duplicating a value from one field to another)
After trying to get the below coding to work:
Dim db As DAO.Database
Dim rst As DAO.Recordset
Set db = CurrentDb()
Set rst = db.OpenRecordset("KitCost", dbOpenTable)
Do Until rst.EOF
rst.MoveFirst
If rst.Fields("TotalKitCost").Value > 0 Then
esle: rst.Edit
rst.Fields("TotalKitCost").Value = Me.Text8.Value
rst.Update
End If
rst.MoveNext
Loop
i found that you could not use the "dbOpenTable in a split database and you should use "dbOpenDynaset" after changing this information and saving i can no longer even get into my database.
This is a shared db on a server but only i have edited it on the network, if i attempt to gain access through the network and click the database the curser just scrolls and scrolls and it then states Not Responding, does anyone know if what i have done has affected this and how i can get back into it?
I have a Split Database and i have been trying to arrange for one value in a field to duplicate in another, post is called (
After trying to get the below coding to work:
Dim db As DAO.Database
Dim rst As DAO.Recordset
Set db = CurrentDb()
Set rst = db.OpenRecordset("KitCost", dbOpenTable)
Do Until rst.EOF
rst.MoveFirst
If rst.Fields("TotalKitCost").Value > 0 Then
esle: rst.Edit
rst.Fields("TotalKitCost").Value = Me.Text8.Value
rst.Update
End If
rst.MoveNext
Loop
i found that you could not use the "dbOpenTable in a split database and you should use "dbOpenDynaset" after changing this information and saving i can no longer even get into my database.
This is a shared db on a server but only i have edited it on the network, if i attempt to gain access through the network and click the database the curser just scrolls and scrolls and it then states Not Responding, does anyone know if what i have done has affected this and how i can get back into it?