Yesterday collected a debt: "hay-io where the sample database access program is full coding ?!"
Yup, it has nothing to do with the title. But the debtor then asks about how to refresh the view on DataReport. Because the example I gave some time ago is incomplete (sorry ... hehehe--- lol).
Oh yes, DataReport is an existing facility in Visual Studio 6. As the name implies, DataReport is used to create reports / reports to be printed through the printer.
DataReport is an alternative to creating reports if we do not have the more popular CrystalReport program.
Here's the VB 6 source code for updating / refreshing the display on DataReport:
Private Sub btnLaporan_Click()
If DataEnvironment1.rsCommand1.State = 1 Then
DataEnvironment1.rsCommand1.Close
End If
DataEnvironment1.rsCommand1.Open
DataEnvironment1.rsCommand1.Requery
DataReport1.Refresh
DataReport1.Show
DataEnvironment1.rsCommand1.Close
End Sub
Well, it means my debt is already paid too ... eh not ya .. hihihi t:
Yup, it has nothing to do with the title. But the debtor then asks about how to refresh the view on DataReport. Because the example I gave some time ago is incomplete (sorry ... hehehe--- lol).
Oh yes, DataReport is an existing facility in Visual Studio 6. As the name implies, DataReport is used to create reports / reports to be printed through the printer.
DataReport is an alternative to creating reports if we do not have the more popular CrystalReport program.
Here's the VB 6 source code for updating / refreshing the display on DataReport:
Private Sub btnLaporan_Click()
If DataEnvironment1.rsCommand1.State = 1 Then
DataEnvironment1.rsCommand1.Close
End If
DataEnvironment1.rsCommand1.Open
DataEnvironment1.rsCommand1.Requery
DataReport1.Refresh
DataReport1.Show
DataEnvironment1.rsCommand1.Close
End Sub
Well, it means my debt is already paid too ... eh not ya .. hihihi t:
Creadit : ilmubiner
0 Comments
EmoticonEmoticon