William Hindman
wdhindman at dejpolsystems.com
Wed Mar 17 18:29:43 CDT 2010
...I just concatenated the "\" and it works ...AccessD saved my bacon again :) William -------------------------------------------------- From: "Jim Lawrence" <accessd at shaw.ca> Sent: Wednesday, March 17, 2010 4:01 PM To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Subject: Re: [AccessD] CurrentProject.Path syntax? > Hi William: > > So what does CurrentPath resolve to?... "v:\JISWORKING\TMS\" > You may have to pass the syntax through a variable like: > > strCurrentPath = trim(CurrentProject.Path & "MBCC_HallC_Spring_001a.mdp") > MetaDraw0.LoadPicture strCurrentPath > > This usually solves the problem. Also noted is you have curved brackets > around the name in the first version which may indicate a return value > from > the MetaDraw0 class which may confuse the simple thing...? > > HTH > Jim > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Wednesday, March 17, 2010 8:31 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] CurrentProject.Path syntax? > > ...the following two lines point to the same file ...but only line two > works > > ...what is my befuddled mind missing this time? > > 'MetaDraw0.LoadPicture (CurrentProject.Path & > "MBCC_HallC_Spring_001a.mdp"), > > 0, 0 > MetaDraw0.LoadPicture "v:\JISWORKING\TMS\MBCC_HallC_Spring_001a.mdp", 0, 0 > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >