Pulling arrays of data, that match a certain criteria, from a query.

rowardHoark

Registered User.
Local time
Today, 12:47
Joined
Jan 14, 2011
Messages
20
My query "ArrheniusPlot" looks like

Report_number...Temperature...Time
1.....................130...............600
1.....................120...............2000
1.....................110...............3200
1.....................100...............4600
2.....................150...............1100
2.....................140...............1600

My Function "temperaturePrediction" uses Report_number as an input.

For a given Report_number, I want to be able to get:

sum(Temperature*ln(Time))
sum(ln(Time))
sum(Time)
sum((ln(Time)^2))

How could I achieve this? Use an array, DLookUp?
 
My query "ArrheniusPlot" looks like

Report_number...Temperature...Time
1.....................130...............600
1.....................120...............2000
1.....................110...............3200
1.....................100...............4600
2.....................150...............1100
2.....................140...............1600

My Function "temperaturePrediction" uses Report_number as an input.

For a given Report_number, I want to be able to get:

sum(Temperature*ln(Time))
sum(ln(Time))
sum(Time)
sum((ln(Time)^2))

How could I achieve this? Use an array, DLookUp?

Do you need to use DLookup at all? Cant you just use expressions within a query for your calculations (maybe Im just picking you up wrong here)
 
I assume you got it working then, good stuff!
 

Users who are viewing this thread

Back
Top Bottom