Dataset filed references

I would like to know if there is a way to refer generically to the fields of the masterdata's dataset, without having to specify it directly?
In practice, I often have to print the same fields but on a different masterdata, I can not just copy / paste of the first and in the second one change the dataset to work on only, I have to get into each text object instead and change the reference to the data set: for example, if I have a box in the first masterdata (working on Dataset1) pointing to "Dataset1.Myfieldname" in the second one (working instead on dataset2) I have to change it manually with "Dataset2.Myfieldname".
This is inconvenient and time-consuming, exists a way to solve all without having to perform this procedure!

Lorenzo

Comments

  • gpigpi
    edited 6:12PM
    Try to set TfrxMemoView's dataset and datafield. If you will want to change dataset for several memos - just select they and change dataset one time

Leave a Comment