Moderator: Alex Zencovich
procedure TframeCubeInline.Reload;
begin
// cubeMap.Cube := nil;
cubeData.Active := False;
PostMessage(Handle, WM_USER+200, 0, 0);
end;
procedure TframeCubeInline.MsgReload(var Msg : TMessage);
var
i : integer;
dummy : Boolean;
begin
fFactTable.SQL.Text := fCubeDef.SQLCommand;
for i:=0 to fFactTable.Params.Count-1 do
fFactTable.Params[i].Value := fParams.GetVariable_Variant(fFactTable.Params[i].Name, dummy);
fFactTable.Open;
cubeData.Active := TRUE;
// cubeMap.Cube := cubeData;
end;
if i clear cubeMap.Cube and reset it after setting active to true, i didn't get new data
Users browsing this forum: No registered users and 1 guest