Touf
New Member
hi
I hope someone can help me I want to pass through the table and field name from 1 program to another
but I seem to constantly get the error "Unknown or ambiguous table lvtable"
below is the programs I created
Prog1:
def var lvtable as char.
def var lvfield as char.
for each _file
,
first _field of fifaman._file
where _field._field-name matches "*company"
:
assign lvtable = _file._file-name
lvfield = _field._field-name.
{tables.p lvtable lvfield }
end.
Prog2:
for each {1}:
display {1}.{2} .
end.
What am I doing wrong?
I hope someone can help me I want to pass through the table and field name from 1 program to another
but I seem to constantly get the error "Unknown or ambiguous table lvtable"
below is the programs I created
Prog1:
def var lvtable as char.
def var lvfield as char.
for each _file
,
first _field of fifaman._file
where _field._field-name matches "*company"
:
assign lvtable = _file._file-name
lvfield = _field._field-name.
{tables.p lvtable lvfield }
end.
Prog2:
for each {1}:
display {1}.{2} .
end.
What am I doing wrong?