C
Christie.B
Hello,
I am using a SQL call (see below) to fill in a list
box... I'm allowing the user to choose the fields they
want (this is actually a part of a case statment to
handle upto 4 choices). The tbl_header is linked from a
BE db.
My problem is, the usefullness of this doesnt allow a
very fast paced multi user environment. The on load
event that establishes the format of the listbox takes
about 30 seconds to load (and thats if one user is
already in the db).
How can I display what i want without tying up the
recordset for the second user??? Is there a way to
display the info without locking it down?
Thanks in advance, Christie
Here's my attempt at code:
Select Case ToggleCase
Case 1 'two headers
List0.RowSource = "SELECT tbl_header.ProjID, tbl_header.
[" & UserH2 & "] FROM tbl_header WHERE
(((tbl_header.ProjStatus)=[Forms]![frm_projectSelect]!
[cmb_StatusType]));"
List0.ColumnCount = "2"
List0.ColumnWidths = "0.0 in;" & UserW1
Case 2 ....
ToggleCase is a dlookup value for the # of listbox fields
UserH2 is the field choice of the user in tbl_A by way of
dlookup
Userw1 is a double in tbl_A by way of dlookup
I am using a SQL call (see below) to fill in a list
box... I'm allowing the user to choose the fields they
want (this is actually a part of a case statment to
handle upto 4 choices). The tbl_header is linked from a
BE db.
My problem is, the usefullness of this doesnt allow a
very fast paced multi user environment. The on load
event that establishes the format of the listbox takes
about 30 seconds to load (and thats if one user is
already in the db).
How can I display what i want without tying up the
recordset for the second user??? Is there a way to
display the info without locking it down?
Thanks in advance, Christie
Here's my attempt at code:
Select Case ToggleCase
Case 1 'two headers
List0.RowSource = "SELECT tbl_header.ProjID, tbl_header.
[" & UserH2 & "] FROM tbl_header WHERE
(((tbl_header.ProjStatus)=[Forms]![frm_projectSelect]!
[cmb_StatusType]));"
List0.ColumnCount = "2"
List0.ColumnWidths = "0.0 in;" & UserW1
Case 2 ....
ToggleCase is a dlookup value for the # of listbox fields
UserH2 is the field choice of the user in tbl_A by way of
dlookup
Userw1 is a double in tbl_A by way of dlookup