Re: LoginPrompt - dialog box

From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 01/21/04


Date: Tue, 20 Jan 2004 20:42:05 -0600


>If I set loginprompt to false where do I call my dialog box from in the
>code?
I call the code to put up my own password dialogbox and make the database
connection in the OnCreate method of my main form.

>If I leave a connection to true at design time, at runtime it tries to
>connect without my asking and I'm not sure where to put the call for my
>dialog box.
You will have to make sure that the AdoConnection.connected is false when you
save the datamodule.

--
Brian Bushay (TeamB)
Bbushay@NMPLS.com


Relevant Pages

  • Re: ADO Connection Timeout
    ... so what happens when a connection failure forces one station to revert ... to a local database? ... Further, you *will* have contention issues, Jet does not support record ... to the central server, but you are willing to live with periods where it ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... When the first test is run, the results are stored in the central database. ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... to the central server, but you are willing to live with periods where it ... i.e. a local database or even a text file. ... to function until the connection can be restored to the server. ...
    (microsoft.public.data.ado)
  • Re: ADO Connection Timeout
    ... much rather write stored procedures and use server side cursors. ... local database, it is vital that I get the information to a central server. ... Once the connection is restored, ...
    (microsoft.public.data.ado)
  • Re: ESQL/C documentation nightmare
    ... documentation about explicit and implicit connections. ... CONNECTION connection statements for new applications of Version 6.0 ... the SQL database statements (such as ...
    (comp.databases.informix)