Quantcast
Channel: Modules & VBA
Viewing all articles
Browse latest Browse all 21

Do until Loop Problem with VBA

$
0
0
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


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

Viewing all articles
Browse latest Browse all 21

Trending Articles