For the first time I encountered an error while using Do until loop on a simple database but on the more complex database its working okay , its very embarrassing to have such issues sure.
Where do I go wrong?
The error only occurs when I use the on click but not on compiling , see the picture attached and database
Read more
Where do I go wrong?
The error only occurs when I use the on click but not on compiling , see the picture attached and database
Code:
Option Compare Database
Option Explicit
Private Sub CmdSales_Click()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim qdf As DAO.QueryDef
Dim prm As DAO.Parameter
Dim...
Read more