B
box2003
I have a form which is used for import and export functions. As part of
this process, I want to check if a table already exists in the database, so
I can create the table or clear the table rows before my import. I need a
method of detecting the presence of a table before an error message tells me
a table does not exist when I run a process. When the table is known not to
exist, I create it using code behind the form. I would like to determine if
the table is actually there before going ahead a creating it. Would I use
similar code as was used to created the table. I do not want to check the
database window to verify the table, I would rather have the process
seamless so the user can maintain interaction at the form level.
Thank you for your assistance.
this process, I want to check if a table already exists in the database, so
I can create the table or clear the table rows before my import. I need a
method of detecting the presence of a table before an error message tells me
a table does not exist when I run a process. When the table is known not to
exist, I create it using code behind the form. I would like to determine if
the table is actually there before going ahead a creating it. Would I use
similar code as was used to created the table. I do not want to check the
database window to verify the table, I would rather have the process
seamless so the user can maintain interaction at the form level.
Thank you for your assistance.