mjenkinson05
Member
- Joined
- Mar 8, 2007
- Messages
- 13
- Programming Experience
- Beginner
Before i explain my problem i must state i am a noobie at vb.net so if its a really simple fix them im sorry.
I am making an appointments program, and have a main page with tabs for each of the staff.
on each tab is a datagrid that displays a query (from access) to display only the appointments for that staff member.
My problem is, when a new appointment is added, it doesnt appear in the list, so i figured, ill need to close and open the form again. so when i make the program close and open the form again (with a nice message not to panick the user) i get this error on the datagrid for the staff member with the new appointment.
I am making an appointments program, and have a main page with tabs for each of the staff.
on each tab is a datagrid that displays a query (from access) to display only the appointments for that staff member.
My problem is, when a new appointment is added, it doesnt appear in the list, so i figured, ill need to close and open the form again. so when i make the program close and open the form again (with a nice message not to panick the user) i get this error on the datagrid for the staff member with the new appointment.
Any help would be greatly appreciated.Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.