Probably not strictly a 10.2 problem, but I’m not sure.
I’m changing a database to use the new relational database options, which is making a procedure redundant, except for one element which I should be able to put in the code area for the relevant field. The code in the procedure, which works perfectly is:
if Category contains “Fuel”
alertnoyes “Do you want to claim the fuel rebate for this entry?”
if info(“dialogtrigger”) = “Yes”
getscrap “Fuel rebate rate (c/L):”
If I put this code into the code section of the field “Category” it sort of works, but the second message comes up without pausing for the first question to be answered, so they have to be completed in opposite order, which makes no sense. If I do it a second time however, the value inserted into the clipboard DOES get entered into the FuelRebate (text) field. I decided I could do without the noyes question, and just ask for the rebate amount, entering zero if I didn’t want to claim the rebate. However, now I get the following error - and have no idea why?