Only display tables in reference table pulldown of foreign key editor. Stored procedures or triggers cannot be applied here. Fixes issue #1668.

This commit is contained in:
Ansgar Becker
2010-02-07 11:37:01 +00:00
parent 6410aae590
commit 3195b25e8f

View File

@ -2036,8 +2036,10 @@ begin
EnumEditor := TEnumEditorLink.Create(VT);
EnumEditor.AllowCustomText := True;
DBObjects := Mainform.Connection.GetDBObjects(Mainform.ActiveDatabase);
for i:=0 to DBObjects.Count-1 do
for i:=0 to DBObjects.Count-1 do begin
if DBObjects[i].NodeType = lntTable then
EnumEditor.ValueList.Add(DBObjects[i].Name);
end;
EditLink := EnumEditor;
end;
3: begin