D
dransfield
This is what I want my database to do:
Import some raw data (about boats) in the form of an Excel
spreadsheet. Some of the fields imported will be superfluous - no
problem - they'll be ignored. Some will be essential - no problem - if
they're not there it isn't going to work.
But some of them will be 'optional'. Eg. I really need to know
(roughly) how big a boat is so I need to have either a "Boat Type"
field OR a "Boat Name" field. (I could have both, in which case I'll
just use the name and look up the exact length in a table).
So my current problem is to work out how to use a field if its there,
but how to avoid an error message if its not.
I've tried writing a UDF but the query still asks for the missing
field.
Can anyone help?
TIA
Dz
Import some raw data (about boats) in the form of an Excel
spreadsheet. Some of the fields imported will be superfluous - no
problem - they'll be ignored. Some will be essential - no problem - if
they're not there it isn't going to work.
But some of them will be 'optional'. Eg. I really need to know
(roughly) how big a boat is so I need to have either a "Boat Type"
field OR a "Boat Name" field. (I could have both, in which case I'll
just use the name and look up the exact length in a table).
So my current problem is to work out how to use a field if its there,
but how to avoid an error message if its not.
I've tried writing a UDF but the query still asks for the missing
field.
Can anyone help?
TIA
Dz