Previous Topic

Next Topic

Inhoudsopgave

Book Index

LoginPrompt Property

Property Property LoginPrompt: Boolean (R/W)

Description

Determines whether a login screen should be displayed when a connection is made to a database (except the Isah database).

Example

Sub Main()

Dim Db, Query, Q

Set Db = Application.DataBases("Isah7Info")

Db.AddParamStr("USER NAME=ReportInfoDB")

Db.AddParamStr("PASSWORD=reportinfodb")

Db.LoginPrompt = False

Set Q= Db.CreateQuery("Select * from Lists")

Q.LookUp "Find a list","",""

End Sub