PC Review


Reply
Thread Tools Rate Thread

Access97 copy/paste error under Virtual PC conditions

 
 
Emir
Guest
Posts: n/a
 
      2nd Nov 2006
Hi friends

The following codelines work fine since years in different PC
configurations - also in a runtime environment.-- but not so under Virtual
PC (VPC2004)
conditions. There is no difference whether it is a Virtual XP / 2000 / ME /
98 machine. The acCmdPaste-command always gives an error 2046 under VPC.
After the error reporting, the records can simply be inserted with Ctrl-V.
Hence they have properly been stored in the clipboard and the fields are
acceptable to the receiving form. Why the hell does it not do it
automatically
without an error?

'Copying the records into the clipboard
DoCmd.OpenForm "SourceForm", acNormal, "", "", acReadOnly, acIcon
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdCopy
DoCmd.Close acForm, "SourceForm"
'Getting the records into the new location
DoCmd.OpenForm "ReceivingForm", acNormal, "", "", acAdd, acIcon
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste 'results an error 2046

It seems the involved clipboard storage is overstretched.

Does anyone have observed similar limitations? Any hint is welcome.
Thanks in advance
Walter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy conditional formatting, paste format without conditions jasonr17 Microsoft Excel Misc 6 2nd May 2008 05:52 PM
Access97 vs Access2003 copy record in a form error =?Utf-8?B?TGVuSnI=?= Microsoft Access 0 5th Oct 2006 03:03 AM
Whe I paste a copy, get error and copy is in grey? =?Utf-8?B?R2xhc3NtYXJibGU=?= Microsoft Access Forms 1 15th Aug 2006 08:51 PM
copy and paste in different columns with conditions 71marco71 Microsoft Excel Programming 1 31st Jan 2004 03:10 PM
copy and paste in different columns with conditions 71marco71 Microsoft Excel Programming 2 27th Jan 2004 06:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:51 PM.