Home > Back-end >  Ask questions about fastrepot again
Ask questions about fastrepot again

Time:10-15

I want to do is set of functions, how do I read data after the loop on the printed page?
I was hoping to place a MasterData1 first, then in inside in the memo, the memo set data fields, so you can loop to read data, but MasterData1 fixed in one place all the time, not free to move, it is not in line with my custom set of dozen of position, please tell me, how should I do,

CodePudding user response:

MasterData1 fixed in one place all the time, not free to move - is only not elsewhere in the middle,
MasterData1 to display the data, remember to still need to set the DATASET properties,

CodePudding user response:

"MasterData1 to display the data, remember to still need to set the DATASET properties" this I know, what I do is a set of outbound order, other data, I just need to set the corresponding data fields in the memo, adjust the position, is ok, only the outbound goods, units, such as the delivery of these multiple records, I mean if put in a MasterData, it shows the location of the data is not correct, I want to adjust the height of the MasterData, but can't move, so I don't know what to do I don't know how to display, and adjust the position of the corresponding

CodePudding user response:

MasterData height can be mobile, suggest you look at RS below DEMO,

CodePudding user response:

Elder brother ah, this is what explanation, I wish I could find, I am not going to ask for help, who can help me, set of playing the records how

CodePudding user response:

That's direct manual assignment well,
Report no data, you just place on each text item,
Print before each assignment so that you can place the position of each table item,
Self. FrxReport1. LoadFromFile (' schedule of reports \. Fr3);
TfrxMemoView (frxReport1 FindObject (' Memo1 ')). The Memo. Text:=adoquery1. Fieldbyname (' A '). Asstring;
TfrxMemoView (frxReport1 FindObject (' Memo2 ')). The Memo. Text:=adoquery2. Fieldbyname (' B '). Asstring;
.
Adoquery1. Next;//the second line
TfrxMemoView (frxReport1 FindObject (' Memo11 ')). The Memo. Text:=adoquery1. Fieldbyname (' A '). Asstring;
TfrxMemoView (frxReport1 FindObject (' Memo12 ')). The Memo. Text:=adoquery2. Fieldbyname (' B '). Asstring;
.

Self. FrxReport1. ShowReport;

Also can use variables or other data directly
TfrxMemoView (frxReport1 FindObject (' Memo13 ')). The Memo. Text:=self. Edit1. Text;
TfrxMemoView (frxReport1 FindObject (' Memo15 ')). The Memo. Text:=datetostr (self. DateTimePicker5. Date);
  • Related