What does rst! or rst mean?

RandomGuy123

Registered User.
Local time
Today, 03:49
Joined
Feb 12, 2014
Messages
15
What do these mean:

rst!

rst
 
rst is a commonly used variable name for a recordset in VBA code.
 
What do these mean:

rst!

rst

As was said, rst is probably a recordset object, i.e. a thing holding the data from a table or query so you can do stuff to it. rst! is the preface to a reference to a particular field, so for example
Code:
NameString = rst!PersonName
would write the the entry from the field PersonName for the record the code is looking at to a string that the code can use for whatever.
 
Do you perhaps mean 'what is the difference between rst! and rst. ?'
 

Users who are viewing this thread

Back
Top Bottom