BrowseDialog - SearchFields - Error


Author
Message
Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ivan... Boa Tarde...

Necessitarei da sua ajuda aqui, com seu bom inglês.

Observe as imagens do arquivo anexado. Um campo com um Combo BO anexado para pegar apenas os clubes habilitados para o usuário logado carrega os registros na interface de pesquisa (apaguei os dados do TopMost Text/Value para evitar que o filtro desconsidere esse campo na filtragem). No entanto o resultado da pesquisa exibe registros de outros clubes também.

ImagemConfA.jpg = Mostra o BO com Fill personalizado para trazer apenas os clubes habilitados para o usuário logado.

ImagemConfB.jpg = Onde apaguei os valores de TopMost (quero forçar a seleção).

ImagemConfC.jpg = A tela 'General' do campo IdClube configurada.

ImagemConfD.jpg = Todos os campos configurados para a pesquisa.

ImagemA.jpg = Observe que no combo exibe apenas um clube. No resultado da pesquisa, que está ordenado pelo primeiro campo, a coluna IDClube confirma que os registros do clube 1 foram listados.

ImagemB.jpg = Nesta imagem, observe que, no final, estão também os registros de outro clube (IDClube = 2) demonstrando que o módulo não filtrou corretamente os registros.

Aguardo seu retorno.

Rogério Mauri Smile



Attachments
ImagemA.jpg (153 views, 67.00 KB)
ImagemB.jpg (139 views, 62.00 KB)
ImagemConfA.jpg (168 views, 83.00 KB)
ImagemConfB.jpg (143 views, 84.00 KB)
ImagemConfC.jpg (149 views, 83.00 KB)
ImagemConfD.jpg (139 views, 59.00 KB)
Replies
Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ops...

Esqueci de algo importante.

Obrigado pelo acompanhamento e suporte.Smile

Rogério Mauri Smile



Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ivan... Ainda sobre essa questão.

Observe o descritivo do Help sobre o controle, especificamente quanto a utilização do TopMost.

Na prática, condição para criar o "None" não é possível. Sempre da "All", independente do que você coloque no par Text/Value.



Rogério Mauri Smile



Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Rogerio,

Let me jump in here because I have had a conversation with Ivan about this.  This is not a bug and works as it is intended to work.  If you wish to override the TopMost logic in the browse dialog, then your ONLY option is to handle the Searching event of the browse dialog and then implement your logic to counteract the default behavior.  This is a prime example of why this event was created.  This is not something that is going to change within the framework since doing what you are asking would actually break every other SF user out there and would not be backward compatible.  Even if we were to make a change, this would not be implemented for another version or two.  And since the preferred method to handle this is going to be through the Searching event, then you already have a solution to do exactly what you would like. 

I thought I better jump in here because you are pressing for an answer that you are not likely to get and I wanted you to be able to spend your time working through a solution using an existing mechanism that exists within the framework. 

Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ok Trent...

Então, para finalizar este diálogo, poderia me dar um exemplo funcional de utilização do TopMostValue diferente de -1 ou 0 ?


 

Rogério Mauri Smile



Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Rogerio Mauri (12/18/2008)
Então, para finalizar este diálogo, poderia me dar um exemplo funcional de utilização do TopMostValue diferente de -1 ou 0 ?  

Then, to finish this dialogue, could you give a functional example of use with different value of -1 or 0?

Rogério Mauri Smile



Rogerio Mauri
Rogerio Mauri
StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)StrataFrame User (439 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
tks...

Rogério Mauri Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Rogerio Mauri - 17 Years Ago
Ivan George Borges - 17 Years Ago
Rogerio Mauri - 17 Years Ago
Rogerio Mauri - 17 Years Ago
Ivan George Borges - 17 Years Ago
                         Não... Porque na verdade ele desconsidera o conteúdo do índice 0 (veja...
Rogerio Mauri - 17 Years Ago
                             Bom Rogério, este BrowseDialogestá em uso com todo o pessoalque usa...
Ivan George Borges - 17 Years Ago
                                 Ivan... Mas é essaa intenção, obrigar o usuário a escolher uma opção...
Rogerio Mauri - 17 Years Ago
                                     Um detalhe... Concordo que se eu utilizar a opção "TopMost"o...
Rogerio Mauri - 17 Years Ago
                                         Eu sei, entendi isto no início. Por isto que te falei que você deveria...
Ivan George Borges - 17 Years Ago
                                             Ok... Irei verificar outras opções, se é possível, mas fica registrada...
Rogerio Mauri - 17 Years Ago
                                                 OK, Rogério. Depois eu vou traduzir sua mensagem e enviar para eles,...
Ivan George Borges - 17 Years Ago
                                                     Ok Ivan... Permanecendo então a funcionalidade atual,o TopMost...
Rogerio Mauri - 17 Years Ago
                                                         Ops... Esqueci de algo importante. Obrigado pelo acompanhamento e...
Rogerio Mauri - 17 Years Ago
                                                             Ivan... Ainda sobre essa questão. Observe o descritivo do Help sobre...
Rogerio Mauri - 17 Years Ago
                                                                 Rogerio, Let me jump in here because I have had a conversation with...
Trent L. Taylor - 17 Years Ago
                                                                     Ok Trent... Então,para finalizar este diálogo, poderia me dar um...
Rogerio Mauri - 17 Years Ago
                                                                         [quote][b]Rogerio Mauri (12/18/2008)[/b][hr]Então,para finalizar este...
Rogerio Mauri - 17 Years Ago
                                                                             tks...
Rogerio Mauri - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search