T
|
thesofa 10/31/2006 |
I have made a few assumptions, please tell me which are wrong |
D
|
Dale author 11/1/2006 |
Hi thesofa, |
T
|
thesofa 11/1/2006 |
Hi thesofa, Thanks for your response. Your one assumption is correct. We are looking at the older record to update fields. But, another reason this happens is due to the fact that a couple of my tables are imported on a weekly basis. Thus the data for this one particular field is not allways that same as in the created picklist. We open the record and poof, "Please Select" is showing as the choice in the picklist. We need to know what is in the data before we can edit it to the appropriate picklist value. So the question comes back to, how do I have the picklist function show the value that is currently in the database table even if it does not match a picklist value? I suppose I will have to dig into the function myself, I was just hoping to get a "Do this, to resolve your issue response". Thanks again for your input.
|
![]() |
Alexey admin 11/2/2006 |
Dale, ##if @f.m_strWhere## $LookupSQL.="where ".##@f.m_strWhere##; endifReplace it with: ##if @f.m_strWhere## $LookupSQL.="where ".##@f.m_strWhere##; if($mode==MODE_EDIT) $LookupSQL.=" or ##@f.strLinkField s##=".make_db_value($field,$value); endif
|
D
|
Dale author 11/2/2006 |
Thanks Alexey |
D
|
Dale author 11/4/2006 |
Bump, as they say. |
![]() |
Alexey admin 11/7/2006 |
Dale, |
D
|
Dale author 11/7/2006 |
Thanks Jane for the response. |