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 May 8th, 2007, 08:16 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access project and Subforms

I am upsizing an Access DB to SQL Server. Mindful that the objective is to reduce the network traffic I want to know what the best way of
setting up the Recordsource for subforms.

Obviously the starting point is to have a Stored procedure as the RecordSource. but does Access automatically ask SQL server just for the relevant records on the subform or is the whole Dataset sent across when the main form is opened and Access then sorts out the ones it wants.

Or would it be better to give the Record source for the Subform a parameter of the key and change it programmatically as the key on the main form changes.
 
Old May 17th, 2007, 11:49 AM
Authorized User
 
Join Date: Jan 2006
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

for subforms,i:e one to many relationship,u will after upsizing,re-extablish the relationships in sql,n this is done,the moment the record source of the parent from is correct,then that of the sub form will be.i have assumed that the names iof the tables and fields remain the same i:e b4 and after upsizing






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access project luissilva755 Pro VB.NET 2002/2003 0 October 24th, 2008 11:46 AM
Access Data Project moedev Access 1 April 19th, 2006 06:40 AM
Remote access to an Access Project Database bright_mulenga Access 0 February 9th, 2006 10:51 AM
From 1 project to get access to another project hplim18 Pro VB.NET 2002/2003 0 March 30th, 2004 10:33 PM
Access project refresh VBAHole22 Access 6 July 16th, 2003 11:59 AM





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