View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003984 | JEDI VCL | 00 JVCL Components | public | 2006-11-05 23:03 | 2007-01-04 10:59 |
Reporter | EinWill | Assigned To | outchy | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.20 | ||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0003984: TJvDbSpinEdit don't allow to enter empty value (empty string) | ||||
Description | Problem: TJvDbSpinEdit don't allow to enter empty value (empty string) into database, even if property AllowNull = true. Instead, value '0' is entered. Solution: There are many ways to fix it. For example, lines 273-274 (jvdbspinedit.pas) says: ------------------------------------------------------------- FIsNull := (Text = '') and (NewValue = 0.0); inherited SetValue(NewValue); ------------------------------------------------------------- It can be replaced with: ------------------------------------------------------------- FIsNull := (Text = '') and (NewValue = 0.0); if not (FIsNull and FAllowNull) then inherited SetValue(NewValue); ------------------------------------------------------------- | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2006-11-05 23:03 | EinWill | New Issue | |
2007-01-04 10:58 | outchy | Status | new => resolved |
2007-01-04 10:58 | outchy | Fixed in Version | => Daily / SVN |
2007-01-04 10:58 | outchy | Resolution | open => fixed |
2007-01-04 10:58 | outchy | Assigned To | => outchy |
2007-01-04 10:58 | outchy | Note Added: 0010540 |