Access 2010 - VBA - show form recordsource field names
I have a subform with a recordsource that is set via code. I want to do some debugging and just want to msgbox each field name in the form recordsource in the open event.
Can someone tell me some code snippets to step through the fields in a recordsource and give the field NAME. (Eg. if the recordsource is CUSTOMER with fields NAME, ADDRESS1, etc, I want to see :