Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to scatter the memvar from select statement in FPD 2.6?

Status
Not open for further replies.

konnic

IS-IT--Management
Mar 5, 2002
5
HK
select e_no from employee where UserCondition to screen plain noconsole
scatter memvar
curr_ee = m.e_no

it said "variable 'e_no' not found however if i omit to screen", the curr_ee can get the variable m.e_no but a browse windows displayed. How can I can the variable and dun show the browse window?
 
Konnic,

Try this instead:

SELECT E_NO FROM EMPLOYEE WHERE UserCondition TO CURSOR MYCURSOR

SELECT MYCURSOR
SCATTER MEMVAR

You should then be able to issue:

curr_ee = m.e_no

Best Regards,
Scott

Please let me know if this has helped [hammer]
 
thx alot

after i also find that it is no need use scatter memvar just : e_no = curr_ee already can get the value
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top