I have the following Dlookup statement:
I get the error: "You cancelled the previous operation".
The field is not null, it contains a 'Number' value with 2 decimal places. It is going into a double variable.
I have also tried it without the [], same result.
The 'Where' part of the argument, the 'Rate' field is a text field and the 'CRegion' is a string. Are you only allowed to match numerical fields?
Code:
DLookup("[RateValue]", "[Rates]", "[Rate]=" & CStr(CRegion))
The field is not null, it contains a 'Number' value with 2 decimal places. It is going into a double variable.
I have also tried it without the [], same result.
The 'Where' part of the argument, the 'Rate' field is a text field and the 'CRegion' is a string. Are you only allowed to match numerical fields?
Comment