I am using Clarion 11 and is making a small browse/update solution.
In addition to the main update form, is it possible to make a few additional update forms for some fields that is being updated on a more frequent basis?
yes it is possible. Create a button that Call a form procedure with Requested File Action set as Change
If you want to create independent update forms that are called by your own code, here are the steps:
- Make sure your record is fetched.
- Set GlobalRequest to ChangeRecord.
- Call your update form.
- Check the value of GlobalResponse.
CODE DO CodeToEnsureThatTheRecordIsFetched GlobalRequest = ChangeRecord MySpecialUpdateForm IF GlobalResponse = RequestCompleted !Successfully saved record ELSE !Something else happened END
On the other hand, if you want to call a special form depending on what type of record it is, you can set your browse’s update procedure to that of a SOURCE procedure.
You could put something like the following in that source procedure:
CODE CASE YourRecord:SpecialIdentifier OF Type1 YourType1Form OF Type2 YourType2Form ELSE YourDefaultForm END
Worked right away. Thanks.