General information
Category:
Database DAO/RDO/ODBC/ADO
Yeah i mean detailrs i just mistyped it. but since i include option explicit in my forms, i found more errors and thanks for that. i include HeaderRS.Update after HeaderRS.Delete and it works but i got a runtime error saying "insufficient or incorrect key column information; too many rows affected by update" and i try to look at the header & detail tables, it's already deleted. i suspected that sql server returns an error so i try deleting one row from header table using query analyzer but i got no error. so what i did i include "On Error Resume Next" in CmdDelete_Click() and it works. I'm not certain that this is a good idea. What do u think?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only