P
Pwyd
I have a macro that opens up a form, hidden, datasheet, edit mode, runs a
delete query which includes all of the fields in two seperate tables, then
closes the form it was deleting from.
When running the macro, all i get as a response is:
Could not delete from specified tables.
then
Action failed
DeleteMacro
Condition: True
Action Name OpenQuery
Arguments clearallrecords, datasheet, edit
what am i doing wrong?
in a second query problem, i cannot get a query to properly insert data into
a table.
the query uses data imported from an excel spreadsheet. which works fine.
then the query runs, which properly formats the data and pushes it into the
fields on the form. The problem is, when the query runs, it rejects several
thousand records, supposedly because they violate key or validation rules. I
can tell you with certainty, that the data it is retrieving (which only
includes SOME of the fields on the main form) is using exactly the same
validation, key, and other rules. In fact, the fields in the table and the
fields in the query are completley identical. in all settings. I'm lost on
this one. please help
delete query which includes all of the fields in two seperate tables, then
closes the form it was deleting from.
When running the macro, all i get as a response is:
Could not delete from specified tables.
then
Action failed
DeleteMacro
Condition: True
Action Name OpenQuery
Arguments clearallrecords, datasheet, edit
what am i doing wrong?
in a second query problem, i cannot get a query to properly insert data into
a table.
the query uses data imported from an excel spreadsheet. which works fine.
then the query runs, which properly formats the data and pushes it into the
fields on the form. The problem is, when the query runs, it rejects several
thousand records, supposedly because they violate key or validation rules. I
can tell you with certainty, that the data it is retrieving (which only
includes SOME of the fields on the main form) is using exactly the same
validation, key, and other rules. In fact, the fields in the table and the
fields in the query are completley identical. in all settings. I'm lost on
this one. please help