Signature (Visual Basic / VBA)
Public Function FileNameStringAccessV2( _
ByVal vPhrase As Variant _
, ByVal vMaxLen As Variant _
) As Variant
Code Example
FileNameStringAccessV2("MSysObjects", 8) = "MSYSOBJE"
FileNameStringAccessV2("Local Customers", 11) = "LOCAL_CUSTO"
Parameters
| Parameter | Description |
|---|---|
| vPhrase | Phrase which is to be converted into a valid DOS file name. Function returns Null if vPhrase is Null or cannot be fixed up to a String. |
| vMaxLen | Maximum length of the abbreviated name to be returned. Function returns Null if vMaxLen is Null or cannot be fixed up to a number. |