Hi, Aaron.
why does CTRL+Y delete a line of code?
<CTRL><Y> facilitates moving a line of code without having to highlight the
entire line, such as is needed when using <CTRL><X>. It's a two-step
process.
Place the cursor anywhere along a line of code. Press <CTRL><Y> to "cut"
the entire line of code. Place the cursor somewhere else in the code
window. Press <CTRL><V> to "paste" the line of code at the new destination.
If one accidentally cuts a line of code with <CTRL><Y>, then merely pressing
<CTRL><V> while the cursor is on the same line will make the code reappear.
(<CTRL><Z> will make the code reappear, too, even when the cursor has been
moved elsewhere in the code window.) The code isn't lost. It's just been
cut and copied to the Windows clipboard for easy pasting elsewhere.
CTRL+Y -- which should be REDO-- it DELETES A LINE OF CODE
Perhaps in other editors. The VB Editor has its own shortcut keys. To redo
an action said:
I write Access VBA all day long.. and i've been burnt by this a couple
of times these past 10 years lol
Perhaps if you sought training in Access, you'd know how to use the tools
better and have far fewer disasters befall you and your software
applications.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.