A bug in UniConnectDialog (again)
Posted: Wed 12 Aug 2015 09:37
This is UniDac 6.1.4 running on XE8 connecting to SQL Server.
When I type in the right credentials (username & password) but select a database that I have no access rights to, I get a warning "Invalid object name 'the name of my table'" (why is my table name getting shown?)
And when I hit the 'cancel' button in the uniconnectdialog , my main_form gets shown, which should not since no connection has been established in the first place.
So,is this a bug or what ?
Code: Select all
procedure TDataModule2.DataModuleCreate(Sender: TObject);
begin
UniConnectDialog1.Execute;
if not
UniConnectDialog1.Connection.Connected
then
halt;
end;
Code: Select all
procedure TDataModule2.UniConnection1AfterConnect(Sender: TObject);
begin
UniTable1.Open;
end;
When I type in the right credentials (username & password) but select a database that I have no access rights to, I get a warning "Invalid object name 'the name of my table'" (why is my table name getting shown?)
And when I hit the 'cancel' button in the uniconnectdialog , my main_form gets shown, which should not since no connection has been established in the first place.
So,is this a bug or what ?