Alpha DevCon 2018
Results 1 to 4 of 4

Thread: Script to create a report turns into a delete script when a different user is logged

  1. #1
    Member
    Real Name
    Werder
    Join Date
    Nov 2008
    Posts
    178

    Default Script to create a report turns into a delete script when a different user is logged

    I'm using a script from the message board to print a report with a button on a browse. I believe the code is originally written by Tom Cone or Stan. Everything worked fine for months. I recently created a user and group under security. When this new user is logged in and pushes the button on the browse no report is created. When the report already exists pushing the create button will infact delete the report it is supposed to (re) create. To me this is really amazing. I'm interested to understand how this is possible and would like to know if the result is the same on your system. I attached a sample to test this.

    The password for the user: “administrator” and user: “watch” is “admin”. Use the administrator account to create the report and use the watch account to create (delete) a new report. Because of the addin.variables() the file is saved on drive d:\ (autoexec file / code tab). The name of the directory is the same as the first field on the browse.
    Last edited by werder101010; 10-27-2010 at 10:10 AM.

  2. #2
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Michigan
    Posts
    4,119

    Default Re: Script to create a report turns into a delete script when a different user is log

    yes, I see the same behavior. I can't see the cause at the moment.
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

  3. #3
    Member
    Real Name
    Werder
    Join Date
    Nov 2008
    Posts
    178

    Default Re: Script to create a report turns into a delete script when a different user is log

    Thanks for checking and confirming Mike. I'll send in a bug report so alpha can look at it.

  4. #4
    Member
    Real Name
    Werder
    Join Date
    Nov 2008
    Posts
    178

    Default Re: Script to create a report turns into a delete script when a different user is log

    Selwyn confirmed it's a bug an he will fix it. By allowing the “watch” user to enter records (security settings table) the problem go's away.

Similar Threads

  1. Alpha Five Action Script. Script Create
    By debwelch in forum Alpha Five Version 6
    Replies: 3
    Last Post: 03-13-2006, 07:12 AM
  2. Alpha Five Action Script: Script Create
    By debwelch in forum Alpha Five Version 5
    Replies: 1
    Last Post: 04-30-2004, 10:35 AM
  3. Date dialog script & report script won't combi
    By rbierman@iowbar.org in forum Alpha Five Version 5
    Replies: 6
    Last Post: 12-07-2003, 07:40 AM
  4. How do you delete a script?
    By Marvin Johnson in forum Alpha Five Version 5
    Replies: 3
    Last Post: 01-10-2003, 07:51 AM
  5. create script
    By Schulzie in forum Alpha Five Version 4
    Replies: 0
    Last Post: 08-18-2000, 05:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •