Is there anyone who knows how to create 2 reports in 1 program? (V2012 MR1 SP2)
Explination: I have been tasked to output a 'normal' output of the print requirements, additionally I need to have the xyz cordinates for a portion of the points in my program expressed. (can't use csv, it shuts down the software) So, I'd like to have my program print the normal output strategy we apply and then have ANOTHER report that consists of all the XYZ outputs. Is this even possible?
Nevermind I had the solution in front of me, it is possible just have to have the code set up to call up the proper report template you want it printed under then establish a printing comand. If anyone else strugles with this, feel free to post, and I will try to figure out how the statement was generated to begin with, its in the insert tab at the least.
^information is incorrect. I thought I found the solution, but I still need help. PC-DMIS is locking up with the attempt I made.
I was told by someone at hexmet that every time you place a print command in your program, it clears the report "buffer" if you will. So set up your normal reporting commands then put in a print statement. Then create the xyz reporting commands and a final print command. I haven't ever tried it but it's worth a shot
Thanks cappy, but thats how I had tried to set it up, and it just locked up pc-dmis and wouldn't continue to execute anything. I even tried recallig the template just before the xyz coords and when it hit the print command, it would freeze again.
If I print everything from the program, it would be over 1000 pages of data. I have a csv file we use here that will capture all the information, but it forces the software to shutdown when the csv is created. I'm trying to find the best way to get ALL information, but for now, I've gotten out of reporting all the XYZ coords of points for many of my profiles. A lot of my trouble was based of verbal requests from our customer and nothing that I'm forced into by the print, so I am pretty sure I won't need to worry about making these multi files.
As for now, I recieve 3 reports from 1 program: csv output, normal printed output of ALL measured data, and an Non-conformance report. I just hoped I could print all the XYZ as its very own pdf to be saved in another location.
yes, i am using a .bas to generate the csv. It doesn't do this to any other program I have ever created but at most its only recording 1.5K lines of measured data, this 1 program that is causing me so much ill, is over 8k lines of measured data. When it still had the XYZ coords it was nearly 28k lines.
I have never had a .bas file crash or shutdown pcdmis.
Pcdmis may freeze for a second or two while the .bas executes, but it never shuts down pcdmis.
Mind you the biggest .csv file I have ever created was only 18K lines.
But pcdmis and the .bas handled that without issue.
If there is an issue with the code in the .bas it will not execute.
its the same exact .bas file I use for every other program. I have never had a problem with it before. Unless something really strange is taking place in the background that I haven't stumbled accross yet. However all this testing has still only taken place at my offline workstation.