Record Number Change Event?

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
User avatar
Scramasax
Posts: 2
Joined: Sat Jun 28, 2008 9:20 pm

Record Number Change Event?

Post by Scramasax »

The following function works fine when I call it from Event: (When Loading) in my main form.

What I need is to change the text in my combo box when I go from record to record. So far I haven't found an event that does this, and its making me crazy. :?

Code: Select all

Sub LoadSelectors(oEv as object)
	Dim buffer As String
	oEv.source.GetByName("Shingles").Text	=""
	oEv.source.parent.GetByName("Hidden").Reload()
	buffer		=oEv.source.parent.GetByName("Hidden").GetByName("ShinglesHide").Text
	oEv.source.GetByName("Shingles").Text	=buffer
	rem MsgBox buffer
End sub
OOo 2.3.X on Ms Windows XP
QuazzieEvil
Volunteer
Posts: 283
Joined: Tue Dec 04, 2007 6:38 pm
Location: Houston, TX

Re: Record Number Change Event?

Post by QuazzieEvil »

try the After Record Change Event of the form.
Post Reply