T
Tony
I have a form of employee data and a subform of quarterly
data (one-to-many relationship).
I created a subform that works perfectly, except.... the
user wants the quarterly data to sort by year, then
quarter even though the 7-character column contains data
such as "Q1 2002", "Q2 2002", "Q1 2003", "Q2 2003", etc.
So I used the RIGHT and LEFT substring functions to break
out the year and quarter in order to sort by year first.
The subform works fine all by itself.
However.... the subform ceases to work within the main
form and gives an error that seems to point to the
function (it doesn't like a parenthesis).
Does anyone know if there are restrictions to using
substring functions in the data source of a subform??
Any ideas for a workaround??
By the way, this is Access 2000 in a project (adp) file.
Many Thanks !!
Tony
data (one-to-many relationship).
I created a subform that works perfectly, except.... the
user wants the quarterly data to sort by year, then
quarter even though the 7-character column contains data
such as "Q1 2002", "Q2 2002", "Q1 2003", "Q2 2003", etc.
So I used the RIGHT and LEFT substring functions to break
out the year and quarter in order to sort by year first.
The subform works fine all by itself.
However.... the subform ceases to work within the main
form and gives an error that seems to point to the
function (it doesn't like a parenthesis).
Does anyone know if there are restrictions to using
substring functions in the data source of a subform??
Any ideas for a workaround??
By the way, this is Access 2000 in a project (adp) file.
Many Thanks !!
Tony