Hi Jan,

Thank you for your advice. I am still working on this but I have made some 
progress thanks to your help.

Regards
John Docherty

On Thursday, November 30, 2023 at 2:15:12 AM UTC+13 jan johansen wrote:

> John,
>  
> I would think you need to do something like this...
>  
> --Form On Before Start EEP
> SET VAR vCurrDrv = (CVAL('CURRDRV'))
>  
> --Form On AFTER Start EEP
> PROPERTY yourfilelistboxpropertyid DEFAULTDIRECTORY .vCurrDrv
> PROPERTY yourfilelistboxpropertyid REFRESHLIST 'TRUE'
>  
> Jan
>   
>
> From: "[email protected]" <[email protected]>
> To: RBASE-L <[email protected]>
> Date: Wed, 29 Nov 2023 02:03:17 -0800 (PST)
> Subject: [RBASE-L] - Changing File List Box Directory
>
> I am trying to work out how to change the default directory based on the 
> value of the CURRDRV as I swap the database between one laptop where the DB 
> is on the D drive and another which only has a C drive.   I have tried 
> using the PROPERTY & GETPROPERTY commands and the DEFAULTDIRECTORY but it 
> seems that making this work is beyond me...  If anyone can please provide 
> some advice regarding this that would be very much appreciated. 
>  
> Thank you.
> Regards
> John Docherty
>  
>
> --
> For group guidelines, visit 
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rbase-l/58b539c0-278f-4047-9b14-7de88f495ea1n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rbase-l/58b539c0-278f-4047-9b14-7de88f495ea1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/257fcf25-f5e5-4333-8d30-bc176f8fa290n%40googlegroups.com.

Reply via email to