View Issue Details

IDProjectCategoryView StatusLast Update
0005582JEDI VCL00 JVCL Componentspublic2011-09-21 11:41
Reporterbagri_72Assigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionsuspended 
Product Version3.40 
Target VersionFixed in Version 
Summary0005582: JvInterpreter_Db, set TField's Value doesn't work if source value = null
DescriptionI 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 InformationCode 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');
 
TagsNo tags attached.

Activities

obones

2011-06-07 18:01

administrator   ~0018638

Please provide the zipped sources of a sample application showing this

obones

2011-09-21 11:41

administrator   ~0018914

No news, suspending the issue

Issue History

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