How do you format a date time field so that just the date displays in the
cell as mm/dd/yyyy? I've tried setting the format property for both the
column and text box to MDY and also tried D. I've set the DateFormat
property of the textbox to 10-MDY. I've tried setting sparse to both F and
T. No matter what I do, the time is also showing up in the cell with the
date.
How would I write code that would allow the user to increase the value by 1
in a cell by pressing the '+' key or decrease the value by 1 when pressing
the '-' key?
Now, I open a form that has two text boxes. I use it to enter a Part Number
from us OR the other box for Part Number from vendor.
Everything in the prior form is ok until I call the form that displays the
part found.
For some reason two things happen here.
I loose the 3 COLUMNs and when the form becomes active again I get an error:
UNKNOWN MEMBER "COLUMN7"
The same happens with the other two if I hit Ignore.
I've subclassed VFP 9 SP2's Grid class to a class in a VCX, and subclassed
the Column and Header class in a .PRG which I compile to keep current.
When I place a grid on a form and run it from the Form Designer, the form
runs perfectly. When I DO FORM formname from the Command window, the form
runs perfectly. However, when I Build my project, with the form in it, to an
EXE, run the EXE, and select a menu item which has the command DO FORM
formname, VFP 9 SP2 crashes with:
Fatal Error: Exception Code=c0000005 @