Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.02.19;
Скачать: CL | DM;

Вниз

Ошибка на Locate   Найти похожие ветки 

 
Julia   (2006-02-04 11:01) [0]

Подскажите. Почему на код
Table1.Locate("FAMILIA",Edit1.Text,[loCaseInsensitive]);
возникает ошибка : Undeclared identifier: "loCaseInsensitive"
a если объявить
var  Loc: TLocateOptions;
ошибка: Undeclared identifier: "TLocateOptions".


 
DSKalugin ©   (2006-02-04 12:01) [1]


> a если объявить
> var  Loc: TLocateOptions;
> ошибка: Undeclared identifier: "TLocateOptions".


объявлять не надо.
TLocateOptions уже объявлен в модуле DB

Unit

DB

type
 TLocateOption = (loCaseInsensitive, loPartialKey);
 TLocateOptions = setof TLocateOption;

просто подключи этот модуль и все
implementation uses DB;


 
msguns ©   (2006-02-04 12:02) [2]

uses DB


 
Julia   (2006-02-04 16:32) [3]

Огромное спасибо за помощь



Страницы: 1 вся ветка

Текущий архив: 2006.02.19;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.057 c
11-1119863275
RA2
2005-06-27 13:07
2006.02.19
Вопрос о KOLIB


6-1131453071
Hereticsoul
2005-11-08 15:31
2006.02.19
TIdTcpServer,TIdTcpClient


6-1131743288
Delphi_is_cool
2005-11-12 00:08
2006.02.19
Состояние сокета


3-1135111481
kreyl
2005-12-20 23:44
2006.02.19
Обновление TADODataSet из TClientDataSet


11-1119933735
Василий
2005-06-28 08:42
2006.02.19
Сдвиг элементов TreeView меньше system-defined minimum