G
Guest
[i might just needed to re-boot; reckon that's it, ignore the following pre-did inquiry Good People]
I've invented my first big VBA function, but when I send my stuff down to it it'll fail to write 1 out of 24 records, or hang. Plus it takes a long time.
So, I am wondering about some tests; the rst is at EOF, or it doesn't matter, right?
Roughly,
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set rst1 = New ADODB.Recordset
rst1.ActiveConnection = "
rst1.Open "tbl", , adOpenKeyset, adLockOptimistic, adCmdTable
(same for rst2)
For Each ctl In Me.Controls
If ctl.ControlType = acTextBox Then
Select Case ctl.Name
Case "txtJeffCo_1DUIfine"
blnResult = HandleTransaction(curMoney, 1, Nz(ctl.Value, "?"), True, rst1, rst2)
Case
I've invented my first big VBA function, but when I send my stuff down to it it'll fail to write 1 out of 24 records, or hang. Plus it takes a long time.
So, I am wondering about some tests; the rst is at EOF, or it doesn't matter, right?
Roughly,
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set rst1 = New ADODB.Recordset
rst1.ActiveConnection = "
rst1.Open "tbl", , adOpenKeyset, adLockOptimistic, adCmdTable
(same for rst2)
For Each ctl In Me.Controls
If ctl.ControlType = acTextBox Then
Select Case ctl.Name
Case "txtJeffCo_1DUIfine"
blnResult = HandleTransaction(curMoney, 1, Nz(ctl.Value, "?"), True, rst1, rst2)
Case