035179593513 [email protected]

Problem:

 

The aggregate functions (e.g. Min, Max etc.) of a selection query included in this update query prevent this from being executed.

 

Solution:

 

Rebuilding the required function in VBA. Here with the example Min.

 

Code:

 

Public Function eMin(strField As String, strTblOrQry As String) As Double

 

eMin = DMin(strField, strTblOrQry)

 

End Function

 

Use:

 

Use in query as follows:

- first mask the field in quotation marks and then the table or query, then separate the whole thing with a semicolon

 

eMin

en_USEnglish