[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

Access 2007 recordset question

2nd Access question of the day

pretty simple code here but i'm doing something wrong at the end
I have a table named Checking and a field named Balance but the message box comes back empty

Dim db As Database
Set db = currentdb

   Dim rs As DAO.Recordset
     
   
   Set rs = db.OpenRecordset("Checking")

   
 rs.MoveLast
 
   
   MsgBox Balance

any help is appreciated

0
TSTechNA
Asked:
TSTechNA
  • 2
1 Solution
 
hieloCommented:
try:
MsgBox rs.Fields("Balance")
0
 
TSTechNAAuthor Commented:
thank you
0
 
hieloCommented:
you are welcome
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now