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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simulate a clic on a button

Status
Not open for further replies.

TheKnee

Programmer
Feb 17, 2005
33
CA
GP ver 7.5

I try to simulate a clic on the button, in the windows sop_entry , expension button 4

i would like to have the sales rep Feild (Require Feild)

The way i found is


Private Sub Codedevise_AfterLostFocus()
Saisiedesdonnéesdétaillées.Open
Saisiedesdonnéesdétaillées.CustomerNumber.Value = SalesTransactionEntry.Codeclient.Value
Saisiedesdonnéesdétaillées.Codereprésentant.Focus
End Sub

But when the form open is not linked to the transaction

Some one have a idee, or a simple way to do this
 
I found it my self

i put the answere i case off someone need it

I did

Private Sub Codedevise_AfterLostFocus()
ExpansionButton4.FocusSeg (1)
ExpansionButton4.Value = Chr(13)
End Sub

Voila

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top