The report does not need to know the name of the table.
It will use the current selected table.
Usually your program will create a random table but in order to populate the table your program must know the name
cTable = “RandomName”
select * from Mytable into cursor (cTable)
Tarea = select(cTable)
select Tarea
report form Myreport
on the report just remove the “MyTable.” Part of the expression
_____________________________________________
>I use it as mytable.fieldname. If I wanted to use it as a fieldname do I just in the field expression give that same name as the field name in my table? Also how do select a table that is randomly named in my report? Also, how will the report know name of random table?
>
>Thanks
>Nick Patel
B.D.H.