Refresh Drop Down In Form

Hi All,

Is there a way to refresh a dropdown list in a form in Basic?

Basically here’s the issue. I’ve got a dropdown that is for “Book Series” - next to it I have a button for “New Series”. Obviously New Series is intended for if I started a new book in a series I’ve never read before. Issue is that after pushing “New Series” and entering the new series info in a separate form, the dropdown for “Book Series” doesn’t include the new series. I’d like to just refresh the one dropdown if that’s possible.

Thanks in advance.

@JessieJames Your other question seems to have be deleted. Have answer as to why your form isn’t working if you could repost question.

Hello,

Not certain of your set-up, but in most cases just reload the form:

oForm = ThisComponent.Drawpage.Forms.getByName("MyForm")	
oForm.reload()