[AccessD] Continuous subform on a continuous subform

Charlotte Foust cfoust at infostatsystems.com
Tue Mar 18 16:51:25 CDT 2008


The usual way to handle this is to use multiple subforms at the same
level rather than nested.  It's often easier to popup a continuous
subform from a button rather than embedding it.  If you nest at the same
level, you pass the key value up to a control on the parent form, and
that's the link the other subform uses to filter its records.

Charlotte Foust 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin
at Beach Access Software
Sent: Tuesday, March 18, 2008 2:41 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Continuous subform on a continuous subform

Dear List:
 
I would like to put a continuous subform on a continuous subform, but
I'm getting a message that this can't be done.  So I'm trying to find a
way around this. 
 
The form tracks incoming shipments.  The main form is single form
showing the shipment info in the header.
 
Each shipment can have more than one purchase order. So the purchase
orders are listed in the detail section.  Form is continuous.  So far so
good.
 
However, each purchase order can have several lots. And for each P.O.
added to the shipment the client wants to see all the lots attached to
that PO.
The lots and purchase orders are already in the tables.  They're going
to create the shipment last (this incoming shipment thing is an add-on
to the existing legacy system).
 
So the user creates a new incoming shipment and adds existing purchase
orders (incoming shipment POs are in a table with the shipment table PK
as the FK) .  So I've got the purchase orders displaying in a continuous
form.

 
But for each P.O. the client wants to see all the lots attached to that
PO.
So I think, OK, subform of lots (lots have the PO number as a field)
linking the selected PO numbers to the lots.  Subform in a subform.
 
But no-go.  So, how does one finesse this?  
 
MTIA
 
Rocky
 



 	
	
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list