i am having a problem with creation and updating of table rows...i am using VBA code for INSERT and UPDATE SQL statements on a table. However, whenever a new record is added to a table, it is inserted at the end (last record of the table), which is correct. however, the first record in the table is always being updated with the data of the last record added.
this is also happening when i'm amending a record through the UPDATE query...apart from updating the data of the respective record, the first record in the table also updates with the same data....
i tried running the Compact and Repair Database option from tools menu coz maybe i thought the database is corrupted, but it made no effect...also i tried deleting all records in table and starting with a clean table...still same happens again...
any help appreciated
this is also happening when i'm amending a record through the UPDATE query...apart from updating the data of the respective record, the first record in the table also updates with the same data....
i tried running the Compact and Repair Database option from tools menu coz maybe i thought the database is corrupted, but it made no effect...also i tried deleting all records in table and starting with a clean table...still same happens again...
any help appreciated