phillywilly
Programmer
Okay, I have an Access database connected to an ADO dbgrid in delphi through ADO connections. there are a few problems I'm having with it.
Firstly, I have a lookup table for one of my columns set up in access, it's for a supplierID column, it gets the supplier ID number and the supplier name from a suppliers table for you to select from. This doesn't work in the delphi DBGrid, I have looked for ways to allow it to display but all I've found are complex blocks of code that don't work for me and that I don't have the skill to adapt.
Secondly, I have several buttons for manipulating the data such as delete, append, edit etc. However, these functions can all be done by just double clicking on the dbgrid and then editing it. is there any way I can block this from being done without using the buttons?
Thirdly, though this is less major, when in the program a user attempts to add a record without required fields entered, there is an automatic error given, is there any way I can change this error?
Thanks in advance for your help, if there's any other information you need, I'll be happy to give it to you.
Firstly, I have a lookup table for one of my columns set up in access, it's for a supplierID column, it gets the supplier ID number and the supplier name from a suppliers table for you to select from. This doesn't work in the delphi DBGrid, I have looked for ways to allow it to display but all I've found are complex blocks of code that don't work for me and that I don't have the skill to adapt.
Secondly, I have several buttons for manipulating the data such as delete, append, edit etc. However, these functions can all be done by just double clicking on the dbgrid and then editing it. is there any way I can block this from being done without using the buttons?
Thirdly, though this is less major, when in the program a user attempts to add a record without required fields entered, there is an automatic error given, is there any way I can change this error?
Thanks in advance for your help, if there's any other information you need, I'll be happy to give it to you.