View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002585 | JEDI VCL | 00 JVCL Components | public | 2005-02-01 02:07 | 2006-07-29 07:35 |
Reporter | ppm | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | 3.00 BETA | ||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0002585: jvdblookupcombo don't refresh value on detail in master/detail dataset relationship | ||||
Description | i think it's old error from rx library - if we have master/detail relationship on some dataset, and JvDBLookupCombo is on detail dataset it's don't refresh keyvalue, i comment one line in TJvLookupControl.CheckDataLinkActiveChanged, works good, but... - i think that generaly test if fields was recreated is bad idea to determine that keyvalue should be refresh it's my version (ugly but minimalistic change in orginal :) ) procedure TJvLookupControl.CheckDataLinkActiveChanged; var TestField: TField; begin if FDataLink.Active and (FDataFieldName <> '') then begin TestField := FDataLink.DataSet.FieldByName(FDataFieldName); //if Pointer(FDataField) <> Pointer(TestField) then begin FDataField := nil; FMasterField := nil; CheckNotCircular; FDataField := TestField; FMasterField := FDataField; DataLinkRecordChanged(nil); end; end; end; | ||||
Tags | No tags attached. | ||||
|
i forgot add that fields on detail are created at design time, and as object all time exists with same pointer |
|
Could you provide a sample application, complete with sources AND demo database? |
|
yep - i will try to prepare |
|
please close this issu - i cannot reproduce error in sample application on JVCL 3.20 |
|
urgh.... i cannot upload file urgh2... i do additional test with bde components - here problem exist - my previous test was made on ado(dbGo) components - there all is fine... link to zip with sources, database and binary ftp://bomark.serwery.pl/JvDBLookupCase.zip in "db" subdirectory is database - pls make odbc alias with point to it problem exists on second form where i placed jvdblookupcombo - if i navigate on master dataset lookupcombo don't refresh it's value |
|
If you cannot reproduce it with ADO but can with BDE, then it is most likely an error in BDE. Considering that BDE is no longer supported, I'm not in favor of doing any research on this. However, if you find a bug fix that you believe has no side effects, please provide a diff file and we will integrate it. Also, please try with the latest daily version: http://jvcl.sf.net/daily/ |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-02-01 02:07 | ppm | New Issue | |
2005-02-01 02:13 | ppm | Note Added: 0006327 | |
2006-03-30 02:52 | obones | Note Added: 0008736 | |
2006-03-30 02:52 | obones | Status | new => feedback |
2006-03-30 03:05 | ppm | Note Added: 0008740 | |
2006-05-09 04:15 | ppm | Note Added: 0009262 | |
2006-05-09 05:42 | ppm | Note Added: 0009264 | |
2006-06-09 02:38 | obones | Note Added: 0009516 | |
2006-07-29 07:35 | obones | Status | feedback => resolved |
2006-07-29 07:35 | obones | Fixed in Version | => Daily / SVN |
2006-07-29 07:35 | obones | Resolution | open => won't fix |
2006-07-29 07:35 | obones | Assigned To | => obones |