Hi,
I'm thinking this is obvious so apologies if it is (I have spent quite some time searching for the answer but can't seem to find it).
I have a parameters table that has in it one field called Month End date there is only one record which contains the month end date (user enters this via a form).
From this I want to fire off a macro to import text tables from the relevant folders (that have month and year references).
I'm OK with the import macro except I just need to set to variables mmm and yyyy depending on what the first (and only) record says in my table called Parameters.
Not sure what I need...
mmm = Month(Tables!Parameters.Recordset.......?
I thought about referencing the actualltextbox on the form and retrieving the value there but this didn't seem the best way as the user could accidently be on record 2 (blank).
Many Thanks
I'm thinking this is obvious so apologies if it is (I have spent quite some time searching for the answer but can't seem to find it).
I have a parameters table that has in it one field called Month End date there is only one record which contains the month end date (user enters this via a form).
From this I want to fire off a macro to import text tables from the relevant folders (that have month and year references).
I'm OK with the import macro except I just need to set to variables mmm and yyyy depending on what the first (and only) record says in my table called Parameters.
Not sure what I need...
mmm = Month(Tables!Parameters.Recordset.......?
I thought about referencing the actualltextbox on the form and retrieving the value there but this didn't seem the best way as the user could accidently be on record 2 (blank).
Many Thanks