Hi guys
How can I retrieve a value from the database into a variable in a macro. (basic)
I have a on_change event macro where I want to do the following:
SQL → variable
formfieldA = formfieldB * variable
The second bit I can do. But I can’t figure out how to get the select to return the value into the variable. In Oracle PL/SQL you use:
Select employeename INTO empvar from emplyoees where emp_id=1;
but it seems that you dont have this type of structure with base. (I’m using the ‘standard’ Hsomehting database that comes with base)