Ask Your Question
0

Refresh Drop Down In Form

asked 2018-07-16 01:48:02 +0100

JessieJames gravatar image

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.

edit retag flag offensive close merge delete

Comments

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

Ratslinger gravatar imageRatslinger ( 2018-07-17 16:52:34 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-07-17 05:04:27 +0100

Ratslinger gravatar image

Hello,

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

oForm = ThisComponent.Drawpage.Forms.getByName("MyForm")    
oForm.reload()
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-16 01:48:02 +0100

Seen: 62 times

Last updated: Jul 17 '18