No "shortfilename" has nothing to do with what you're trying.  Shortfilename is 
only used when you're using the "DIR" command, it controls what's shown back to 
you in the file listing.

Karen

 

 

 

-----Original Message-----
From: MD <[email protected]>
To: rbase-l <[email protected]>
Sent: Wed, Jan 17, 2018 2:48 am
Subject: [RBASE-L] - SHORTFILENAME vs. LONGFILENAME



I have a filelistbox and when I select an image on a folder using the PROPERTY  
LONGFILENAME I obtain the file name and its full path.  I wanted to get just 
the file name so I assumed that using the SHORTFILENAME would yield the name of 
the file only.        Component ID:  flbFileNam
My code is:
 
GETPROPERTY flbFileNam LONGFILENAME 'fvFileImgNam'
.
GETPROPERTY flbFileNam SHORTFILENAME 'fvFileImgNamShrt'
The result is:

 
It appears that both property command yield the same results.  So my 
understanding of the SHORT & LONGFILENAME is weak or I am doing something wrong 
or something else?  I need some help.
 
I was just trying to get the file name without the path (CM9197.jpg).  Your 
help is greatly appreciated.
 
Thank you,
Manuel
RBase XE latest upgrade.
 
By the way I tried this in the RRBYW19 database on an existing form and it 
behaved in the same way.

-- 
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].
For more options, visit https://groups.google.com/d/optout.


-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to