- Ive been trying to Mask many DBGrid Cells (so Columns).
- Firstly, Inside Access, adding format, Mask & also Validation text to each Field inside the table. Thats not catched by the Grid linked to this formatted & masked table. So, by only doing that, no sort of Mask appears in my Vb DBGrid.
- Secondly, I just set the Numberformat property for each Column of the Grid either to General Number, or to Short Date (needed/used Formats). (2nd - short date format can be obviously worked out in execution time, the way: dbgrid#.columns(#).NumberFormat = dd/mm/yyyy). Obviously both Only give Format, NOT MASK to my Grid. Id like to know if theres any existent way/method to set a DbGrids Colum mask. Ive tried with a Floating MaskedBox over the Grid, but apart from eventual missclicking problems (either by using _Click or _DblClick events), also gives some saving errors while using the dbgrid.
- Id appreciate any solving Suggestion related to properly Mask Grids columns.
Greetings.
- Firstly, Inside Access, adding format, Mask & also Validation text to each Field inside the table. Thats not catched by the Grid linked to this formatted & masked table. So, by only doing that, no sort of Mask appears in my Vb DBGrid.
- Secondly, I just set the Numberformat property for each Column of the Grid either to General Number, or to Short Date (needed/used Formats). (2nd - short date format can be obviously worked out in execution time, the way: dbgrid#.columns(#).NumberFormat = dd/mm/yyyy). Obviously both Only give Format, NOT MASK to my Grid. Id like to know if theres any existent way/method to set a DbGrids Colum mask. Ive tried with a Floating MaskedBox over the Grid, but apart from eventual missclicking problems (either by using _Click or _DblClick events), also gives some saving errors while using the dbgrid.
- Id appreciate any solving Suggestion related to properly Mask Grids columns.
Greetings.