1. Set Focus to the datasheet portion of the Split Form
2. Select all records
3. Copy to the clipboard
Everything works except setting focus to the datasheet portion. I've tried
SetFocus on a bound control, but that doesn't work. I've tried the
CurrentView property of the Form, but it is ReadOnly (contrary to what the
Help File says...).
Does anyone know how to accomplish this? Thanks.
Matthew Pfluger
Bonnie
http://www.dataplus-svc.com
--
Message posted via http://www.accessmonster.com
None of the RunCommands work either. They all give the error message that
the "Command is not available now."
I need to set focus to the Datasheet view programatically, but it seems that
there is no key combination or property to do this.
Matthew Pfluger
me!subformname.form.setfocus
Bonnie
http://www.dataplus-svc.com
Matthew Pfluger wrote:
>I've tried the following:
>Me.CurrentView = 2 ' Doesn't work, Read-Only property
>Docmd.RunCommand acCmdSubformDatasheet
>Docmd.RunCommand acCmdSubformDatasheetView
>Docmd.RunCommand acCmdDatasheetView
>
>None of the RunCommands work either. They all give the error message that
>the "Command is not available now."
>
>I need to set focus to the Datasheet view programatically, but it seems that
>there is no key combination or property to do this.
>
>Matthew Pfluger
>
>> Could you show the code you tried please.
>>
>> Bonnie
>> http://www.dataplus-svc.com
--
Matthew Pfluger
What version of Access are you using?
Would you describe how you create a "Datasheet in Split Form view"? I can't
find anything in Help (surprise!).
Thanks
--
Steve S
--------------------------------
"Veni, Vidi, Velcro"
(I came; I saw; I stuck around.)
>Would you describe how you create a "Datasheet in Split Form view"? I can't
>find anything in Help (surprise!).
Split Forms are a new feature in Access 2007.
--
John W. Vinson [MVP]
--
Steve S
--------------------------------
"Veni, Vidi, Velcro"
(I came; I saw; I stuck around.)