Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Remind user's input through sessions

former_member209703
Active Contributor
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Yes..When the user leaves the transaction..You should give export..

At the starting of the transaction...Give IMPORT...

Thanks,

Naren

3 REPLIES 3

Former Member
0 Kudos

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

former_member209703
Active Contributor
0 Kudos

Thanks, but where should i place de export sentence? Maybe when the user leaves the transaction?

Former Member
0 Kudos

Hi,

Yes..When the user leaves the transaction..You should give export..

At the starting of the transaction...Give IMPORT...

Thanks,

Naren