View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0005582 | JEDI VCL | 00 JVCL Components | public | 2011-05-20 11:16 | 2011-09-21 11:41 | 
| Reporter | bagri_72 | Assigned To | obones | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | suspended | ||
| Product Version | 3.40 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0005582: JvInterpreter_Db, set TField's Value doesn't work if source value = null | ||||
| Description | I assign Values to fields from other Dataset. These Values could be NULL, it's OK.  But null is not korrekt to assign with AsInteger. As workaround I've changed JvInterpreter_DB, functions Write_As_XXX to work with TField.Value, not with TField.AsXXX.  | ||||
| Additional Information | Code Sample. dsSMNZylinderNewEdit.Edit; dsSMNZylinderNewEdit.FieldByName('HerstellerID').AsInteger := dsZylinderModell.Lookup('ID', TcxCustomEdit(Sender).GetEditValue, 'HerstellerID'); dsSMNZylinderNewEdit.FieldByName('ZylinderArtID').AsInteger := dsZylinderModell.Lookup('ID', TcxCustomEdit(Sender).GetEditValue, 'ZylinderArtID'); dsSMNZylinderNewEdit.FieldByName('LieferantID').AsInteger := dsZylinderModell.Lookup('ID', TcxCustomEdit(Sender).GetEditValue, 'LieferantID');  | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2011-05-20 11:16 | bagri_72 | New Issue | |
| 2011-06-07 18:01 | obones | Note Added: 0018638 | |
| 2011-06-07 18:01 | obones | Status | new => feedback | 
| 2011-09-21 11:41 | obones | Note Added: 0018914 | |
| 2011-09-21 11:41 | obones | Status | feedback => resolved | 
| 2011-09-21 11:41 | obones | Resolution | open => suspended | 
| 2011-09-21 11:41 | obones | Assigned To | => obones |