Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button Action 1

Status
Not open for further replies.

VictorBull

Programmer
Nov 22, 2002
2
GB
I need to use a button to allow a search from within a form to be made on a specific field. This is easy provided I first click on the search field.

What I really require is for the button to know which field to search on.

The field in question is a numeric field called URN and all I want to do is to allow the operator to click on the button and insert a URN to search on.

I do not seem to be able to get the button to search on the URN field without first clicking on the field within the form.

Any ideas please, this must be a very simple question, but I am new to Paradox. I am using version 9
 
I assume you are using a standard Locate button. Quickest solution is to insert a moveto() as the first command in the button's pushbutton method.

Code:
moveto(yourFieldName)



Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top