Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

Event when line selection changed  in Datasheet view

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerry Qu - 03 Jan 2005 16:22 GMT
Hi All,

I am using datasheet view as a subform to add/update data.

1) Is there any Event when the selection changing from one line (recorde) to
another line?

2) and how to identify the current line in VB?

a subform consist of fields displayed in datasheet view, bound to

select ID, * from table

how do know the ID for the current line selected

when the selection changed, what is the Event can be used to take some
action?

TIA

Jerry
Sandra Daigle - 03 Jan 2005 16:40 GMT
Hi Jerry,

The Current event fires whenever record navigation occurs.

The contents of the current record will be available through the bound
controls of the form. For example, if you have a control named CustName,
then the following will display a message containing the current name:

Msgbox "The Current Customer is: " & me.custname

Signature

Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.

> Hi All,
>
[quoted text clipped - 17 lines]
>
> Jerry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.