03-03-2007 10:04 PM
hi.
One question about ModulPool development.
I've got an input field (wich references a field of a DB Table) where the user types an identifier.
I need the program to remind the last identifier typed for the user on every execution,
even when the user leaves the system and logs in again.
I know that i need to set the 'get' and 'set' properties of the field, but, is there
something else i gotta do? Do i have to write some code?
Thanks everybody.
03-04-2007 12:44 AM
Hi,
Yes..When the user leaves the transaction..You should give export..
At the starting of the transaction...Give IMPORT...
Thanks,
Naren
03-03-2007 10:10 PM
Hi,
You can use EXPORT, IMPORT to database ...This will retain even if the user logon's next time..If you want to be user specific..use the user name in the MEMORY ID..
Example..
DATA: v_value.
v_value = 'Z'.
EXPORT v_value TO DATABASE indx(st) ID 'ZMEMORY'.
CLEAR: v_value.
IMPORT v_value FROM DATABASE indx(st) ID 'ZMEMORY'.
WRITE: / v_value.
Thanks,
Naren
03-03-2007 11:05 PM
Thanks, but where should i place de export sentence? Maybe when the user leaves the transaction?
03-04-2007 12:44 AM
Hi,
Yes..When the user leaves the transaction..You should give export..
At the starting of the transaction...Give IMPORT...
Thanks,
Naren