B
Bob Quintal
Hi
I have a general question thats about database design realy.
I have a database with a front and backend with linked tables.
The database has a table in the backend with lots of defaults
setout in fields my question is this.
will the network and databse be faster if on startup of the front
end I copy the default table from the back end to the front end
and not have the front end linked to the default table.
Im thinking that every operator with a front end open will
constantly be pulling default information to populate forms such
as sales tax and company address etc.
the defaults do not change often ( maybe once a year ) and maybe I
could flag if any changes have been made and allow an update of
the table should a change be made. Record locking could be a
concern if all operators are pulling from the same record.
Im intrested to know what others think about this.
Reading of a table should not invoke any locking. The locking
mechanism only starts when a user begins an edit on a table. Since
you say you only edit the table "maybe once a year", moving the
table will have no impact.
Moving the lookup table to the front end, with the other tables
still in the back end, creates issues with relational integrity,
because cascading updates and deletes cannot be enforced easily, if
at all.
Populating comboboxes should only occur when opening the form,
unless the combobox is filtered based on some criteria that is
dependent on the current record being edited, so the traffic won't
be as high as on your main tables.
Proper indexing of the data in the lookup is the best way of
optimizing for speed.