I
Please, how do I set a value in a formatted field, formatted as currency. It is not tied into a DB field. Have tried .CurrentValue= and .SelectedValue=. One was not recognised and the other was read only error.
formContainer=ThisDataBaseDocument.FormDocuments.getByName(“Master Maintenance”)
formContainer.open
’ wait 500
mainForm=formContainer.Component.getDrawPage().getForms().getByIndex(0)
control=mainForm.getByName(“fmtAllBanks”)
control.CurrentValue=SumAllGifters
Thankyou any help would be appreciated.
Answered below.