HI Jeff,. Here is my tbl structure..
1) tblStaging --- has the following columns...pid a_result b_result
d_result
f_result run_date final_result
2) tbl_xl
pid a_result b_result d_result
234 2.3 2.4 2.5
345 3.1 2.4 3.3
456 2.5 2.3 2.6
3) tbl_details
pid run_date final_result
234 3/1/2010 positive
345 3/1/2010 negative
456 3/1/2010 positive
If my tbl_xl has all the columns that are in tblStaging then my automatic
system runs successfully. But if there is a new test like g_result then my
process is failing so I need to create an alert message to capture the
exact
field name; saying g_result field doesn't exist. Then I can create another
field in my tblStaging table. This happens occationally when a new person
run
the test with different field name in excel spreadsheet.
tbl_xl2
pid b_result f_result g_result
234 2.3 2.4 2.5
345 3.1 2.4 3.3
456 2.5 2.3 2.6
Hope this helps..
Jeff said:
Access is a relational database. If your "table design" has the fields in
your table(s) changing frequently, you probably are committing spreadsheet
on Access.
If you'll provide a more specific description of your situation and some
example data, folks here may be able to offer you approaches that let you
take full advantage of the relationally-oriented features/functions found
in
Access.
Regards
Jeff Boyce
Microsoft Access MVP
I have a requirement to place an alert if the field does not exist in my
table, tblStaging. Can any one guide me to reframe this query with error
[quoted text clipped - 5 lines]