J
Jim Franklin
Hi,
I have a Access 2003 car wash app where the main screen shows up to date
ticket information on the cars being processed. The form is unbound and
opens a recordset to pull 10 pieces of information on each current ticket
(one record per ticket, 10 fields). This data then populates clusters of
unbound controls on the screen (1 cluster per ticket) - each cluster is
mainly text boxes but also includes a rectangle whose border and fill
colours represent 2 bits of info.
There are 25 clusters on the screen (so a lot of controls!) and a maximum of
about 50 open tickets at any time (if more than 25 records are returned in
the recordset, up and down buttons appear which select 1-25, 26-50, 51-75
etc. The code which populates the controls uses the corresponding records
from the recordset. This data is constantly changing and the form is
re-populated roughly every 15 seconds, all day long. There are 4 terminals
all querying the same BE, which is on a fileserver.
At present, the table of current tickets is kept deliberately small (100
tickets). Once a ticket is completed, the record is appended to a sales
table, and the ticket record is re-set and re-cycled. Over 100 sales are
added every day. However, it would be advantageous to keep all the data in
one table, with an indexed field tktCompletedTime to distinguish current
from completed tickets.
Primary question: At the moment, the BE is a .mdb file. To speed up
performance, I am considering migrating the Back End to SQL Server and
opening an ADO connection each time to establish the recordset, but am
unsure what the performance advantage would be. Can anyone give me any ideas
about what the performance implications would be? This is the main source of
data traffic across the LAN - all other FE functions call up and edit 1
record at a time and sometimes a small (<10) number of related detail
records.
One other secondary question: because of the number of controls (approx 250)
on the form, I was considering trying to write (Using VB6 installed) a
custom ActiveX control to replace each cluster and display all the relevant
info on each ticket. I have never done this so is this a bad idea and is
there any advantage in doing so?
Many many thanks for reading all this (!) and for any help anyone can
provide,
Cheers,
Jim
I have a Access 2003 car wash app where the main screen shows up to date
ticket information on the cars being processed. The form is unbound and
opens a recordset to pull 10 pieces of information on each current ticket
(one record per ticket, 10 fields). This data then populates clusters of
unbound controls on the screen (1 cluster per ticket) - each cluster is
mainly text boxes but also includes a rectangle whose border and fill
colours represent 2 bits of info.
There are 25 clusters on the screen (so a lot of controls!) and a maximum of
about 50 open tickets at any time (if more than 25 records are returned in
the recordset, up and down buttons appear which select 1-25, 26-50, 51-75
etc. The code which populates the controls uses the corresponding records
from the recordset. This data is constantly changing and the form is
re-populated roughly every 15 seconds, all day long. There are 4 terminals
all querying the same BE, which is on a fileserver.
At present, the table of current tickets is kept deliberately small (100
tickets). Once a ticket is completed, the record is appended to a sales
table, and the ticket record is re-set and re-cycled. Over 100 sales are
added every day. However, it would be advantageous to keep all the data in
one table, with an indexed field tktCompletedTime to distinguish current
from completed tickets.
Primary question: At the moment, the BE is a .mdb file. To speed up
performance, I am considering migrating the Back End to SQL Server and
opening an ADO connection each time to establish the recordset, but am
unsure what the performance advantage would be. Can anyone give me any ideas
about what the performance implications would be? This is the main source of
data traffic across the LAN - all other FE functions call up and edit 1
record at a time and sometimes a small (<10) number of related detail
records.
One other secondary question: because of the number of controls (approx 250)
on the form, I was considering trying to write (Using VB6 installed) a
custom ActiveX control to replace each cluster and display all the relevant
info on each ticket. I have never done this so is this a bad idea and is
there any advantage in doing so?
Many many thanks for reading all this (!) and for any help anyone can
provide,
Cheers,
Jim