Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Проблема с TDatabase
|
|||
|---|---|---|---|
|
#18+
Люди помогите справиться с проблемой!!! Уменя на есть объект компонента TDatabase. В Object Inspectore указываю Database1.AliasName = MSSQL1, LoginPromt = true делаю Database.Connected = true - Спрашивает имя, пароль и коннектится. А когда запускаю программу имя, пароль не спрашивает, а выдает ошибку "Unknown user name or password". ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.12.2003, 13:47 |
|
||
|
Проблема с TDatabase
|
|||
|---|---|---|---|
|
#18+
В какой момент? Или вы запускаете программу с уже открытым коннектом? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.12.2003, 14:10 |
|
||
|
Проблема с TDatabase
|
|||
|---|---|---|---|
|
#18+
Set LoginPrompt to true to provide login support when establishing a connection. LoginPrompt controls two things: the occurrence of the OnLogin event, and the appearance of a default login dialog that prompts users for a name and password when you include DBLogDlg.hpp in your unit (C++) or add DBLogDlg to your uses clause (Delphi). When the OnLogin event occurs and when the default login dialog appears depend on the type of connection component: For TDatabase, TIBDatabase, and TSQLConnection, the dialog appears after the BeforeConnect event and before the AfterConnect event, unless you supply an OnLogin event handler. If there is an OnLogin event handler, that event occurs in place of the login dialog, and there is no need to include DBLogDlg.hpp in your unit (C++) or add DBLogDlg to your uses clause (Delphi). If correct values for the user name and password are not supplied in the dialog or by the OnLogin event handler, the connection fails. The OnLogin event does not fire unless LoginPrompt is set to true. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.12.2003, 14:12 |
|
||
|
|

start [/forum/topic.php?fid=58&fpage=1970&tid=2115343]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
30ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
39ms |
get tp. blocked users: |
1ms |
| others: | 219ms |
| total: | 330ms |

| 0 / 0 |
