Pechetico,
Thanks for the further explanation.
I can tell you that this is a very un-satisfactory approach. For a
number of reasons, really. We are dealing with a database, and as such
copy/paste is never a good idea. Second, the use of SendKeys in this
context is unreliable. Third, manipulating data directly in tables is
never a good idea. Fourth, there is almost certainly a lot easier way.
So, can you tell me, just in ordinary description, what the purpose of
this procedure is? I got the idea that you are makign a new record, and
copying the value from one of the fields into this new record. Is that
right? Or is it the whole record? But I can't quite understand about
the .1 or the role of the [record#]. And how do you know which record
to duplicate?
--
Steve Schapel, Microsoft Access MVP
I apreciate the help. But I want you to know that I'm not very knowedgeable
on the VB part. This is what I got on the Macro that I have
Copy_quote Echo
runcommand:SaveRecord
runcommand:Refresh
opentable: Quote; Datasheet; Edit
FindRecord: =[forms]!
![record#]
runcommand:selectrecord
runcommand: copy
runcommand:recordsgotonew
runcommand:slectrecord
runcommand
aste
sendkeys: .1{enter}; yes
setwarnings: no
close: table; quote
setwarning:yes
gotocontrol:[record#]
runcommand:removedfiltersort
findrecord:.1
setvalue: [forms]!
![record#] ;
[forms]!
![embedded178].[form]![record#]+1
runcommand: removefiltersort
findrecord
when ever it goes to the runcommand: paste, sometimes it goes to the first
space on the record and the rest of the macro works fine but sometimes it
goes to the end of the record and that is where it writes the .1 . Some
computers works fine (this ones does not have int explorer 7.0) but the rest
of them sometimes it works and sometimes does not (all this ones have the
internet explorer 7.0 that later was removed, but still does not work). All
this works on a pear to pear net. I do not know much about the programming
part, I know that the aplication works on some computer so I think has
something to do with communication problems. Can you help me please. Thank
you for your help