R
Robert H
A test and evaluation system we use is built around Access database.
It does not utilize the Access relational database structure but
instead just two tables: CDD which is the test configurations and MEA
which is the measured data. The common key is DeviceID which is a
sequential number.
Each record in the CDD table contains User information; test points,
pin numbers, etc and variables for the test system; voltage settings,
range scales, etc. An alphabetical "DeviceConfig" (A, B, C etc) field
is the primary test identifier from the operators viewpoint. There is
also a "DeviceCode" that that provides higher level grouping for the
DeviceConfigs. For example deviceCode "Module 01" may have configs A-
R and "Module 02" could also have configs A-R.
Sometimes after testing we realize we need to add a test
configuration. It is simple enough to just enter a new DeviceID to
the end of the sequence but if we need to inset something in the
logical testing sequence, for instance between Config "C" and "D" call
the new config "C1" or even call it "C" and rename the original C
though R to D though S, we are at a delima because we need to go into
the MEA table and update the DeviceIDs. We have resorted to exporting
both tables to Excel and editing that data and importing back to
Access. This is a cumbersome process and one that if you are not on
your best game can create a data error that may result in a
misdiagnosis down the road...
It is important during testing for the tests to sequence in
DeviceConfig order however the program sequences on the DeviceID. We
are not at liberty to modify the program so we need a method to easily
and safely modify the database
Is there a way, using ACCESS VBA to do this. My limited VBA
experience is in Excel and Visio. Being that Access does not have a
recorder I don't know where to start.
Any help will be appreciated
Robert
It does not utilize the Access relational database structure but
instead just two tables: CDD which is the test configurations and MEA
which is the measured data. The common key is DeviceID which is a
sequential number.
Each record in the CDD table contains User information; test points,
pin numbers, etc and variables for the test system; voltage settings,
range scales, etc. An alphabetical "DeviceConfig" (A, B, C etc) field
is the primary test identifier from the operators viewpoint. There is
also a "DeviceCode" that that provides higher level grouping for the
DeviceConfigs. For example deviceCode "Module 01" may have configs A-
R and "Module 02" could also have configs A-R.
Sometimes after testing we realize we need to add a test
configuration. It is simple enough to just enter a new DeviceID to
the end of the sequence but if we need to inset something in the
logical testing sequence, for instance between Config "C" and "D" call
the new config "C1" or even call it "C" and rename the original C
though R to D though S, we are at a delima because we need to go into
the MEA table and update the DeviceIDs. We have resorted to exporting
both tables to Excel and editing that data and importing back to
Access. This is a cumbersome process and one that if you are not on
your best game can create a data error that may result in a
misdiagnosis down the road...
It is important during testing for the tests to sequence in
DeviceConfig order however the program sequences on the DeviceID. We
are not at liberty to modify the program so we need a method to easily
and safely modify the database
Is there a way, using ACCESS VBA to do this. My limited VBA
experience is in Excel and Visio. Being that Access does not have a
recorder I don't know where to start.
Any help will be appreciated
Robert