[Dropped] Message when running copy field macro

Discuss the database features
Post Reply
Dynamite017
Posts: 2
Joined: Wed Jul 01, 2026 4:16 am

[Dropped] Message when running copy field macro

Post by Dynamite017 »

I added the Copy Field macro to Base using the code posted in the forum. However, when I try to run the macro, I get this error message:

"A Scripting Framework error occured while running the Basic script Standard.Module1.CopyField.

Message: Wrong number of parameters!"

I know nothing about coding, so I don't know what this error means or how to fix it! Help!
Last edited by MrProgrammer on Sun Jul 19, 2026 3:38 pm, edited 1 time in total.
Reason: Dropped: No Base attachment provided by Dynamite017
Open Office 4.1.13 on Windows 10
FJCC
Moderator
Posts: 9644
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Error message when running copy field macro

Post by FJCC »

Please tells us where this macro is. I don't know what code you are referring to.
You will almost certainly have to provide more details about how you are using the macro.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Dynamite017
Posts: 2
Joined: Wed Jul 01, 2026 4:16 am

Re: Error message when running copy field macro

Post by Dynamite017 »

The macro is here:

viewtopic.php?f=21&t=83531
Open Office 4.1.13 on Windows 10
FJCC
Moderator
Posts: 9644
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Error message when running copy field macro

Post by FJCC »

Thanks for posting that link. There is a lot going on in that thread. Can you post a Base file that illustrates the specific problem you are having? The simpler the file is, the better. When you post the file, please explain what actions you take that lead to the error.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Post Reply