G
Guest
I am new to using Recordsets to select data from tables, but I tried building
the following statements to start out:
PQuery = "SELECT * FROM PHY"
Set PRecord = CurrentDb.OpenRecordset(PQuery)
MsgBox "Records " & PRecord.RecordCount, vbOKOnly, "MESSAGE"
I have 3 records in the PHY table, but the RecordCount always displays as 1.
I have tried adding or deleting records in the table, but it always displays
as 1. Can someone explain what is happening? If it is because of my lack of
experience with recordsets, can I get some suggestions on materials to review?
Thanks.
the following statements to start out:
PQuery = "SELECT * FROM PHY"
Set PRecord = CurrentDb.OpenRecordset(PQuery)
MsgBox "Records " & PRecord.RecordCount, vbOKOnly, "MESSAGE"
I have 3 records in the PHY table, but the RecordCount always displays as 1.
I have tried adding or deleting records in the table, but it always displays
as 1. Can someone explain what is happening? If it is because of my lack of
experience with recordsets, can I get some suggestions on materials to review?
Thanks.