Hi,
seems like I'm too stupid to find out how to create variables by code.
What I want to do:
If the user starts the designer and clicks "File->Variables list" ther should be a Group called "Custom" and the variables "Test1" and "Test2" in there.
The values I want to fill by using OnGetValue.
I tried
frVariables['Test1']:='';
frVariables['Test2']:='';
Result: No entry in the Variables list in designer.
frVariables['Custom']:='';
frVariables[' Test1']:='';
frVariables[' Test2']:='';
Result: No entry in the Variables list in designer.
Report.Variables.Add('Custom');
Report.Variables.Add(' Test1');
Report.Variables.Add(' Test2');
Result: They're in the Variables list, but when clicking on them I get
an access violation.Any hint or example how to proceed?
Regards
Lukas
