I'd like to update a field value by allowing the user to click a button that has a value as it's caption.
There will be multiple buttons each with its own distinct value. I can put code in the click of each button knowing it's assigned value, and that will do the job, but would rather use a form method. Is there a way to have the method determine which button was clicked, and therefore assign the new value to the field. The code I'm using now in the button.click is: SELECT bidboard UPDATE bidboard SET amount = 6000 llok = tableupdate(1,.f.,'bidboard') thisform.refresh James E Harvey Hanover Shoe Farms, Inc. M.I.S./Corresponding Officer Off: 717-637-8931 fax: 717-637-6766 email: jhar...@hanoverpa.com _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/005c01c9ae3f$c8ef7a00$5ace6e...@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.