Re: Template form for CreateForm
From: Marie (anonymous_at_discussions.microsoft.com)
Date: 11/29/04
- Next message: Dirk Goldgar: "Re: I hit a mental block...if someone could help"
- Previous message: Joanne: "Mail Merge error in 2003"
- In reply to: John Nurick: "Re: Template form for CreateForm"
- Next in thread: John Nurick: "Re: Template form for CreateForm"
- Reply: John Nurick: "Re: Template form for CreateForm"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Nov 2004 14:49:02 -0800
John,
That actually works. Good idea.
Two more questions:
1. How do I delete a form in MyDB from code in DB1?
2. How do I "send to back" on a control from VBA? - It is
normally done with the edit menu.
Marie
>-----Original Message-----
>Hi Marie,
>
>Why not just use DoCmd.TransferDatabase (in DB1) to copy
the "template"
>form from DB1 to MyDB?
>
>On Mon, 29 Nov 2004 08:02:43 -0800, "Marie"
><anonymous@discussions.microsoft.com> wrote:
>
>>I have a database DB1 that creates a form in another
>>database MyDB (like a wizard).
>>
>>I use the following code
>>
>> Dim AppAcc As New Access.Application
>> AppAcc.OpenCurrentDatabase "C:\MyDB.mdb"
>> AppAcc.CreateForm , "FMmaster"
>>
>>FMmaster is a form in DB1 with size and other properties
>>set to match the use.
>>
>>But it doesn't work. I can create a form in MyDB - but
it
>>is not based om FMmaster.
>>
>>What is wrong?
>>
>>I have also tried to have the master in MyDB - but that
>>didn't work either.
>
>--
>John Nurick [Microsoft Access MVP]
>
>Please respond in the newgroup and not by email.
>.
>
- Next message: Dirk Goldgar: "Re: I hit a mental block...if someone could help"
- Previous message: Joanne: "Mail Merge error in 2003"
- In reply to: John Nurick: "Re: Template form for CreateForm"
- Next in thread: John Nurick: "Re: Template form for CreateForm"
- Reply: John Nurick: "Re: Template form for CreateForm"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|