This topic is locked
[SOLVED]

 Finally!!! (updated)

12/29/2005 8:54:20 AM
ASPRunnerPro General questions
Sergey Kornilov admin

ASPRunnerPro 4.0 beta (build 80, updated Feb 1st) is available for download
http://www.asprunner.com/files/asprunnerpro40b.exe
You do not need to uninstall previous version of ASPRunnerPro. If you need to revert back to ASPRunnerPro 3.2 you can get from our website.
We still work on some minor features. Updated help file will be available after New Year. All users who qualify to get this version as free upgrade will be sent new registration keys first week of January.
What's new in this version:

  • Events

    Ability to call some ASP code before or after record is edited,

    deleted, added etc. Modify values before they written to the database,

    say "no" to record deletion or update, send an email with new data etc.
  • Wizard for new database/tables creation.
  • Multiple table aliases. Generate several views for the same database table.
  • Encode passwords in database (optionally).
  • Add new items to database-driven drop-down boxes and listboxes on the fly.
  • More search modes (and-or search, not search).
  • Major UI redesign. Quick switch between database tables on any page.
  • Common header and footer on all pages. Put file named header.asp to include folder to make it appear on the top of every generated page.
    - Multiple records per row layout
    - Help file updated
    - New "View as" type Checkbox
    - Datepicker allows to enter time into datetime fields

501264 12/30/2005

I am digging what I'm seeing so far! AWESOME! Only issue is multiple dependent dropdown feature not working? Please advise... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7279&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

Sergey Kornilov admin 12/30/2005

It's impossible to help someone who says "it doesn't work".
If you need help give me more info about this issue.

501265 12/31/2005

It's impossible to help someone who says "it doesn't work".

If you need help give me more info about this issue.


Well, when I select a name from the "Contributor" dropdown, my intent is to have the dependent table-based dropdowns populate themselves from the same record ("contact1first", "contact1last" for example) but they don't populate. Maybe I'm doing something wrong in the setup?

Sergey Kornilov admin 1/1/2006

Must be something incorrect in dropdown box setup.
Zip and send your project file long with sample database and generated ASP files to support@xlinesoft.com.

501266 1/2/2006



Well, when I select a name from the "Contributor" dropdown, my intent is to have the dependent table-based dropdowns populate themselves from the same record ("contact1first", "contact1last" for example) but they don't populate. Maybe I'm doing something wrong in the setup?


I'm going to have another go at fixing it. I'm probably doing something wrong during setup.

Pfeiffer 1/2/2006

Hello,
the new version is going the right way. Especially the possibility to integrate source code is very good.

For a future version I would wish I could integrate special functions for a group of marked records , like

I can do it with -delete-.
I think other programmers too have a lot of internel source code to apply to a group of records.

My thougt is :

The user marks (filters) the record(s)

then he points to a menu-text (above the Table View) and the special source code will be executed,

for example to write several bills to different customers.
I myself changed the original source code of ASP-Runner 3.2 and it works great.
I wish you a happy new year an thanks for your good work.

I have several application running on ASP Runner without problems.
Sincerely

Uwe Pfeiffer

Sergey Kornilov admin 1/2/2006

Uwe,
this sounds like nice idea.
I need to see how I can easily integrate this in existing ASPRunnerPro schema.

X
xiandy 1/3/2006

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7298&image=1&table=forumreplies' class='bbc_emoticon' alt=':huh:' /> How do you know if you qualify for the free upgrade? Please tell.....Thx,

Sergey Kornilov admin 1/3/2006

All customers who purchased ASPRunnerPro in 2005 get ASPRunnerPro 4.0 as a free upgrade.

J
JAT 1/3/2006

I installed the Beta 4 version and like the new features, but didn't purchase the upgrade (yet, probably will soon!). When I went back to working with my purchased 3.2 Pro version, I get nothing but errors on my projects now! Did the Beta version interfere with 3.2? Here is what I see with my newest build (which previously worked OK):
Active Server Pages error 'ASP 0126'
Include file not found
/eps/2006HCI/NewUserReg_list.asp, line 7
The include file 'include/NewUserReg_events.asp' was not found.
Help? Thanks!

Sergey Kornilov admin 1/4/2006

In ASPRunnerPro 4.0 you cannot use custom templates created by ASPRunnerPro 3.x.

When you build a project in ASPRunnerPro 4.0 choose default template.

A
a_melchiore 1/6/2006

Hi Sergey,

I'm playing around with the beta version and when I attempt to you the sendmail features I get the following error:
Error Type:

Microsoft VBScript compilation (0x800A0414)

Cannot use parentheses when calling a Sub

/PCServices/include/Technicians_events.asp, line 11, column 34

sendmail (email, message, subject)

---------------------------------^
Any ideas?

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7388&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
Abel

Sergey Kornilov admin 1/7/2006

That was a syntax error in sample Action.
Please download latest build 67 where this problem was fixed. Make sure you clear existing event code and create a new one.

A
a_melchiore 1/9/2006

Hi Sergey, a few of ideas for you: <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7428&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

  1. A feature that I see in many database driven softwares is the ability to create a query and save it. This becomes very useful for people that need to run the same queries regularly for reporting purposes.
  2. Automatically audit records to track who made changes. It looks like your very close to with the events section.
  3. Date and Time pickers
    Thanks,

    Abel

A
ashumak 1/10/2006

Yes the idea of a feature that lets you use queries as a report is a great idea that I could use! One problem I have is letting some people have access to only thier records, and others (more than one) need access to all records. For example, I have agents, managers and Directors who all have varying requirements as to what fields are available, and what records are visible. reps see just his/hers. manager see his staff, directors see all staff...
Alan

Sergey Kornilov admin 1/11/2006

Alan,
you already can use queries for this purpose s well as assign differerent permissions to view data results
Abel,

  1. you already can use custom queries in ASPRunnerPro 4.0. Use "Create Table Alias" feature for this purpose.
  2. you can easily do this using events.
  3. Time picker will be available later.

A
ashumak 1/11/2006

Yes, to a certain degree, but unless I am really struggling (maybe that is the case) I can't seem to get my head around it. Have you resolved the issue of teh views showing in the permissions section?
Maybe I just need to wait for the revised tutorial/faq? My learning curve is getting bigger as I progress...
Alan,

Alan,

you already can use queries for this purpose s well as assign differerent permissions to view data results
Abel,

  1. you already can use custom queries in ASPRunnerPro 4.0. Use "Create Table Alias" feature for this purpose.
  2. you can easily do this using events.
  3. Time picker will be available later.

Sergey Kornilov admin 1/11/2006

Issue with permissions on table aliases were resolved in build 78.

swat 1/12/2006

My idea is regarding of the updates, if you can create a button on the asprunner pro application window to check if there is any new updates for the software- this way user will update without reading the forum -

thanks-

Sergey Kornilov admin 1/12/2006

We new release is ready we send an email to all users.
I'd rather avoid having extra buttons in ASPRunner.

A
a_melchiore 1/14/2006

Alan,

you already can use queries for this purpose s well as assign differerent permissions to view data results
Abel,

  1. you already can use custom queries in ASPRunnerPro 4.0. Use "Create Table Alias" feature for this purpose.
  2. you can easily do this using events.
  3. Time picker will be available later.


Sergey, I don't see how a user can use "Create Table Alias"? All the user is presented with is a web page that can add, delete...search for records. Maybe I'm not seeing it.

Sergey Kornilov admin 1/15/2006

I'm not talking about web page visitor. I'm talking about person who works with ASPRunnerPro. "Create Table Alias" button is located on Datasource tables tab in ASPRunnerPro.

pbunyon99 1/18/2006

Sergey, beta 40.79 is working well. I will be cutting over my projects, but everytime i bring up a new database, my boss asks for many semi-cosmetic changes. So here are some feature suggestions...
-on 'field order & totals' add ability for one 'search for' field to be the default

-add ability to change the default operand of 'contains' in 'search for' bar

-reduce size of 'export' page and centered

-add 'htm' export option because db's with lots of fields look very bad in Word format or modify the Excel export to include a little more formatting, such as the grid, and colors.

-add some basic options on Datasource/Menu section to enhance the menu size, location, associated text, images, header logo's, spacing, etc. I'm not sure about others, but I am rolling each db out as a standalone web page, and the main menu needs to be more user friendly.
That's all for now.

Even without these mods, we really do love ASPRunner and its functionality.

Paul.

Pete M 1/24/2006

Very nice job on version 4! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7674&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
I agree with Paul about the export page - I always centre the export box, and add a 'close' button next to the 'export button - it would be good if this could be added as a default.
I'd also like to have the name of the table being exported as a page title (centred) above the box.
Thanks for all the hard work!
Pete
PS - A 'checkbox' format option for list view would be useful - unless I have missed this, all mine are shown as yes/no in list view.
Another minor request for the defaults - could we have the 'back to master table' link (on a detail page) at the top of the page above the master table, to the right of the 'Master Table: [TableName]' title.
Thanks

Sergey Kornilov admin 1/24/2006

Pete and Paul - thank you for suggestions.
View as type Checkbox is something that we can easily implement.
Other suggestions sound like a job for Template Editor. Some people like titles centered while others prefer it to appear on the left. The same applies to menu page - it's really easy to customize it using Template Editor.

Pete M 1/24/2006

Hi,
One other suggestion is to add the ability to choose fields to appear on Master Detail table.
Thanks

Pete M 1/24/2006

GPF Problem
I've had a couple of GPFs when selecting the list 'View As' dropdown. Message says 'cannot read memory at...'
Seems to happen after I have made a load of changes, but before I save them <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7698&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
Any chance of an 'autosave' option, or reminder message?
Thanks
Pete

Pete M 1/25/2006

Template editor
Hi Sergey,
I have been finding that the 'copy', 'cut', 'paste' functions do not behave as expected when using right-click with mouse in the template editor. Either the cursor jumps a couple of lines, half of a selection is copied, or nothing happens. The menus work fine. I just thought it was worth mentioning.
Pete
PS Just had another error when selecting 'currency' as view type.

Pete M 1/25/2006

Include Field names/column titles at foot of column Option
This would be very useful in some cases, especially where you need to scroll down to see all records, and where totals etc are included.
Thank you
Pete

  • Another useful option would be the ability to put the detail table links on the right hand side of the data columns rather than the left, as this takes some time to edit afterwards.

Sergey Kornilov admin 1/27/2006

Pete,
any chance you can send a screenshot that explains GPF or Template Editor issues?

Sarjent 1/28/2006

I am trying build 79 of 4.0 and I cannot get any searches to function.
using basic search I get an asp error
Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'SRVNAME'.

/all1/TESTALL1/DSMSC_Query_list.asp, line 767
Browser Type:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; BR7; .NET CLR 1.1.4322)
Page:

GET /all1/TESTALL1/DSMSC_Query_list.asp?TargetPageNumber=1&action=Search&lang=&orderby=&dir=&PageSize=2000&masterkey=&SearchField=Analyst&SearchOption=Contains&SearchFor=shane&PageSizeSelect=10
Time:

Saturday, January 28, 2006, 9:30:15 AM
The other thing that happens is I selected to add new entries to the dropdowns. When I type a new entry and hit submit, I get a page could not be found message in the popup box

Sergey Kornilov admin 1/28/2006

Just in case make sure you are not using templates created by older version of ASPRunnerPro.
To help me troubleshoot first error change vDebug variable in include/commonfunctions.asp file from false to true and run the same search again. Post SQL query here.

Sarjent 1/28/2006

Just in case make sure you are not using templates created by older version of ASPRunnerPro.

To help me troubleshoot first error change vDebug variable in include/commonfunctions.asp file from false to true and run the same search again. Post SQL query here.


I actually started the project from scratch. So there weren't any old pieces of code at all.
Here is the debug info.
select [Analyst], [SRVNAME], [Client Name], [Client Email], [Client Phone], [Role], [OS], [ClientContacted], [ImplementDate], [CompletedDate], [Comments], [SMSSchedule], [Latest Patch], [BCPVerified], [Managment Link], [Counter], [Log_Time], [Log_Who], [STATIC_SCH] From [dbo].[DSMSC_Query] where (upper([dbo].[DSMSC_Query].[Analyst] ) like upper('%Shane%')) SRVNAME
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'SRVNAME'.
/all1/TESTALL1/DSMSC_Query_list.asp, line 767

Sarjent 1/28/2006



I actually started the project from scratch. So there weren't any old pieces of code at all.
Here is the debug info......


I fixed it. I had type in the value SRVNAME in the SQL part of the project. This time I used the button to insert the field and it worked.
I still have an issue with the edit/add new entry from the pop up and I discovered one more issue.

previously I could insert the code in the /.list file that would make my field SRVNAME a hotlink.
I replaced

<%

if IsBinaryField(rs.Fields("SRVNAME")) or Format("SRVNAME")=FORMAT_DATABASE_FILE then

Response.Write CreateImageControl(rs, "SRVNAME", "")

else

Response.Write ProcessLargeText(GetData(rs.Fields("SRVNAME"), ""))

end if

%>
with:
<%

Response.Write ProcessLargeText("<a href=""http://USGMS23CN/SMSReporting_ACN/Report.asp?ReportID=163&MachineDetails=True&ComputerName="; & GetData(rs.Fields("SRVNAME"), "") & """ target=_blank>" & GetData(rs.Fields("SRVNAME"), "") & "</a>")

%>
It no longer works with that setup. I get a partial DB displayed and in the SRVNAME column on the list I get an error
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'ProcessLargeText'
/all1/TESTALL1/DSMSC_Query_list.asp, line 1182
Thanks for the help.

Sergey Kornilov admin 1/28/2006

Do you use custom templates created by older version?
In ASPRunnerPro 4.0 ProcessLargeText function requires three parameters.

Sarjent 1/29/2006

Got it. Thanks!
<%
Response.write "<a target=_blank
href=http://USGMS23CN/SMSReportingACN/Report.asp?ReportID=163&MachineDetails=True&ComputerName=" &

Server.URLEncode(GetData(rs.Fields("SRVNAME"), "")) & _

"&source=" & Server.URLEncode(GetData(rs.Fields("SRVNAME"), "")) & ">" & GetData(rs.Fields("SRVNAME"), "") & "</a>"
%>

sparkg 2/1/2006

Can we run version 4 and version 3.2 on the same machine now without a problem? I know it was an issue with previous versions. I know the templates won't crossover, just want to know if I can make changes to existing 3.2 Runner apps with 3.2 while I'm testing 4.0 or rebuilding some old ones in 4.0.

Thanks!

Sergey Kornilov admin 2/1/2006

No, you cannot have both 4.0 and 3.2 versions on the same box at the same time.