Ovako napravio sam aplikaciju koja odabirom odredjenih podataka iz comboboxa i pod uslovom odredjenog datuma ispisuje u riportu odrdjene podatke za odredjene mesece, to sve funkcionise. Medjutim kada zelim da koristim exe aplikaciju napravim ini fille na sledeci nacin:
, navedem tacnu adresu u ini file gde mi se nalaze te 2 tabele javlja mi sledecu gresku:
the microsoft jet database engine could not find the object make sure the object STATISTIKA exists and that you spell its name and the path name correctly.
Molim za pomoc..
Code:
TIniFile *ini = new TIniFile(ExtractFilePath(Application->ExeName)+"proba.ini");
String s = ini->ReadString("DEJAN", "a", NULL);
String str = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source="+s+";Mode=Share Deny None;Jet OLEDB:Engine Type=17;";
String x = ini->ReadString("Aleksandra", "d", NULL);
String stra = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source="+x+";Mode=Share Deny None;Jet OLEDB:Engine Type=17;";
ADOConnection1->ConnectionString = str;
delete ini;
TIniFile *ini = new TIniFile(ExtractFilePath(Application->ExeName)+"proba.ini");
String s = ini->ReadString("DEJAN", "a", NULL);
String str = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source="+s+";Mode=Share Deny None;Jet OLEDB:Engine Type=17;";
String x = ini->ReadString("Aleksandra", "d", NULL);
String stra = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source="+x+";Mode=Share Deny None;Jet OLEDB:Engine Type=17;";
ADOConnection1->ConnectionString = str;
delete ini;
, navedem tacnu adresu u ini file gde mi se nalaze te 2 tabele javlja mi sledecu gresku:
the microsoft jet database engine could not find the object make sure the object STATISTIKA exists and that you spell its name and the path name correctly.
Molim za pomoc..