Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2006, 11:37 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vassala
Default Display the current record in textbox (form)

Hi,

I wold like to display the current record position in a form.

Is there a expression, command or so that could show that in a textbox?

I could swear that in the past I used something like Recno()...

Tanx

 
Old October 24th, 2006, 02:18 PM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Sub CurrentFormRecord(frm As Form)
    Dim lngrecordnum As Long

    lngrecordnum = frm.CurrentRecord
End Sub

HTH

mmcdonal
 
Old January 25th, 2007, 05:05 PM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vassala
Default

tanx allot






Similar Threads
Thread Thread Starter Forum Replies Last Post
Display current time 'fast' on a form. jpool Visual Basic 2005 Basics 1 July 4th, 2008 01:39 PM
Display current date and time in a webform TextBox cesemj ASP.NET 2.0 Basics 4 October 22nd, 2007 04:07 PM
print current record on another form jcellens Access 7 February 14th, 2006 02:01 PM
print current record in a form mjuliao Access 1 November 15th, 2005 08:57 AM
How to delete current record in bounded form? method Access 0 June 19th, 2005 04:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.