B bd528 Registered User. Local time Today, 15:03 Joined May 7, 2012 Messages 111 Jan 18, 2017 #1 Hi, I'm using the following in VBA :- Code: MaxVal = DMax("Sales_Ref","tblQuotesNew") But how can I get the max Sales_Ref that is below 10,000? Thanks in advance
Hi, I'm using the following in VBA :- Code: MaxVal = DMax("Sales_Ref","tblQuotesNew") But how can I get the max Sales_Ref that is below 10,000? Thanks in advance
S sneuberg AWF VIP Local time Today, 16:03 Joined Oct 17, 2014 Messages 3,504 Jan 18, 2017 #2 Code: MaxVal = DMax("Sales_Ref", "tblQuotesNew", "Sales_Ref < 10000")
NauticalGent Ignore List Poster Boy Local time Today, 18:03 Joined Apr 27, 2015 Messages 6,873 Jan 18, 2017 #3 Steve...do you EVER sleep?
B bd528 Registered User. Local time Today, 15:03 Joined May 7, 2012 Messages 111 Jan 18, 2017 #4 sneuberg said: Code: MaxVal = DMax("Sales_Ref", "tblQuotesNew", "Sales_Ref < 10000") Click to expand... Thank you.
sneuberg said: Code: MaxVal = DMax("Sales_Ref", "tblQuotesNew", "Sales_Ref < 10000") Click to expand... Thank you.
S sneuberg AWF VIP Local time Today, 16:03 Joined Oct 17, 2014 Messages 3,504 Jan 18, 2017 #5 NauticalGent said: Steve...do you EVER sleep? Click to expand... Actually usually too much. Last night for example I was in bed from about 8:00 PM to 5:20 AM. But my prostrate causes me to get up about seven times so it even seems longer.
NauticalGent said: Steve...do you EVER sleep? Click to expand... Actually usually too much. Last night for example I was in bed from about 8:00 PM to 5:20 AM. But my prostrate causes me to get up about seven times so it even seems longer.