[AccessD] Recordser fields collection

Gustav Brock gustav at cactus.dk
Sun Aug 22 12:21:03 CDT 2021


Hi Arthur

Dim Field As DAO.Field

For Each Field In YourRecordset.Fields
    Debug.Print Field.Name
Next

/gustav

________________________________
Fra: AccessD <accessd-bounces+gustav=cactus.dk at databaseadvisors.com> på vegne af Arthur Fuller <fuller.artful at gmail.com>
Sendt: 22. august 2021 19:14
Til: Access Developers discussion and problem solving <accessd at databaseadvisors.com>
Emne: [AccessD] Recordser fields collection

A DAO recordset contains a collection called Fields.. How can I  iterate
through this list and print the names of each field?



More information about the AccessD mailing list