We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[4142] Compact & repair MS Access database

Last post 03-31-2006 12:42 PM by Gajanan. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [4142] Compact & repair MS Access database

    This thread is for discussions of Compact & repair MS Access database.

    • Post Points: 10
  • 03-31-2006 12:42 PM In reply to

    • Gajanan
    • Not Ranked
    • Joined on 03-31-2006
    • India
    • New Member
    • Points 5

    Re: [4142] Compact & repair MS Access database

    Dear sir

    U code and logic very good .

    i am using it in my project

    but i have one syntanctical problem in code: the code where syntax error within the underlined lines is as follows:

    Do While InStr(1, sDBNAME, "\") & lt; > 0

            sDBNAME = Right(sDBNAME, Len(sDBNAME) - InStr(1, sDBNAME, "\"))
    Loop

    If sPASSWORD & lt; > "" Then

            Call DBEngine.CompactDatabase(sDB, sDBtmp, dbLangGeneral, , ";pwd=" & sPASSWORD)
    Else
            Call DBEngine.CompactDatabase(sDB, sDBtmp)
    End If




    1) the statement  :> Do While InStr(1, sDBNAME, "\") & lt; > 0

    & lt;>0 what is this variable lt; This is giving the error.

    Please send me the proper syntax.

    Thanks in advance.

    Regards

    Gajanan R Sirsat

    email Id: sirsat_gajanan@yahoo.co.in

     

     

    • Post Points: 5
Page 1 of 1 (2 items)