dbTalk Databases Forums  

Switching between Continuous and Single Forms

comp.databases.ms-access comp.databases.ms-access


Discuss Switching between Continuous and Single Forms in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Alger
 
Posts: n/a

Default Switching between Continuous and Single Forms - 01-04-2005 , 10:35 AM








Hi,

I've got a subform which has its default view set to "Continuous Forms".
What I want to be able to do is switch programatically between
"Continuous" and "Single".

I note that most View methods/properties seem to be focused on
Design/Form/Datasheet rather than Single/Continuous/Datasheet. Is it
even possible to switch at runtime?

Thanks in advance for any advice,

regards,
Dave

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
jv
 
Posts: n/a

Default Re: Switching between Continuous and Single Forms - 01-04-2005 , 11:00 AM






Hi Dave,
Set the focus to the subform and then use
DoCmd.RunCommand acCmdSubformDatasheet
or
DoCmd.RunCommand acCmdSubformFormView


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.