How to access a cell in Datasheet in VBA Access

I have a form with a subform which displays a datasheet. This datasheet has a DATES column and I need to pass the first row data (in this case 28 of Feb 2016  as a parameter in the button SEGURO HOY. No clue on how to address this cell and to pass it on in the click event.
Thank you for any help... Screen.jpeg
mpimAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

als315Commented:
There are no "cells" in Access, there are records. You can get value from selected record by name of field (column)
In code of your button you can use Me.DATES to get value from selected (in picture it is first) record
mpimAuthor Commented:
Thank you but the problem is that I'm using a filter and hence ME.Dates gets me only the first record in the table but not the first record displayed in the mask after applying the filter.....
als315Commented:
You should select this record (you can do it with code also) and then Me.Dates will give you value from selected record
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

mpimAuthor Commented:
Sorry not sure how to select the first record of the active datasheet (without having going thru the trouble to use RecordSet etc).?
als315Commented:
Look at sample. If your form is different, upload sample DB with this form and related tables (remove any sensitive data)
Q28929353.accdb

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mpimAuthor Commented:
Thank you so much - this has been unbelievable helpful!    Cheers Michael
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.