A
AnhCVL via AccessMonster.com
I am running an Access database, with a table name Products which contain
Items name, Item descriptions, Item sold, Sold price.
I've create a report to run on a query to base on the Item Sold status ( yes
or No) to narrow down the report and I wanted to indicate the total item sold
or unsold on the report, therefore I've created a lable name lblItemStatus to
indicate such info. Below are my attempts:
Private Sub Report_Open(Cancel As Integer)
lblItemStatus.Caption = Me.Count
End Sub
This return 36 for the caption regardless of how many records are on the
table. I am running MS office XP with 2002 Access. I did a little research on
here and on google as well, didn't find the specific info, so I am posting
this up, hoping to get some help from the experts. Thanks in advance.
Mark.
Items name, Item descriptions, Item sold, Sold price.
I've create a report to run on a query to base on the Item Sold status ( yes
or No) to narrow down the report and I wanted to indicate the total item sold
or unsold on the report, therefore I've created a lable name lblItemStatus to
indicate such info. Below are my attempts:
Private Sub Report_Open(Cancel As Integer)
lblItemStatus.Caption = Me.Count
End Sub
This return 36 for the caption regardless of how many records are on the
table. I am running MS office XP with 2002 Access. I did a little research on
here and on google as well, didn't find the specific info, so I am posting
this up, hoping to get some help from the experts. Thanks in advance.
Mark.