Automatic page numbering in header per APA style?

Is there a way to get automatic page numbering in the upper right corner of the page per APA style format using LibreOffice Writer?

Thanks!

Of course there is a way! As you don’t say which LO version you use, let’s do it the old way. See the official help, just change footer by header.

I hope this answers your question.

I attempted to do this and it does not help in having separate page numbers.
Please help!

Under the Insert menu, theres a sub-menu entitled Fields, you’ll find what you’re looking for under there.