AW: [AccessD] URGENT!! A2K - form won't load; is code lost??

Michael Brosdorf michael.broesdorf at web.de
Mon Jul 19 13:35:16 CDT 2004


That sounds interesting: I was working in a project where all access-objects
were stored in Visual Source Safe as text.
One of the forms was corrupted, so we went into the text stored in VSS and
were able to fix it there. Unfortunately I
can't remember what exactly the problem was...

-----Ursprungliche Nachricht-----
Von: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von
MartyConnelly
Gesendet: Montag, 19. Juli 2004 20:02
An: Access Developers discussion and problem solving
Betreff: Re: [AccessD] URGENT!! A2K - form won't load; is code lost??



you can try to use the undocumented SaveAsText and LoadFromText, may
help if an object is
corrupted or otherwise behaving weirdly.
At the debug/immediate window type:
Application.SaveAsText acForm,"MyForm","c:\form.txt
or depending on Access version
SaveAsText acForm,"MyForm","c:\form.txt
You can then load the file into a new MDB.
Application.LoadFromText acForm,"MyForm","c:\from.txt"

Jim DeMarco wrote:

>Hello all,
>
>I've got an extremely urgent matter I hope someone can help me with.  One
of the forms in our A2K app (the main form naturally) will not load and we
cannot access the code-behind.  We've tried compact/repair and jetcomp.exe.
Can anyone help us get our form and code back?
>
>Unfortunatelly my developer did not back up his last rev and there is a lot
of code to be lost.
>
>TIA,
>
>Jim DeMarco
>Director Application Development
>Hudson Health Plan
>
>
>

--
Marty Connelly
Victoria, B.C.
Canada



--
_______________________________________________
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