Sign Up |  Live StatsLive Stats    Articles 37,470| Comments 178,663| Members 19,495, Newest singhajay| Online 382
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Which event is triggered?

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
‘Snowball Earth' triggered early animal evolution? spnadmin SciTech 0 28-Oct-2010 07:35 AM
Event planner The Businessman Information Technology 1 28-Jul-2006 08:25 AM
Which form event would I use? Ricter Information Technology 3 28-Jul-2006 08:03 AM
Re: Change event LCSIV Information Technology 1 28-Jul-2006 08:01 AM
Change Event.... Bob Barnes Information Technology 2 28-Jul-2006 07:59 AM


Tags
which, event, triggered
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:39 AM
Gino's Avatar Gino
Guest
 
Posts: n/a
   
   
Which event is triggered?

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I needed a very simple listbox with check mark for each record, (which is not
available within Access), so I created a simple subform with one text field
and the checkbox, which I use in a way similar to a listbox (i.e. when I
click on a record in my subform, the main form displays that record).
This is triggered by a Click_Event on the text field on the subform and it
works fine.

However, I need to be able to scroll up and down the subform using the arrow
keys and have the main form synch with the subform.
I do not seem to find an event which gets triggered by simply moving to the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13711-which-event-is-triggered.html
the next or previous record using arrow keys or the navigation buttons at the
bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
AfterUpdate etc. etc., but since there is no actual data change nothing
happens).

Any idea?
Thank you very much.

P.S. I found a clever free utility which displays listboxes with check marks.
The demo works fine but it requred a bit too much knowledge for me to
customise it to my requirements. (I can't remember the link to that site but
I will post it if I find it).


When I click


it as a subform on a form using the same data.




Do you agree or disagree with the writer above? Why not share your immediate thoughts with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:39 AM
Larry Linson's Avatar Larry Linson
Guest
 
Posts: n/a
   
   
Re: Which event is triggered?

There's no event triggered by scrolling in a continuous forms view Form
(whether or not it is embedded in a Subform Control). The OnCurrent event
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
fires when you select a different record, but simply scrolling does not
select a different record (as you see if you left the RecordSelector active
in that Form).

Very likely, you found an ActiveX control that provides the capability you
want. But, unless it specifically says it is created and tested to be used
with Access, it may not work -- not nearly all ActiveX controls meet Access'
requirements.

Sorry I don't have better news.

Larry Linson
Microsoft Access MVP

"Gino" wrote in message
news:CBA65BAB-9419-40E6-ACCC-7C077C63DEDA@microsoft.com...
>I needed a very simple listbox with check mark for each record, (which is
>not
> available within Access), so I created a simple subform with one text
> field
> and the checkbox, which I use in a way similar to a listbox (i.e. when I
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
> click on a record in my subform, the main form displays that record).
> This is triggered by a Click_Event on the text field on the subform and it
> works fine.
>
> However, I need to be able to scroll up and down the subform using the
> arrow
> keys and have the main form synch with the subform.
> I do not seem to find an event which gets triggered by simply moving to
> the
> the next or previous record using arrow keys or the navigation buttons at
> the
> bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
> AfterUpdate etc. etc., but since there is no actual data change nothing
> happens).
>
> Any idea?
> Thank you very much.
>
> P.S. I found a clever free utility which displays listboxes with check
> marks.
> The demo works fine but it requred a bit too much knowledge for me to
> customise it to my requirements. (I can't remember the link to that site
> but
> I will post it if I find it).
>
>
> When I click
>
>
> it as a subform on a form using the same data.
>
>



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:39 AM
strive4peace's Avatar strive4peace
Guest
 
Posts: n/a
   
   
Re: Which event is triggered?

Hi Gino,

As Larry said, exactly what you want to do cannot be done within Access
requirements, but there are other ways to get the same functionality:

1.
instead of using a listbox, consider using a continuous form
(I have some really neat code to highlight the active record if you want it)

2.
if you want to keep using the listbox, the only way to trap the
movements is to control them... lock the listbox and force the users to
scroll using command buttons for (ie UP, DOWN, TOP, BOTTOM, and
possibly also a Search combo...

Warm Regards,
Crystal
*
(: have an awesome day
*
MVP Access

Warm Regards,
Crystal
*
(: have an awesome day
*
MVP Access



Larry Linson wrote:
> There's no event triggered by scrolling in a continuous forms view Form
> (whether or not it is embedded in a Subform Control). The OnCurrent event
> fires when you select a different record, but simply scrolling does not
> select a different record (as you see if you left the RecordSelector active
> in that Form).
>
> Very likely, you found an ActiveX control that provides the capability you
> want. But, unless it specifically says it is created and tested to be used
> with Access, it may not work -- not nearly all ActiveX controls meet Access'
> requirements.
>
> Sorry I don't have better news.
>
> Larry Linson
> Microsoft Access MVP
>
> "Gino" wrote in message
> news:CBA65BAB-9419-40E6-ACCC-7C077C63DEDA@microsoft.com...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
>
>>I needed a very simple listbox with check mark for each record, (which is
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
>>not
>>available within Access), so I created a simple subform with one text
>>field
>>and the checkbox, which I use in a way similar to a listbox (i.e. when I
>>click on a record in my subform, the main form displays that record).
>>This is triggered by a Click_Event on the text field on the subform and it
>>works fine.
>>
>>However, I need to be able to scroll up and down the subform using the
>>arrow
>>keys and have the main form synch with the subform.
>>I do not seem to find an event which gets triggered by simply moving to
>>the
>>the next or previous record using arrow keys or the navigation buttons at
>>the
>>bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
>>AfterUpdate etc. etc., but since there is no actual data change nothing
>>happens).
>>
>>Any idea?
>>Thank you very much.
>>
>>P.S. I found a clever free utility which displays listboxes with check
>>marks.
>>The demo works fine but it requred a bit too much knowledge for me to
>>customise it to my requirements. (I can't remember the link to that site
>>but
>>I will post it if I find it).
>>
>>
>>When I click
>>
>>
>>it as a subform on a form using the same data.
>>
>>

>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:40 AM
Gino's Avatar Gino
Guest
 
Posts: n/a
   
   
Re: Which event is triggered?

Thank you Larry for the clarifications. This is what I suspected.

Regarding the Listbox with check marks" which I found on the web, it is
actually coded in VBA and works with Access 97 and Access 2000. It does not
use an activex but some features within ACCWIZ.DLL which comes with a full
installation of Access.
The link with history and download is http://www.lebans.com/vb_listbox.htm

Best regards
Gino





"Larry Linson" wrote:

> There's no event triggered by scrolling in a continuous forms view Form
> (whether or not it is embedded in a Subform Control). The OnCurrent event
> fires when you select a different record, but simply scrolling does not
> select a different record (as you see if you left the RecordSelector active
> in that Form).
>
> Very likely, you found an ActiveX control that provides the capability you
> want. But, unless it specifically says it is created and tested to be used
> with Access, it may not work -- not nearly all ActiveX controls meet Access'
> requirements.
>
> Sorry I don't have better news.
>
> Larry Linson
> Microsoft Access MVP
>
> "Gino" wrote in message
> news:CBA65BAB-9419-40E6-ACCC-7C077C63DEDA@microsoft.com...
> >I needed a very simple listbox with check mark for each record, (which is
> >not
> > available within Access), so I created a simple subform with one text
> > field
> > and the checkbox, which I use in a way similar to a listbox (i.e. when I
> > click on a record in my subform, the main form displays that record).
> > This is triggered by a Click_Event on the text field on the subform and it
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
> > works fine.
> >
> > However, I need to be able to scroll up and down the subform using the
> > arrow
> > keys and have the main form synch with the subform.
> > I do not seem to find an event which gets triggered by simply moving to
> > the
> > the next or previous record using arrow keys or the navigation buttons at
> > the
> > bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
> > AfterUpdate etc. etc., but since there is no actual data change nothing
> > happens).
> >
> > Any idea?
> > Thank you very much.
> >
> > P.S. I found a clever free utility which displays listboxes with check
> > marks.
> > The demo works fine but it requred a bit too much knowledge for me to
> > customise it to my requirements. (I can't remember the link to that site
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
> > but
> > I will post it if I find it).
> >
> >
> > When I click
> >
> >
> > it as a subform on a form using the same data.
> >
> >

>
>
>

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:40 AM
Gino's Avatar Gino
Guest
 
Posts: n/a
   
   
Re: Which event is triggered?

  Donate Today!  
Thank you Crystal and I do appreciate your offer to let me use your code to
emulate a list box. Listboxes are easy enough to setup and use in Access but
not as flexible as I need sometimes...
Thank you and best regards
Gino


"strive4peace" wrote:

> Hi Gino,
>
> As Larry said, exactly what you want to do cannot be done within Access
> requirements, but there are other ways to get the same functionality:
>
> 1.
> instead of using a listbox, consider using a continuous form
> (I have some really neat code to highlight the active record if you want it)
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
>
> 2.
> if you want to keep using the listbox, the only way to trap the
> movements is to control them... lock the listbox and force the users to
> scroll using command buttons for (ie UP, DOWN, TOP, BOTTOM, and
> possibly also a Search combo...
>
> Warm Regards,
> Crystal
> *
> (: have an awesome day
> *
> MVP Access
>
> Warm Regards,
> Crystal
> *
> (: have an awesome day
> *
> MVP Access
>
>
>
> Larry Linson wrote:
> > There's no event triggered by scrolling in a continuous forms view Form
> > (whether or not it is embedded in a Subform Control). The OnCurrent event
> > fires when you select a different record, but simply scrolling does not
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13711
> > select a different record (as you see if you left the RecordSelector active
> > in that Form).
> >
> > Very likely, you found an ActiveX control that provides the capability you
> > want. But, unless it specifically says it is created and tested to be used
> > with Access, it may not work -- not nearly all ActiveX controls meet Access'
> > requirements.
> >
> > Sorry I don't have better news.
> >
> > Larry Linson
> > Microsoft Access MVP
> >
> > "Gino" wrote in message
> > news:CBA65BAB-9419-40E6-ACCC-7C077C63DEDA@microsoft.com...
> >
> >>I needed a very simple listbox with check mark for each record, (which is
> >>not
> >>available within Access), so I created a simple subform with one text
> >>field
> >>and the checkbox, which I use in a way similar to a listbox (i.e. when I
> >>click on a record in my subform, the main form displays that record).
> >>This is triggered by a Click_Event on the text field on the subform and it
> >>works fine.
> >>
> >>However, I need to be able to scroll up and down the subform using the
> >>arrow
> >>keys and have the main form synch with the subform.
> >>I do not seem to find an event which gets triggered by simply moving to
> >>the
> >>the next or previous record using arrow keys or the navigation buttons at
> >>the
> >>bottom of the subform (I tried OnChange, OnCurrent, BeforeUpdate and
> >>AfterUpdate etc. etc., but since there is no actual data change nothing
> >>happens).
> >>
> >>Any idea?
> >>Thank you very much.
> >>
> >>P.S. I found a clever free utility which displays listboxes with check
> >>marks.
> >>The demo works fine but it requred a bit too much knowledge for me to
> >>customise it to my requirements. (I can't remember the link to that site
> >>but
> >>I will post it if I find it).
> >>
> >>
> >>When I click
> >>
> >>
> >>it as a subform on a form using the same data.
> >>
> >>

> >
> >
> >

>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Nice Punjabi Songs with...
Today 02:40 AM
18 Replies, 499 Views
Would an Atheist Pray in...
Today 01:12 AM
54 Replies, 5,264 Views
Sikh Philosophy Network...
Today 00:56 AM
17 Replies, 789 Views
Thought of the Moment!
Today 00:06 AM
116 Replies, 6,126 Views
English Sri Guru Granth Sahib Ji Translations
Yesterday 23:30 PM
6 Replies, 95 Views
Can Sikhs worship...
Yesterday 23:17 PM
15 Replies, 180 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 21:25 PM
256 Replies, 6,071 Views
Difference in Bowing...
By Kamala
Yesterday 15:08 PM
11 Replies, 264 Views
What Really Happened on...
Yesterday 12:46 PM
13 Replies, 231 Views
Free Online Gurbani...
Yesterday 03:56 AM
13 Replies, 4,339 Views
English Sri Guru Granth...
Yesterday 03:51 AM
5 Replies, 173 Views
Edward Snowden: the...
Yesterday 03:34 AM
3 Replies, 187 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 03:23 AM
407 Replies, 9,445 Views
What Is Difference...
18-Jun-2013 09:18 AM
6 Replies, 183 Views
First There is Water by...
By Ishna
18-Jun-2013 05:03 AM
3 Replies, 193 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 03:15 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.82203 seconds with 32 queries