I have spent the last few hours searching forums and MSDN but still am not sure what some of the code in the following VB6 program is doing.
I cannot access the Help Files for VB6 because they apparently were not installed by the former IT Manager.
Could someone please look at the following section of code? I assume that the first 2 statements are creating new databases and the next 2 create recordsets.
What is a recordset?
********start of code******************
Dim dbUPSWorld As DAO.Database
Dim dbTableForUPSImport As Database
Dim rsUPSWorld As DAO.Recordset
Dim rsTableForUPSImport As DAO.Recordset
Private Sub Add()
Set rsTableForUPSImport = dbTableForUPSImport.OpenRecordset("SELECT * FROM TableForUPSImport")
**********end of code******************
What exactly is the last line of code doing?
Thanks a lot.
malaize
I cannot access the Help Files for VB6 because they apparently were not installed by the former IT Manager.
Could someone please look at the following section of code? I assume that the first 2 statements are creating new databases and the next 2 create recordsets.
What is a recordset?
********start of code******************
Dim dbUPSWorld As DAO.Database
Dim dbTableForUPSImport As Database
Dim rsUPSWorld As DAO.Recordset
Dim rsTableForUPSImport As DAO.Recordset
Private Sub Add()
Set rsTableForUPSImport = dbTableForUPSImport.OpenRecordset("SELECT * FROM TableForUPSImport")
**********end of code******************
What exactly is the last line of code doing?
Thanks a lot.
malaize