Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cut and Paste Causing Memo Corruption
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Cut and Paste Causing Memo Corruption
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00956032
Message ID:
00956032
Views:
45
Hi,

My users have reported memo corruption after using 'Copy and Paste' to select text from Web pages and paste them into my VFP application. This appears to be due to hidden control codes on the web page.

Has anybody come across anything like this before? And if so, what is the best way to validate memo data so that only the 'raw' text is saved to the memo field once the user closes the window to which they pasted the text?

I have set up a function call that checks every character in upper and lower case (A-Z), numbers, and certain formatting charcters such as CHR(10), CHR(13) but this does slow things down a bit when large chunks of text are involved.

Regards...Rex Toomey
Port Macquarie
Australia

"Still battling with VFP"
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Next
Reply
Map
View

Click here to load this message in the networking platform