Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8511

Re: Checking Records in multiple screens using module pool programming

$
0
0

Lets say you have 2 fields first name and last name in the screen 3000. you have named these fields as first_name and last_name

 

On the top include, create 2 fields first_name and last_name.

 

In screen 3000:

PBO:

module get_data.

 

create the subroutine get_data.

 

in this module add the below code.

select single fname lname                   " fname and lname are the fields in your Z table

          from ZSTUDENT

          into (first_name, last_name)

          where fname EQ                      " what ever value was entered in screen 2000

          and    lname EQ                      " what ever value was entered in screen 2000.

endselect.

 

Thanks,

Vikram.M


Viewing all articles
Browse latest Browse all 8511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>