J
Jack
Hi,
I am using the following query using some complex sql in stlinkcriteria to
run the query.
CODE:
Dim sql As String
sql = "select * from qryRptIndustrialCar where " & stLinkCriteria & ""
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim strsql As String
Set db = CurrentDb
Set qdf = db.CreateQueryDef("test", sql)
DoCmd.OpenQuery "test"
Basically I am using this for user to click a button that will run the query
to generate the output.
Now if a user is generating the query and is keeping the query open I am
wondering if another user tries to open the query whether the
other user will be prevented from opening the same query.
I would like to know if that will be the case. If so, what is the best
approach to resolve this. Thanks.
I am using the following query using some complex sql in stlinkcriteria to
run the query.
CODE:
Dim sql As String
sql = "select * from qryRptIndustrialCar where " & stLinkCriteria & ""
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim strsql As String
Set db = CurrentDb
Set qdf = db.CreateQueryDef("test", sql)
DoCmd.OpenQuery "test"
Basically I am using this for user to click a button that will run the query
to generate the output.
Now if a user is generating the query and is keeping the query open I am
wondering if another user tries to open the query whether the
other user will be prevented from opening the same query.
I would like to know if that will be the case. If so, what is the best
approach to resolve this. Thanks.