[AccessD] copy string to clipboard

Bryan Carbonnell carbonnb at sympatico.ca
Wed Aug 17 21:32:29 CDT 2005


On 18 Aug 2005 at 12:28, Bruen, Bruce wrote:

> This must! be simple.
> 
> I have a string variable created by concatenating the values of
> several form fields.  So how can I copy the value of this string to
> the clipboard?
> 
> Private Sub Command35_Click()
>     Dim refstr As String
>     refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" &
>     Me.TestID
> & "|"
>     Debug.Print refstr
>     Stop
>     ':-( Runcmd accmdStickTheStringInTheClipboard :-(
> End Sub

It's an API call.

Have a look at http://www.mvps.org/access/api/api0049.htm for the 
gory details.

-- 
Bryan Carbonnell - carbonnb at sympatico.ca
"When they put 'unknown' at the end of a quote, that means they 
probably don't know how to spell 'anonymous'." 
~Author Unknown 





More information about the AccessD mailing list