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!

Browse Procedures - How do I call and activate a select button? 1

Status
Not open for further replies.

rleiman

Programmer
May 3, 2006
258
US
Hi.

I created a customer browse procedure including a customer update procedure. I plan to call the browse when a button is clicked. The browse also has select button.

In the procedure that will call the browse, I have some fields in a sales receipt table that I wish to populate with values from the browse when I click the select buton on the browse.

Can you tell me how to call the browse and have the select button displayed and activated?

Also can you tell me how to populate the local procedure's table fields with the values in the browse when the select button is clicked?

This is part of a point of sale program where the user will click a button to get a customer's address information populated in a sales receipt window.

Thanks.
Emad
 
Hi Emad,

On the Button's EVENT:Accepted :

GlobalRequest = SelectRecord
<BrowseProcedureToCall>
IF GlobalResponse = RequestCompleted
<assign values here>
END

Make sure the column containing values to be assigned (source) are either displayed on the browse or set up as Hot Fields.

Regards
 
Hi ShankarJ,

Thanks for the code.

I will put it in today.

Did you every think of compiling all of the help you have been giving to us and making a faq or doing a searchable web site containing all of your tips?

Thanks again!

Truly,
Emad
 
Hi Emad,

Thank you for your kind words. But there are better experts in Clarion who have such sites. And there is a wealth of help and tips in comp.lang.clarion.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top