Hi All,
This is a simple one for sure, but definitely needs to be here in the “how do i?” clarion repo.
How do you call an update form in change mode from code (without a browse) so that it opens and saves?
NOTES:
- This is for a non-mdi link, so that the update form is not called via START().
STEPS:
- In the parent procedure,
- Retrieve the record that the form will be displaying/saving,
- Set
GlobalRequest = ChangeRecord
after record is retrieved, but before calling the form procedure, - Call the form procedure, e.g.
Person_Update()
- In the “Properties” for the update form, make sure the “Changes” option in the Save Button Properties -> Allow: section is checked TRUE.