UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> from one form go to a new record on a different main forms\subfo    
 
   
TheZjooj
post Aug 16 2007, 07:56 PM
Post#1



Posts: 636
Joined: 22-February 04



Hello,
Hope I can have this make sense (and be possible) but I am in dire need for getting a different subform to go a new record from a different main form...
Basicall I am wanting to go to a new record in frmCustomerSub from frmOrdersList
frmOrdersList is a main form and frmCustomersSub is a subform to frmCustomersMain...
frmOrdersList is a completely different form.
Whew, I hope that makes sense... Is this even possible?
I'm not afraid of VBA so sock it to me sad.gif
Regards,
Zjooj
Go to the top of the page
 
dashiellx2000
post Aug 16 2007, 08:04 PM
Post#2


UtterAccess VIP
Posts: 9,829
Joined: 11-March 05
From: Maryland


You will need to send something in the Open Arguments of the open form command to test for to send the focus to the new record on the subform.
heck out access help on the OpenForm Method to see where to put your open arguments. The on the frmCustomersMain use If Me.OpenArgs to test for it. This chart shows how to properly reference the subform from the main form.
HTH.
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    16th June 2019 - 11:43 AM