;// Open table to which contains strings
tcString.open("mystrings.db")
;// Make sure there is data in the table
if tcString.nRecords() <> 0 then
;// Copy a value to the String variable
vrString = tcString.stringField
;// Write it out to the Clipboard
vrString.writeToClipboard()
endIf
tcString.close()
endMethod
Looks ok to me. What do you mean by not cooperating? Have you
tried just doing:
vrString = "This is a test"
vrString.writeToClipboard()
...and then open Notepad and hit Ctrl+V to paste and see if you
get "This is a test" pasted in...
Liz
--
Lorrin (filter the spam to reply)
<marv...@capital.net> wrote in message
news:3A6F4162...@capital.net...
<marv...@capital.net> wrote in message
news:3A6F4162...@capital.net...
To get the record currentlöy shown in a form, you have to use
tcursor.attach(ObjectNameInForm) instead of tcursor.open()
--
Bertil Isberg CTECH
read the newsgroup: corelsupport.faqs.paradox
for Frequently Asked Questions
---------------------------------------------------
<marv...@capital.net> skrev i
diskussionsgruppsmeddelandet:3A6F4162...@capital.net...
var
oleauto OLEAUTO
s1, s2 string
endvar
s1 = FirstName
s2 = Address,... etc
oleauto.open("Wordperfect.PerfectScript")
oleauto.type(s1)
oleauto.hardreturn()
oleauto.type(s2)
oleauto.close()
Presumably, one could also use other Wordprocessors besides WP.
raharris
<marv...@capital.net> wrote in message
news:3A6EFDDF...@capital.net...