Home > Archive > Delphi > October 2004 > Login prompts with TTable and MySQL
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Login prompts with TTable and MySQL
|
|
|
|
How do I make my app ignore the login prompt and just go straight to the
app? It was working fine, I added a plain jane Dataset and provider so
I can run a report. I planned on populating my dataset with a routine
that would run through the table and compile information and all of the
sudden, it wants a username and pw for MySQL.
| |
| MrBaseball34 2004-10-13, 4:23 pm |
| quote: Originally posted by Erik
How do I make my app ignore the login prompt and just go straight to the
app? It was working fine, I added a plain jane Dataset and provider so
I can run a report. I planned on populating my dataset with a routine
that would run through the table and compile information and all of the
sudden, it wants a username and pw for MySQL.
What you have to do is drop a TDatabase control on your
form/datamodule and set the login info in it and set LoginPrompt to
False. Then set the DatabaseName property for your datasets to the
TDatabase control you dropped.
What controls are you using to access mySQL, anyway? What version of Delphi? |
|
|
|
|