error 20533 
Author Message
 error 20533

hi any1,
i have an error when i lunch my vb program and i get this error 20533 "cannt
find database file",i be glad for enybodies help.thanks.


Fri, 01 Oct 2004 07:00:27 GMT  
 error 20533

Hi... Maybe u can try this.

    Dim gstrDatabase            As String
    Dim db1                     As Database

        ' -----  SETTING THE OCX FIELD -----
        Data1.DatabaseName = App.Path + "\man_rpt.mdb"
        Data1.RecordSource = "manrpt1"
        gstrDatabase = App.Path + "\man_rpt.mdb"
        man1.DataFiles(0) = gstrDatabase
        man1.Formulas(0) = "POP= '" & cboPOP & "'"
        man1.Formulas(1) = "Agent= '" & UCase(txtagent) & "'"
        man1.Formulas(2) = "Ind= '" & cboind & "'"
        man1.Formulas(3) = "StartDate= '" & txtStartDate.Text & "'"
        man1.Formulas(4) = "EndDate= '" & txtEndDate.Text & "'"
        man1.ReportFileName = App.Path + "\Report Folder\Report 1.rpt"
        Set db1 = Workspaces(0).OpenDatabase(gstrDatabase, False, False, "")
        man1.WindowState = crptMaximized
        man1.Action = 1
        db1.Close
        ' ------ End Setting -----


Quote:
> hi any1,
> i have an error when i lunch my vb program and i get this error 20533
"cannt
> find database file",i be glad for enybodies help.thanks.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002


Tue, 12 Oct 2004 13:28:50 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. error 20533

2. Error 20533 (Fixed - Sort of)

3. error 20533

4. error 20533

5. error 20533

6. VB Error 20533 Using Crystal Reports

7. error 20533 - Unable to open database

8. HELP : Error 20533

9. error 20533 - datasource

10. Error 20533 Cannot open Database

11. Error 20533

12. Runtime Error 20533

 

 
Powered by phpBB® Forum Software