Try the below code...
MsgBox DSum(Textboxname.Value, "TableName")
MsgBox DMax(Textboxname.Value, "TableName")
MsgBox DMin(Textboxname.Value, "TableName")
MsgBox DAvg(Textboxname.Value, "TableName")
MsgBox DStDev(Textboxname.Value, "TableName")
Good Luck