Cut and paste code 
Author Message
 Cut and paste code

If anybody can help it would be great!
I have a form that changes record source at run-time.  I need to design
code that can take the current record displayed on that form cut it and
paste it into another table based on some defined criteria.  I have
searched my list of macros and code and have not come up with a
solution.

A query is the source of the record on the form and the record needs to
be pasted to a table.

Thanks!



Mon, 12 Mar 2001 03:00:00 GMT  
 Cut and paste code
You can make a macro with the RunSQL action. As SQL statement you can use INSERT INTO Table VALUES(FormField1,
FormField2,.......).


Quote:
> If anybody can help it would be great!
> I have a form that changes record source at run-time.  I need to design
> code that can take the current record displayed on that form cut it and
> paste it into another table based on some defined criteria.  I have
> searched my list of macros and code and have not come up with a
> solution.

> A query is the source of the record on the form and the record needs to
> be pasted to a table.

> Thanks!



Mon, 12 Mar 2001 03:00:00 GMT  
 Cut and paste code
Thank you!!!
Quote:

> You can make a macro with the RunSQL action. As SQL statement you can use INSERT INTO Table VALUES(FormField1,
> FormField2,.......).


> > If anybody can help it would be great!
> > I have a form that changes record source at run-time.  I need to design
> > code that can take the current record displayed on that form cut it and
> > paste it into another table based on some defined criteria.  I have
> > searched my list of macros and code and have not come up with a
> > solution.

> > A query is the source of the record on the form and the record needs to
> > be pasted to a table.

> > Thanks!



Mon, 12 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Cut and paste code?Qbasic

2. Cut-and-Paste code not working

3. How to put VB code on Web Page so Cut-n-Paste works

4. Cut, Copy, & Paste Code

5. Cut copy & paste in VB code

6. Cut, Copy, Paste

7. Cut and paste using richtext?

8. How can I copy records like cut-n-paste

9. disabling cut/copy/paste

10. Handling cut and paste through VBa

11. Cut-n-Paste Excel snippet into Outlook 98...

12. disabling copy/paste/cut on shape shortcut menu

 

 
Powered by phpBB® Forum Software