I have a Textbox (Text156) which calculates the row number that I need to find using the following code:
=DLookUp("[CountOfExpr1]","COUNT_HOURLY_AVERAGE_DAYS")*0.0022
I then have a SQL query, which I am attaching to mousemove on Textbox157. This query is:
select top 1 * from (Select top 19 * from mytable order by myfield desc) as T1 order by myfield asc
But I want to replace 19 with the value currently found in Text156.
Any suggestions
Cheers
Ian Grand
=DLookUp("[CountOfExpr1]","COUNT_HOURLY_AVERAGE_DAYS")*0.0022
I then have a SQL query, which I am attaching to mousemove on Textbox157. This query is:
select top 1 * from (Select top 19 * from mytable order by myfield desc) as T1 order by myfield asc
But I want to replace 19 with the value currently found in Text156.
Any suggestions
Cheers
Ian Grand