Inside methods and subroutines I use the following :

local lcSelect, lcMyTable

lcSelect = select()
lcMyTable = sys(2015)

use (lcMyTable) again in 0
or
create cursor (lcMyTable) (fieldname M)
or
select * into (lcMyTable) from OtherTable

repla fieldname with 'something' in (lcMyTable)

.....
....
...
..
.

use in select(lcMyTable)

select (lcSelect)

This allows me to keep the same DE and yet avoid any clashes with other
table names.
Any thoughts? Can it be done better?

TIA




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to