C
chibi_vb
I can access the fields I need from the SQL query, but I am having trouble
opening up the premade report and populating it.
Note: sSQL is a functioning SQL query
dim db As DAO.Database
dim rSet As DAO.Recordset
set db As = CurrentDB
set rSet = db.OpenRecordset(sSQL, dbOpenSnapShot)
If rSet.RecordCount = 0 Then
MsgBox "There are 0 records", vbExclamation, "No Records"
Else
' What to do here??
End If
I can exact the specific data from the recordset for a specifc field. I
need to be able to set the following:
-text fields
-checkboxes
anybody out there that can help with this problem?
Also, need to know how to a printing/no printing option for the report for
when it opens or close (either or..).
opening up the premade report and populating it.
Note: sSQL is a functioning SQL query
dim db As DAO.Database
dim rSet As DAO.Recordset
set db As = CurrentDB
set rSet = db.OpenRecordset(sSQL, dbOpenSnapShot)
If rSet.RecordCount = 0 Then
MsgBox "There are 0 records", vbExclamation, "No Records"
Else
' What to do here??
End If
I can exact the specific data from the recordset for a specifc field. I
need to be able to set the following:
-text fields
-checkboxes
anybody out there that can help with this problem?
Also, need to know how to a printing/no printing option for the report for
when it opens or close (either or..).