janeatwork
Programmer
hello everyone,
I’m trying to convert my existing database to ADO. The problem is that I can’t work out how to get my forms to open in the same way using ADO as they would open if they were bound to a table or query.
I want my form to open in DataEntry Mode. My form bound to a query or table would open with a blank screen. At the bottom it would say record 1 of 1. Opening the form based on a recordset, does give me a blank screen, but it now says at the bottom Record 14590 of 14590, which means I can scroll up to existing records, which I definitely don’t want anyone to do.
Can anyone suggest a solution.
My form is set as,
AllowEdits – Yes
AllowDeletions – No
AllowAdditions – Yes
DataEntry – Yes
When the form loads,
Set Me.Recordset = rst
Reference all the controls then
With rst
.AddNew
End With
Thankyou
I’m trying to convert my existing database to ADO. The problem is that I can’t work out how to get my forms to open in the same way using ADO as they would open if they were bound to a table or query.
I want my form to open in DataEntry Mode. My form bound to a query or table would open with a blank screen. At the bottom it would say record 1 of 1. Opening the form based on a recordset, does give me a blank screen, but it now says at the bottom Record 14590 of 14590, which means I can scroll up to existing records, which I definitely don’t want anyone to do.
Can anyone suggest a solution.
My form is set as,
AllowEdits – Yes
AllowDeletions – No
AllowAdditions – Yes
DataEntry – Yes
When the form loads,
Set Me.Recordset = rst
Reference all the controls then
With rst
.AddNew
End With
Thankyou