Working in VBA Access
I have some update queries that add data to one field in a table. After they run, there is a select query that is run to determine that there are no longer any null data points in that field.
If the rst.RecordCount > 0 then open up the select query to see results for manual review, once these items have been manually reviewed and the rst is closed I would want to continue on to future code.
I tried a Do While loop but this broke access. I tried an if statement but this does not continue to future code from what I saw.
Private Sub RunFDE_Click()
Dim rst As Recordset
'Turn off Access warnings
'DoCmd.SetWarnings (False)
'Run Update Queries
'DoCmd.OpenQuery "FDE - A1B Update Outbound GL Code"
'DoCmd.OpenQuery "FDE - A1C Update Inbound GL Code"
'Turn Access warnings on
'DoCmd.SetWarnings (True)
Set rst = CurrentDb.OpenRecordset("FDE - B1A Review Null GL Code")
Do While rst.RecordCount > 0
DoCmd.OpenQuery "FDE - B1A Review Null GL Code"
Loop
'DoCmd.OpenQuery "FDE - C1A Update Remaining to 3rd Party"
'More future code
End Sub