Autor Beitrag
dirkdirk
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Mo 12.05.03 20:53 
Moin,
hab mal wieder 'nen Blackout...

Mein Programm hat schon mal ohne Passwortabfrage zur db connectet. Ein paar Arbeitsschritte weiter macht's das nun nicht mehr... leider habe ich keeene Ahnung, warum. Hier mal eine bisschen code vom main form:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
procedure TMainForm.FormCreate(Sender: TObject);
var unv, spv: string;
begin
unv:='meinusername';
spv:='meinpasswort';
  with database1 do
  begin
    if LoginPrompt = False then
    begin
      Params.Values['User_Name'] := unv;
      Params.Values['Password'] := spv;
      connected:= True;
    end;
  end;
end;



Die databse1 steht natürlich auf LoginPromt :=False

Puhhh is dat alles complicated... Hat jemand 'ne Ahnung, was da abgeht?

Gruss, Dirk

Moderiert von user profile iconKlabautermann: Code-Tags hinzugefügt.
ao
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 145

Win XP Prof.
D7 Ent.
BeitragVerfasst: Mo 12.05.03 22:33 
hallo,

schonmal mit "username" statt "user_name" probiert?

gruß
ao
dirkdirk Threadstarter
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Mi 14.05.03 08:34 
Hallo ao,
jau habe ich versucht.... klappt aber auch nicht... noch ne idee?

gruss, dirk