On 25/09/2017 16:04, Matt Slay wrote:
/>> //What is the controlsource for the textbox set to? /
controlsource of the column is: "csrPartTasks.Setup"
textbox inherits same control source.
I have a screen where the user can enter values in a grid and I call a function thisform.sumrows called from grid.AfterRowColChange(). This just saves the record number and sums up the values and displays the result in a textbox below the grid. Never had a problem with a value missing. It could be as others have said that moving off the current record updates the cursor.
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960