Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Report Control - Focus Last Record
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control - Focus Last Record

 Post Reply Post Reply
Author
Message
robs View Drop Down
Groupie
Groupie


Joined: 09 November 2003
Status: Offline
Points: 84
Post Options Post Options   Thanks (0) Thanks(0)   Quote robs Quote  Post ReplyReply Direct Link To This Post Topic: Report Control - Focus Last Record
    Posted: 21 April 2005 at 9:47am
Is there a way to set the focus to the last record added to the control?
Back to Top
robs View Drop Down
Groupie
Groupie


Joined: 09 November 2003
Status: Offline
Points: 84
Post Options Post Options   Thanks (0) Thanks(0)   Quote robs Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2005 at 10:05am

Figure this out (YES)

Assuming your Report Control is called "RC" and your last record added is called "Record":

rc.Populate
Set rc.FocusedRow = rc.Rows(record.index)

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.164 seconds.