Xiang
03-22-2004, 10:51 AM
Dear Sir,
Refers to VB 6.0
In my program, my stored data will automatically retrived on the form during Form_Load. How could I avoid the stored data retrieved from a database file during the Form_Load?
Private Sub Form_Load()
Set gDB = OpenDatabase(App.Path & "\ar.mdb")
Set RS = Nothing
Set RS = gDB.OpenRecordset("SELECT * FROM Setting ORDER BY SPeriod")
End Sub
Thanks
Xiang
Refers to VB 6.0
In my program, my stored data will automatically retrived on the form during Form_Load. How could I avoid the stored data retrieved from a database file during the Form_Load?
Private Sub Form_Load()
Set gDB = OpenDatabase(App.Path & "\ar.mdb")
Set RS = Nothing
Set RS = gDB.OpenRecordset("SELECT * FROM Setting ORDER BY SPeriod")
End Sub
Thanks
Xiang