Home » Developer & Programmer » Forms » smart lov
smart lov [message #463204] Wed, 30 June 2010 03:52 Go to next message
narang79
Messages: 137
Registered: June 2010
Senior Member
i want smart lov search like

i type m then show all like 'm' if type mo then show like 'mo'

we use timer & execute query for this smart serach
but for very heavy data it will take more time

how can we fast this query or
this there qny other option for this option
Re: smart lov [message #463205 is a reply to message #463204] Wed, 30 June 2010 03:57 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
narang79 wrote on Wed, 30 June 2010 09:52
i want smart lov search like

i type m then show all like 'm' if type mo then show like 'mo'

LOVs do this by default.

narang79 wrote on Wed, 30 June 2010 09:52

we use timer & execute query for this smart serach

Why?
What exactly are you actually doing?

narang79 wrote on Wed, 30 June 2010 09:52

how can we fast this query or
this there qny other option for this option

You'd have to tell us what you're actually doing and what the query actually is before we could possibly make suggestions.
Re: smart lov [message #463228 is a reply to message #463205] Wed, 30 June 2010 05:19 Go to previous messageGo to next message
narang79
Messages: 137
Registered: June 2010
Senior Member
sir a button shown in a form

when we press button the lov open & we select any record from lov like ma & press enter then

according to lov data coming in new block through execute query

but i want

when lov open select item name like 'm' then don't use enter query execute auto & data shown in new block according to m

after that m i select o means select mo then data shown in new block like mo
Re: smart lov [message #463233 is a reply to message #463228] Wed, 30 June 2010 05:32 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
I really would give up on that plan - it's going to be really difficult to code and it's going to be horribly slow.
Re: smart lov [message #463305 is a reply to message #463233] Wed, 30 June 2010 11:10 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Oracle Forms is probably not the right tool to do that kind of a job.
Re: smart lov [message #464266 is a reply to message #463305] Wed, 07 July 2010 03:20 Go to previous messageGo to next message
narang79
Messages: 137
Registered: June 2010
Senior Member
sir is there any help about to solve the above problem
Re: smart lov [message #465392 is a reply to message #464266] Wed, 14 July 2010 01:24 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you solved your problem?

@LF and CM, isn't this the default LOV behaviour? You can also use the 'long' version so that the user has to enter one or more letters and then press 'enter' before the list is populated. This is usually reversed for working with a huge list of names, etc.

David
Re: smart lov [message #465437 is a reply to message #465392] Wed, 14 July 2010 02:49 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
After re-reading the question, I think that all the fuss is about avoiding one keystroke: <EXECUTE QUERY>. Is it worth it?
Re: smart lov [message #465464 is a reply to message #465437] Wed, 14 July 2010 04:47 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
@David - OP appears to want the actual datablock to be populated based on what is entered as it is entered.
So user types M - query is issued to get everything that starts with M.
User then types O - query is again issued to get everything that starts with MO.
Re: smart lov [message #465614 is a reply to message #465464] Thu, 15 July 2010 00:34 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If they want it to run faster, make sure there is an index and that they have high band width.

David
Re: smart lov [message #466435 is a reply to message #463204] Mon, 19 July 2010 11:20 Go to previous messageGo to next message
narang79
Messages: 137
Registered: June 2010
Senior Member
sir till date i cant solve this problem
Re: smart lov [message #466631 is a reply to message #466435] Tue, 20 July 2010 07:07 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If the column is indexed and you don't have 'Query All' set then it probably will never be any faster. Getting rid of the 'Post-Query' trigger might make things run faster.

David
Re: smart lov [message #466644 is a reply to message #466631] Tue, 20 July 2010 07:23 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
David I think you're missing the point.
The OP wants to mimic an LOVs filtering functionality in a datablock.
So requery data everytime they type a letter.
Re: smart lov [message #466647 is a reply to message #466644] Tue, 20 July 2010 07:25 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I am not missing the point. The point is that what the user wants sucks in terms of performance, that's why there are long LOVs.

David
Previous Topic: Show SQL statement in Forms
Next Topic: Dynamic LOV problem
Goto Forum:
  


Current Time: Thu Sep 19 17:59:03 CDT 2024