Wrox Programmer Forums
|
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 June 1st, 2006, 08:58 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 181
Thanks: 0
Thanked 0 Times in 0 Posts
Default Caption Field

Hi All
Is there any way of generating a Caption Field to change depending on the response of a user or to pop up the autonumber field in the caption field

Thanks

Brendan Bartley
__________________
Brendan Bartley
 
Old June 2nd, 2006, 07:23 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I am not sure what event you want to do this with. Can you explain more of what you want?

You can take a value from anywhere like this, and then make it part or all of your caption, like this:

sValue = InputBox("Please enter a value"

Me.Caption = sValue

HTH

mmcdonal
 
Old June 2nd, 2006, 07:24 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

that should be:

sValue = InputBox("Please enter a value")

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox Caption brian189 Access VBA 3 May 25th, 2007 07:05 AM
saving changes to label caption Loralee Access 5 January 6th, 2006 09:53 PM
using control.caption in Access2000 vance696 Access 2 January 5th, 2006 03:01 PM
caption jlnashrod Access VBA 2 April 5th, 2004 10:48 PM
ToolWindow Caption Kep C# 0 February 24th, 2004 12:59 AM





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