index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
May 24 2005, 4:56 AM |
| ||||||
fmbma since: May 23, 2005 from: Massachusetts | I'm working with the trial version. How do I remove the "Build Report" link? I changed the canedit parameter to false. also, what is the format for setting the Home link to a different url? or are these things locked down in the trial version? thanks! | ||||||
May 24 2005, 5:25 AM |
| ||||||
ghost from: Washington, DC | The HomeUrl property sets the Home link e.g. objWiz.HomeUrl = "mypage.html" To prevent a user from editing or adding just use the IsAdmin property. You can also use - CanEdit, CanAdd & CanDelete objWiz.IsAdmin = False For more information check the Report Wizard API at the following link - Report Wizard API - User-Level Security ------------------------- Ghost | ||||||
May 24 2005, 5:44 AM |
| ||||||
fmbma since: May 23, 2005 from: Massachusetts | here is my code: objWiz.StyleSheet = "styles.css" objWiz.Init("Provider=MSDASQL;Driver={SQL Server};" & _ "Server=localhost;Database=platinum;" & _ "User ID=xxxxxx;Password=xxxxxxx;") 'put this where you want your reports objWiz.HideTables = True objWiz.DisplayReports objWiz.CanAdd = False objWiz.CanEdit = False objWiz.CanDelete = False objWiz.HomeUrl = "http://localhost/platinum" objWiz.DefaultPageSize = 15 objWiz.IsAdmin = False Set objWiz = Nothing | ||||||
May 24 2005, 5:51 AM |
| ||||||
fmbma since: May 23, 2005 from: Massachusetts | I had displayreports before setting the parameters. thanks | ||||||
Pages: (1) [1] |