index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: remove "build report" link? :: (4)Post a New Message | Post a Reply
May 24 2005, 4:56 AM
 remove "build report" link?Post a Reply
 fmbma

View this author's profile Send this author a private message

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
 Re: remove Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

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
 Re: remove - here is my codePost a Reply
 fmbma

View this author's profile Send this author a private message

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
 found the problemPost a Reply
 fmbma

View this author's profile Send this author a private message

since: May 23, 2005
from: Massachusetts

I had displayreports before setting the parameters.

thanks

Pages: (1)   [1]

search this forum: