Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 April 21st, 2004, 08:09 AM
V V is offline
Registered User
 
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subforms

How do you reference specific fields in a subform if the records are displayed continuously? If I have 10 records showing in a subform and I reference the "width" column via [forms]![subform]![width] = 10 I get every record in the subform named "width" getting the value of 10 and not the one specific for the row I want.



 
Old April 21st, 2004, 11:48 AM
V V is offline
Registered User
 
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Something more to add.

I'm also trying to do in a subform a combo box that depending on its selection I'd like to change the values available in another combo box. Again, the question arises, how do I address the specific combo boxes without affecting the other records on the continuous subform!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Subforms 150563a Access 1 June 29th, 2007 04:57 AM
Help! With multiple subforms dstein4d Access 2 February 8th, 2006 06:12 PM
subforms ajmil11 Access 2 January 19th, 2006 11:16 PM





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