I'm attempting to declare DAO variables in VB, but when I go to assignment statements, it says they must be declared. But I've just declared them in the line above! What's going on?
Code:
Public Class frmBaseForm Public acDb As dao.Database Public acRs As dao.Recordset acRs = acDb.OpenRecordset("Something") End Class
acRs shows up as undeclared in the last line.