|
-
March 20th, 2001, 09:47 PM
#1
Positioning a combo box in a DBGrid cell & making validations
Hi.
I have a dbgrid in my form containing 10 columns displaying records from an Access table. It is required that in the 10th column, instead of the user inputting a value, he/she will select a value from a combo box. This is true for all rows of the 10th column. This will ensure that only valid values will be entered. How can I put the combo box in a particular cell of the 10th column?
My second question concerns validations for those cells that will not use a combo box. Say the numeric input values in a certain column require to be of a certain range only, how can I validate the inputs? What events of the dbgrid will I use to make validations?
Thanks for the info in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|