Hi Guys,
I need some advice.
Scenario 1: I have a textbox on a form which has this formula as its control source '=DateSerial(Year([txtBegindate]),Month([txtBegindate])+1,Day([txtBegindate])-1)'.
My question is from a performance perspective would be better to leave the formula as is or convert it to an SQL staement.
Scenario 2: I have a report that contains in excess of a hundred formulas similar to '=nz((DCount("[FailRsn]","qry1Data","[FailRsn] = 'Inner liner seperation'")))'.
The same question applies here in order to optimize the report performance does one leave as is or convert it to sql type statement.
Could some one please write an sql statement for the above. I am not a programer so please excuse me for my request.
Kind Regards
Hayton McGregor
I need some advice.
Scenario 1: I have a textbox on a form which has this formula as its control source '=DateSerial(Year([txtBegindate]),Month([txtBegindate])+1,Day([txtBegindate])-1)'.
My question is from a performance perspective would be better to leave the formula as is or convert it to an SQL staement.
Scenario 2: I have a report that contains in excess of a hundred formulas similar to '=nz((DCount("[FailRsn]","qry1Data","[FailRsn] = 'Inner liner seperation'")))'.
The same question applies here in order to optimize the report performance does one leave as is or convert it to sql type statement.
Could some one please write an sql statement for the above. I am not a programer so please excuse me for my request.
Kind Regards
Hayton McGregor