frankie lo
|
Posted: 06/30/2006, 3:23 AM |
|
Dear all,
For "search, grid & record on one page" setup, do you know why the listbox
can't not get the value from value of grid page. I am using default
"Application Builder". Other listbox has no this problem if gird page show
"id" value rather than "description" value .
For example, table country( id, description) has data (JP and Japan)
Case 1, listbox in grid show id value- "JP", then record page show "Japan" -
it is fine
Case 2, listbox in grid show description value - "Japan, then record page
show "Select Value" - Wrong, user would miss the data when edit!!!!
What I can do if I want bnoth grid/record page show description value? Can
you tell me which part of code i should modify?
Many Many Thanks.
|
|
|
peterr
Posts: 5971
|
Posted: 06/30/2006, 11:28 AM |
|
The listbox doesn't take its value from a grid, but from the URL. Thus check the URL of your record page. You should see something like "country=JP". Otherwise you may need to change your link in the Grid to pass this value to the record page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
frankie lo
|
Posted: 06/30/2006, 7:44 PM |
|
It seems use URL to sent "KEY ID" value to retrieve data. so I can see the
table key value rather than other fields value.
I have to know which part vb module to handle the logic.
XXXX_list.aspx.vb or XXXX_listDataProvider.vb? I have reviewed both of them
but don't understand how it work....
Because the CCS3 sync problem, I can edit the code by VS2005 only.
Thanks for your help.
|
|
|
frankie lo
|
Posted: 07/02/2006, 6:50 PM |
|
Should I review the code of 'ListBox XXXXXX AfterExecuteSelect function in
XXXXX_DataProivder.vb ?
any one can help ??
"frankie lo" <frankiecblo@hotmail.com> wrote in message
news:e84nii$jvm$1@news.codecharge.com...
> It seems use URL to sent "KEY ID" value to retrieve data. so I can see the
> table key value rather than other fields value.
>
> I have to know which part vb module to handle the logic.
>
> XXXX_list.aspx.vb or XXXX_listDataProvider.vb? I have reviewed both of
> them but don't understand how it work....
>
> Because the CCS3 sync problem, I can edit the code by VS2005 only.
>
> Thanks for your help.
>
>
> "peterr" <peterr@forum.codecharge> wrote in message
>news:844a56d34ae45c@news.codecharge.com...
>> The listbox doesn't take its value from a grid, but from the URL. Thus
>> check the
>> URL of your record page. You should see something like "country=JP".
>> Otherwise
>> you may need to change your link in the Grid to pass this value to the
>> record
>> page.
>> _________________
>> Peter R.
>> YesSoftware Forums Moderator
>> For product support please visit http://support.yessoftware.com
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>
|
|
|
frankie lo
|
Posted: 07/02/2006, 8:09 PM |
|
this problem solved, the cause was the difference of length between master
table and data field.
"frankie lo" <frankiecblo@hotmail.com> wrote in message
news:e89t5s$rps$1@news.codecharge.com...
> Should I review the code of 'ListBox XXXXXX AfterExecuteSelect function in
> XXXXX_DataProivder.vb ?
>
> any one can help ??
>
>
> "frankie lo" <frankiecblo@hotmail.com> wrote in message
>news:e84nii$jvm$1@news.codecharge.com...
>> It seems use URL to sent "KEY ID" value to retrieve data. so I can see
>> the table key value rather than other fields value.
>>
>> I have to know which part vb module to handle the logic.
>>
>> XXXX_list.aspx.vb or XXXX_listDataProvider.vb? I have reviewed both of
>> them but don't understand how it work....
>>
>> Because the CCS3 sync problem, I can edit the code by VS2005 only.
>>
>> Thanks for your help.
>>
>>
>> "peterr" <peterr@forum.codecharge> wrote in message
>>news:844a56d34ae45c@news.codecharge.com...
>>> The listbox doesn't take its value from a grid, but from the URL. Thus
>>> check the
>>> URL of your record page. You should see something like "country=JP".
>>> Otherwise
>>> you may need to change your link in the Grid to pass this value to the
>>> record
>>> page.
>>> _________________
>>> Peter R.
>>> YesSoftware Forums Moderator
>>> For product support please visit http://support.yessoftware.com
>>> ---------------------------------------
>>> Sent from YesSoftware forum
>>> http://forums.codecharge.com/
>>>
>>
>>
>
>
|
|
|
|