Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[base]: Macro - form: save, refresh, copy, paste

Hello! I need help with macro in LibreOffice Base (ver. 5.3). I have a form called 'Form1' in which are MainForm (from table) and SubForm (from query). I need a macro that works after lost focus from textbox called 'Text1' and:

  1. save recordord,
  2. refresh form,
  3. copy text from textbox called 'Text2' (in SubForm),
  4. paste this text (from 'Text2') to textbox 'Text1' (in MainForm),
  5. save and refresh again.

Recording macros don't work. I couldn't write this by myself. Could anyone help me?

[base]: Macro - form: save, refresh, copy, paste

Hello! I need help with macro in LibreOffice Base (ver. 5.3). I have a form called 'Form1' in which are MainForm (from table) and SubForm (from query). I need a macro that works after lost focus from textbox called 'Text1' and:

  1. save recordord,
  2. refresh form,
  3. copy text from textbox called 'Text2' (in SubForm),
  4. paste this text (from 'Text2') to textbox 'Text1' (in MainForm),
  5. save and refresh again.

Recording macros don't work. I couldn't write this by myself. Could anyone help me?

C:\fakepath\ORDO-D.odb - see table: Dokumenty, queries: ipws and znaki, form: Dokumenty