Home Subreports

Persistence

edited May 2003 in Subreports
I have persisited my reported to a database, upon reloading the report my
subreport no longer has the user name I specified. Is there anyway I can
establish what the previous name was as to me this is quite important...

--
Regards

Conrad Rowlands
Callards Technology Ltd

Comments

  • edited May 2003
    When you load the subreport, make sure that there are no other reports on
    the same form. If you do, then the component name will have to be renamed in
    order to avoid naming conflicts. Are you sure the UserName is getting
    changed and not Name? UserName should be able to be duplicated in the child
    components of a form, while the Name has to be unique.

    If you want to be sure that it is the same, then in the public
    Report.Template.OnLoadEnd event, assign the UserName of the subreport to be
    whatever value you want.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.