Hi,
I have the following lines of code in my program:
if dmLabelView.qryLabel.Locate('ABNAME', AbNameEdit.Text, [loCaseInsensitive]) then
begin
ShowMessage('Name already exists');
AbNameEdit.SetFocus;
Exit;
end;
qryLabel is an instance of TSQLQuery; dmLabelView is a datamodule whose unit is included in the "uses" list of the unit in which the code is written.
When I compile I get the error: Identifier not found "loCaseInsensitive".
Surely this must be an error only a newbie such as myself would make. Any ideas?
Thanks in advance.