I am new to Alpha 5 (last couple of weeks) and need help with getting a report to publish and run on my server.
Here is what I have working so far after searching the forums and watching video tutorials:
1. I have verified the Alpha Printer and Amyuni print drivers are installed
2. I have successfully connected and built both display and maintenance pages (active linked tables - I am using an MS SQL Server 2005 on a hosted server connected through a hosted VPS. All works well)
3. I have successfully created and am able to view 2 simple reports - a Course list and a Student list on my desktop.
4. I have added the following code in the After Validate event code of a simple dialog control:
This code is all generated from the Genie just to try to get it to run one report.
I get the following error on both my local desktop and production server:
Errors in: event.AfterValidate code:
Amyuni Low Level Print:
Layout name: [email protected][PathAlias.ADB_Path]\v_a_yr_course_list.ddd
Layout type: report
Layout has no pages.
I cannot seem to find anything on the forums in respect to this. I believe I have my path aliases set up properly:
Local Profile
local webroot = [PathAlias.ADB_Path] = =a5.get_path()
Summit Profile
[PathAlias.ADB_Path] = C:\A5Webroot\Summit
Any help would be GREATLY appreciated. Can't seem to track this one down.
Here is what I have working so far after searching the forums and watching video tutorials:
1. I have verified the Alpha Printer and Amyuni print drivers are installed
2. I have successfully connected and built both display and maintenance pages (active linked tables - I am using an MS SQL Server 2005 on a hosted server connected through a hosted VPS. All works well)
3. I have successfully created and am able to view 2 simple reports - a Course list and a Student list on my desktop.
4. I have added the following code in the After Validate event code of a simple dialog control:
Code:
dim filter as c dim order as c Filter = ".T." Order = "" Dim filename as c filename = session.session_folder + "tempreport.html" filename = report.saveas("[email protected][PathAlias.ADB_Path]\v_a_yr_course_list.ddd","html",filter,order,filename,.f.) if file.exists(filename) currentform.RedirectTarget = session.session_url + "tempreport.html?" + time("hms3") end if
I get the following error on both my local desktop and production server:
Errors in: event.AfterValidate code:
Amyuni Low Level Print:
Layout name: [email protected][PathAlias.ADB_Path]\v_a_yr_course_list.ddd
Layout type: report
Layout has no pages.
I cannot seem to find anything on the forums in respect to this. I believe I have my path aliases set up properly:
Local Profile
local webroot = [PathAlias.ADB_Path] = =a5.get_path()
Summit Profile
[PathAlias.ADB_Path] = C:\A5Webroot\Summit
Any help would be GREATLY appreciated. Can't seem to track this one down.
Comment