From qnaweb at provue.com Tue May 3 08:57:49 2011 From: qnaweb at provue.com (Aimee La Ronde-Young) Date: Tue, 3 May 2011 08:57:49 -0700 (PDT) Subject: Printing Message-ID: <20110503155749.7596222EA66@provue.com> The program is not printing database labels on the report. Or they are incorrect or are printed as black solid boxes. How do I fix this? From orlandospecial at gmail.com Wed May 4 08:35:31 2011 From: orlandospecial at gmail.com (Orlando) Date: Wed, 4 May 2011 10:35:31 -0500 Subject: New iMacs Message-ID: Have you seen the new iMacs? Price and screen size aside, is there a preferrable processor to run Panorama or is faster better? -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert at ameeti.net Wed May 4 09:01:47 2011 From: robert at ameeti.net (Robert Ameeti) Date: Wed, 4 May 2011 09:01:47 -0700 Subject: New iMacs In-Reply-To: References: Message-ID: Faster better. Memory is so cheap these days that you can easily put enough memory into the computer to handle most any database efficiently. It is all about the processor speed. At 10:35 AM -0500, 5/4/11, Orlando wrote: >Have you seen the new iMacs? > >Price and screen size aside, is there a >preferrable processor to run Panorama or is >faster better? -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist The covers of this book are too far apart. -- Ambrose Bierce, The Devil's Dictionary <><><><><><><><><><><><> From jeff_gold at state.ga.weo.us Wed May 4 11:06:12 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Wed, 4 May 2011 14:06:12 -0400 Subject: ArraySelectedBuild "quirk" (any ideas?) Message-ID: Hello, This is one of the oddest things I've come across, and just wanted to see if anyone on the list has ever seen the following behavior or perhaps might have an idea what happened here... Among the thousands of lines of Panorama code I've written is this one: ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"" and Breed?"",str(ID),"") It basically builds an array of database records where the field "Fix" is NOT blank AND where the field "Breed" is also NOT blank. It is part of a long procedure I haven't edited in over a year, and which has worked reliably thousands of times. Once and only once, earlier today, instead of building an array where both fields were NOT blank, it built an array selecting records where "Fix" was NOT blank (as it should have) but where "Breed" WAS blank (the opposite of what it should have done). So, in other words, as the procedure ran it basically performed this operation below instead of what is typed into the procedure: ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"" and Breed="",str(ID),"") That's just typed above so you see what it did. This is not in any of my code anywhere. The only difference in how it operated that one time today is that it acted like there was an equal sign (instead of a not equal sign) after Breed. I am probably going to have to just pretend this never happened, put my head in the sand, and hope it doesn't happen again. Does anyone have any possible explanations? Anything in my code somewhere else that might have triggered this very atypical action? Best wishes, - Jeff From dthmpsn1 at illinois.edu Wed May 4 11:23:04 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 4 May 2011 13:23:04 -0500 (CDT) Subject: ArraySelectedBuild "quirk" (any ideas?) In-Reply-To: References: Message-ID: <20110504132304.CQO10875@expms1.cites.uiuc.edu> >Once and only once, earlier today, instead of building an array where both fields were NOT blank, it built an array selecting records where "Fix" was NOT blank (as it should have) but where "Breed" WAS blank (the opposite of what it should have done). So, in other words, as the procedure ran it basically performed this operation below instead of what is typed into the procedure: > >ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"" and Breed="",str(ID),"") > >That's just typed above so you see what it did. This is not in any of my code anywhere. The only difference in how it operated that one time today is that it acted like there was an equal sign (instead of a not equal sign) after Breed. > >I am probably going to have to just pretend this never happened, put my head in the sand, and hope it doesn't happen again. Does anyone have any possible explanations? Anything in my code somewhere else that might have triggered this very atypical action? > The only thing I can think of would be a name conflict with a variable named Breed. That wouldn't have produced exactly the result you described. The result would have been the same as ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"",str(ID),"") If it's common for Breed to be blank, you might have missed the cases where it wasn't. Dave From craigmcpherson at me.com Wed May 4 11:15:30 2011 From: craigmcpherson at me.com (Craig) Date: Wed, 04 May 2011 11:15:30 -0700 Subject: ArraySelectedBuild "quirk" (any ideas?) In-Reply-To: References: Message-ID: <730D497E-1CA8-433E-9BB7-76A6FD834ABE@me.com> ? Try filling Breed with strip(Breed) and re-run the proc? Sent from my iPhone On May 4, 2011, at 11:06 AM, Jeff Gold wrote: > Hello, > > This is one of the oddest things I've come across, and just wanted to see if anyone on the list has ever seen the following behavior or perhaps might have an idea what happened here... > > Among the thousands of lines of Panorama code I've written is this one: > > > ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"" and Breed?"",str(ID),"") > > > It basically builds an array of database records where the field "Fix" is NOT blank AND where the field "Breed" is also NOT blank. It is part of a long procedure I haven't edited in over a year, and which has worked reliably thousands of times. > > Once and only once, earlier today, instead of building an array where both fields were NOT blank, it built an array selecting records where "Fix" was NOT blank (as it should have) but where "Breed" WAS blank (the opposite of what it should have done). So, in other words, as the procedure ran it basically performed this operation below instead of what is typed into the procedure: > > ArraySelectedBuild LVadminidnumbers," ","",?(Fix?"" and Breed="",str(ID),"") > > That's just typed above so you see what it did. This is not in any of my code anywhere. The only difference in how it operated that one time today is that it acted like there was an equal sign (instead of a not equal sign) after Breed. > > I am probably going to have to just pretend this never happened, put my head in the sand, and hope it doesn't happen again. Does anyone have any possible explanations? Anything in my code somewhere else that might have triggered this very atypical action? > > Best wishes, > > - Jeff > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From allen at macprosolutions.com Thu May 5 12:11:50 2011 From: allen at macprosolutions.com (Allen Cleaton) Date: Thu, 5 May 2011 15:11:50 -0400 Subject: Displaying as a sign Message-ID: <8E8C24F9-94E5-48E3-A20D-0804BFEB1A1B@macprosolutions.com> I need to drive the information on a digital sign that will rotate between four images. One is simply a picture of the facility and the other three show the tenant and suite number. When a form is printed in displays a header, summary headers, and two sets of columns which is the desired view. However the screen when not printing shows one set of columns. What is the best way to create the effect of the printed view (two columns) and still allow rotation of image? Allen Cleaton Partner Program Representative MacPro We're here to help 8026A W. Broad St. Richmond, VA 23294 804-497-8710 705 W. Main St. Charlottesville, VA 22903 434-806-0793 Partner at macprosolutions.com http://www.macprosolutions.com ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: indigo - apple email.png Type: image/png Size: 3092 bytes Desc: not available URL: From qnaweb at provue.com Thu May 5 12:40:28 2011 From: qnaweb at provue.com (Jay Siegel) Date: Thu, 5 May 2011 12:40:28 -0700 (PDT) Subject: Expanding Memory Message-ID: <20110505194028.B3A9024370F@provue.com> I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. Thanks. Jay From cdpublishing at qwestoffice.net Thu May 5 12:44:16 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Thu, 5 May 2011 12:44:16 -0700 Subject: Expanding Memory In-Reply-To: <20110505194028.B3A9024370F@provue.com> References: <20110505194028.B3A9024370F@provue.com> Message-ID: <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> page 140 of the Panorama Handbook.... Adjusting Panorama?s Memory Allocation As shipped from the factory, Panorama normally allocates 200 megabytes of memory for databases. For most applications this is more than enough. However, if you wish to use extremely large databases you may need to increase this allocation. To do this, start by opening the Preferences dialog (from the Panorama menu) and then choose Edit Panorama Initialization File from the Special menu. This opens Panorama?s initialization file. The databasememory line controls the amount of memory allocated by Panorama for databases. You may set this to any value from 3M to 4000M. (Don?t forget the M!). Once you have set the new value press the OK button, then relaunch Panorama. When launching, Panorama will attempt to allocate the amount of memory you have requested. However, if the amount requested is not available, it will allocate the largest amount possible on your system. Note: If you set this value to larger than the physical amount of memory available on your computer, you may reduce the amount of virtual memory available for other applications. We do not recommend opening databases that are larger than the physical memory size of your computer. Panorama will open the file and operate correctly, but its performance may be severely degraded. On May 5, 2011, at 12:40 PM, Jay Siegel wrote: > I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. > > Thanks. > > Jay > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From samrutherford at musiccitymetals.net Thu May 5 13:22:21 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Thu, 5 May 2011 15:22:21 -0500 Subject: Expanding Memory In-Reply-To: <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> References: <20110505194028.B3A9024370F@provue.com> <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> Message-ID: <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> When I try this I get a message 'Unknown function.' Is it possible to Open and edit the file manually? ________________________________________________________________ On May 5, 2011, at 2:44 PM, Craig McPherson wrote: > page 140 of the Panorama Handbook.... > > > Adjusting Panorama?s Memory Allocation > As shipped from the factory, Panorama normally allocates 200 megabytes of memory for databases. For most applications this is more than enough. However, if you wish to use extremely large databases you may need to increase this allocation. To do this, start by opening the Preferences dialog (from the Panorama menu) and then choose Edit Panorama Initialization File from the Special menu. > This opens Panorama?s initialization file. > The databasememory line controls the amount of memory allocated by Panorama for databases. You may set this to any value from 3M to 4000M. (Don?t forget the M!). Once you have set the new value press the OK button, then relaunch Panorama. When launching, Panorama will attempt to allocate the amount of memory you have requested. However, if the amount requested is not available, it will allocate the largest amount possible on your system. > Note: If you set this value to larger than the physical amount of memory available on your computer, you may reduce the amount of virtual memory available for other applications. We do not recommend opening databases that are larger than the physical memory size of your computer. Panorama will open the file and operate correctly, but its performance may be severely degraded. > On May 5, 2011, at 12:40 PM, Jay Siegel wrote: > >> I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. >> >> Thanks. >> >> Jay >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From designer at quickdata.com Thu May 5 13:35:39 2011 From: designer at quickdata.com (designer at quickdata.com) Date: Thu, 05 May 2011 13:35:39 -0700 Subject: Expanding Memory In-Reply-To: <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> References: <20110505194028.B3A9024370F@provue.com> <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> Message-ID: <20110505203540.91883.qmail@domainmail.macconnect.com> In this thread, it might be good to go over (again) the other memory adjustments you'd put in a procedure. I believe there were too. That is, it is one thing to set the application memory, but I believe equations and pasting large data from the clipboard require additional adjustments. Paul Sam Rutherford writes: > When I try this I get a message 'Unknown function.' > > Is it possible to Open and edit the file manually? > > ________________________________________________________________ > > On May 5, 2011, at 2:44 PM, Craig McPherson wrote: > >> page 140 of the Panorama Handbook.... >> >> >> Adjusting Panorama?s Memory Allocation >> As shipped from the factory, Panorama normally allocates 200 megabytes of memory for databases. For most applications this is more than enough. However, if you wish to use extremely large databases you may need to increase this allocation. To do this, start by opening the Preferences dialog (from the Panorama menu) and then choose Edit Panorama Initialization File from the Special menu. >> This opens Panorama?s initialization file. >> The databasememory line controls the amount of memory allocated by Panorama for databases. You may set this to any value from 3M to 4000M. (Don?t forget the M!). Once you have set the new value press the OK button, then relaunch Panorama. When launching, Panorama will attempt to allocate the amount of memory you have requested. However, if the amount requested is not available, it will allocate the largest amount possible on your system. >> Note: If you set this value to larger than the physical amount of memory available on your computer, you may reduce the amount of virtual memory available for other applications. We do not recommend opening databases that are larger than the physical memory size of your computer. Panorama will open the file and operate correctly, but its performance may be severely degraded. >> On May 5, 2011, at 12:40 PM, Jay Siegel wrote: >> >>> I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. >>> >>> Thanks. >>> >>> Jay >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > ________________________________________________________________ > Sam Rutherford > Music City Metals > 615/255-4481 > samrutherford at musiccitymetals.net > > From barryk at caravanbeads.net Thu May 5 13:43:53 2011 From: barryk at caravanbeads.net (Barry Kahn) Date: Thu, 5 May 2011 16:43:53 -0400 Subject: SQL Message-ID: I see three SQL statements in the Pan reference. Wondering if anyone is currently using these to pass commands to an SQL server and if so, are there any issues or surprises involved? I learned today that the company that makes our accounting software is working on creating an external SQL database that will mirror all the tables and data that we can currently only extract via ODBC. I would love to be able to access the data more directly via Panorama. Thanks, bk Barry Kahn Caravan Beads, Inc. 915 Forest Ave Portland ME 04103 800-230-8941 fax: 207-874-2664 www.caravanbeads.net barryk at caravanbeads.net *** Bead store owners and designers: Please visit our new bead blog: http://caravanbeads.biz/beadblog/ *** My daughter Heather's new business: http://www.chrononautmercantile.com/ From gary at yonaites.com Thu May 5 13:50:12 2011 From: gary at yonaites.com (Gary Yonaites) Date: Thu, 5 May 2011 13:50:12 -0700 Subject: Expanding Memory In-Reply-To: <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> References: <20110505194028.B3A9024370F@provue.com> <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> Message-ID: There are two .INI files in the Panorama application package: PanoramaIA32.INI and PanoramaPowerPC.INI. The first is for an Intel PC while the later is for a PowerPC. You can edit these files with any text editor and make the changes noted in the handbook below. You can navigate to these files by control clicking on the Panorama application in the Finder and choosing Show Package Contents. Once this opens in a new Finder window you need to navigate through the Contents folder and the MacOS folder and pick the proper .INI file for your computer. Carefully make the changes mentioned in a text editor and re-save the file. Gary gary at yonaites.com On May 5, 2011, at 1:22 PM, Sam Rutherford wrote: > When I try this I get a message 'Unknown function.' > > Is it possible to Open and edit the file manually? > > ________________________________________________________________ > > On May 5, 2011, at 2:44 PM, Craig McPherson wrote: > >> page 140 of the Panorama Handbook.... >> >> >> Adjusting Panorama?s Memory Allocation >> As shipped from the factory, Panorama normally allocates 200 megabytes of memory for databases. For most applications this is more than enough. However, if you wish to use extremely large databases you may need to increase this allocation. To do this, start by opening the Preferences dialog (from the Panorama menu) and then choose Edit Panorama Initialization File from the Special menu. >> This opens Panorama?s initialization file. >> The databasememory line controls the amount of memory allocated by Panorama for databases. You may set this to any value from 3M to 4000M. (Don?t forget the M!). Once you have set the new value press the OK button, then relaunch Panorama. When launching, Panorama will attempt to allocate the amount of memory you have requested. However, if the amount requested is not available, it will allocate the largest amount possible on your system. >> Note: If you set this value to larger than the physical amount of memory available on your computer, you may reduce the amount of virtual memory available for other applications. We do not recommend opening databases that are larger than the physical memory size of your computer. Panorama will open the file and operate correctly, but its performance may be severely degraded. >> On May 5, 2011, at 12:40 PM, Jay Siegel wrote: >> >>> I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. >>> >>> Thanks. >>> >>> Jay >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > ________________________________________________________________ > Sam Rutherford > Music City Metals > 615/255-4481 > samrutherford at musiccitymetals.net > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From martinmc at knology.net Thu May 5 13:59:04 2011 From: martinmc at knology.net (Martin McCaffery) Date: Thu, 5 May 2011 15:59:04 -0500 Subject: Font Problem In-Reply-To: References: Message-ID: Pan 5.5 About a week ago I started having this problem. When I open some Pan files I have used for years I get the notice that certain fonts are no longer available and they will be replaced by generic fonts. Not a problem, I just continue and save and the notice should go away. But it doesn't. I keep getting the same notice. So I went through the forms looking to see if the fonts were somehow being used. Nope. I changed the objects that had reverted to generic fonts. Saved and closed. I reopened to get the notice, except it is a totally different font that it says is missing. It is not the font I replaced the generic with, and it is not a font I have active. I am not sure if anything has changed back to generic again. This is happening on several files. It seems to have gone away on one of the files, but the others continue. Any hints as to what may be happening. I imagine some sort of font corruption, but don't know how to hunt it down. Thanks Martin From jaybsiegel at me.com Thu May 5 13:24:51 2011 From: jaybsiegel at me.com (Jay) Date: Thu, 05 May 2011 15:24:51 -0500 Subject: Expanding Memory Message-ID: I see no Preferences option in the Panorama menu! Jay From gary at yonaites.com Thu May 5 14:32:32 2011 From: gary at yonaites.com (Gary Yonaites) Date: Thu, 5 May 2011 14:32:32 -0700 Subject: Expanding Memory In-Reply-To: References: Message-ID: It is only there in Panorama 6. You must have an earlier version. On May 5, 2011, at 1:24 PM, Jay wrote: > I see no Preferences option in the Panorama menu! > > Jay > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From cdpublishing at qwestoffice.net Thu May 5 14:32:27 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Thu, 5 May 2011 14:32:27 -0700 Subject: Expanding Memory In-Reply-To: References: Message-ID: try command-, (command and the comma key) Craig On May 5, 2011, at 1:24 PM, Jay wrote: > I see no Preferences option in the Panorama menu! > > Jay > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jim at provue.com Thu May 5 15:21:19 2011 From: jim at provue.com (James Rea) Date: Thu, 5 May 2011 15:21:19 -0700 Subject: SQL In-Reply-To: Message-ID: On 5/5/11 at 1:43 PM, barryk at caravanbeads.net (Barry Kahn) wrote: >I see three SQL statements in the Pan reference. Wondering if >anyone is currently using these to pass commands to an SQL >server and if so, are there any issues or surprises involved? These are obsolete commands that were part of the old Panorma/Butler server system. They no longer do anything. >I learned today that the company that makes our accounting software is working on creating an external SQL database that will mirror all the tables and data that we can currently only extract via ODBC. I would love to be able to access the data more directly via Panorama. It's definitely possible to access SQL databases thru Ruby, Perl, Python or PHP, all of which can be embedded in Panorama code. So that's the way to go for this. There are entire books devoted to this, so there may be a bit of a learning curve, especially if you don't know any of these languages. On the other hand, you may be able to find pre-baked "recipes" for accessing SQL that can be easily customized for your use. In addition to searching the web you may want to look at Amazon for books about this. Jim From jim at provue.com Thu May 5 15:23:59 2011 From: jim at provue.com (James Rea) Date: Thu, 5 May 2011 15:23:59 -0700 Subject: Expanding Memory In-Reply-To: Message-ID: On 5/5/11 at 1:24 PM, jaybsiegel at me.com (Jay) wrote: >I see no Preferences option in the Panorama menu! Jay, it looks like you have a mix of Panorama 6 and Panorama V. Panorama V has a different technique, you can download the Panorama V handbook and look it up in Chapter 1 (I don't remember the exact details off the top of my head.) Jim From jim at provue.com Thu May 5 15:26:44 2011 From: jim at provue.com (James Rea) Date: Thu, 5 May 2011 15:26:44 -0700 Subject: Printing In-Reply-To: <20110503155749.7596222EA66@provue.com> Message-ID: On 5/3/11 at 8:57 AM, qnaweb at provue.com (Aimee La Ronde-Young) wrote: >The program is not printing database labels on the report. Or >they are incorrect or are printed as black solid boxes. How do >I fix this? I've never heard of this, and based on the lack of replied I'd guess no on else has either. Is this Panorama or Panorama Sheets? What version of the operating system are you using? Have you tried resetting the Page Setup? What if you print to a PDF file, does that work? What if you change the font on the labels -- perhaps you have a corrupted font. Jim Rea ProVUE Development From samrutherford at musiccitymetals.net Thu May 5 15:30:04 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Thu, 5 May 2011 17:30:04 -0500 Subject: Expanding Memory In-Reply-To: References: <20110505194028.B3A9024370F@provue.com> <85CCAD1E-EA2C-4FBA-9FBB-1DBB2E166D3E@qwestoffice.net> <185893F7-3E76-4279-BB2B-10CA129DE4D1@musiccitymetals.net> Message-ID: <8CF768AF-8334-49E0-ABC4-125DFBA08A37@musiccitymetals.net> Thanks. I had no idea you could open an application icon like that. ________________________________________________________________ On May 5, 2011, at 3:50 PM, Gary Yonaites wrote: > There are two .INI files in the Panorama application package: PanoramaIA32.INI and PanoramaPowerPC.INI. The first is for an Intel PC while the later is for a PowerPC. You can edit these files with any text editor and make the changes noted in the handbook below. You can navigate to these files by control clicking on the Panorama application in the Finder and choosing Show Package Contents. Once this opens in a new Finder window you need to navigate through the Contents folder and the MacOS folder and pick the proper .INI file for your computer. Carefully make the changes mentioned in a text editor and re-save the file. > > Gary > gary at yonaites.com > > On May 5, 2011, at 1:22 PM, Sam Rutherford wrote: > >> When I try this I get a message 'Unknown function.' >> >> Is it possible to Open and edit the file manually? >> >> ________________________________________________________________ >> >> On May 5, 2011, at 2:44 PM, Craig McPherson wrote: >> >>> page 140 of the Panorama Handbook.... >>> >>> >>> Adjusting Panorama?s Memory Allocation >>> As shipped from the factory, Panorama normally allocates 200 megabytes of memory for databases. For most applications this is more than enough. However, if you wish to use extremely large databases you may need to increase this allocation. To do this, start by opening the Preferences dialog (from the Panorama menu) and then choose Edit Panorama Initialization File from the Special menu. >>> This opens Panorama?s initialization file. >>> The databasememory line controls the amount of memory allocated by Panorama for databases. You may set this to any value from 3M to 4000M. (Don?t forget the M!). Once you have set the new value press the OK button, then relaunch Panorama. When launching, Panorama will attempt to allocate the amount of memory you have requested. However, if the amount requested is not available, it will allocate the largest amount possible on your system. >>> Note: If you set this value to larger than the physical amount of memory available on your computer, you may reduce the amount of virtual memory available for other applications. We do not recommend opening databases that are larger than the physical memory size of your computer. Panorama will open the file and operate correctly, but its performance may be severely degraded. >>> On May 5, 2011, at 12:40 PM, Jay Siegel wrote: >>> >>>> I have been searching for a way to expand the memory allocated to a database. Everything I find seems to be for older versions and operating systems. I am using Panorama 6 on a Mac. How do I go about increasing the memory for a database? I'm at my wits end. >>>> >>>> Thanks. >>>> >>>> Jay >>>> _______________________________________________ >>>> Qna mailing list >>>> Qna at provue.com >>>> http://provue.com/mailman/listinfo/qna >>> >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >> >> ________________________________________________________________ >> Sam Rutherford >> Music City Metals >> 615/255-4481 >> samrutherford at musiccitymetals.net >> >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at provue.com Thu May 5 15:50:57 2011 From: jim at provue.com (James Rea) Date: Thu, 5 May 2011 15:50:57 -0700 Subject: Expanding Memory In-Reply-To: <8CF768AF-8334-49E0-ABC4-125DFBA08A37@musiccitymetals.net> Message-ID: On 5/5/11 at 3:30 PM, samrutherford at musiccitymetals.net (Sam Rutherford) wrote: >I had no idea you could open an application icon like that. That's why Panorama 6 includes a built-in dialog to allow you to change this internal file. I recommend that you use this command (in the Preferences dialog) rather than opening up the contents of the package. Earlier versions of Panorama used a different application structure so the .ini file was not inside the package, so you could easily edit the file without trouble. Jim From samrutherford at musiccitymetals.net Thu May 5 16:50:37 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Thu, 5 May 2011 18:50:37 -0500 Subject: Expanding Memory In-Reply-To: References: Message-ID: <68FD3D26-7BCE-4EFD-890A-AA86F581034F@musiccitymetals.net> The command doesn't work. I get an error: 'unknown function'. I'll be careful. ________________________________________________________________ On May 5, 2011, at 5:50 PM, James Rea wrote: > On 5/5/11 at 3:30 PM, samrutherford at musiccitymetals.net (Sam Rutherford) wrote: > >> I had no idea you could open an application icon like that. > > That's why Panorama 6 includes a built-in dialog to allow you to change this internal file. I recommend that you use this command (in the Preferences dialog) rather than opening up the contents of the package. > > Earlier versions of Panorama used a different application structure so the .ini file was not inside the package, so you could easily edit the file without trouble. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From ronald.southwick at tojfarm.com Fri May 6 03:39:55 2011 From: ronald.southwick at tojfarm.com (ronald.southwick) Date: Fri, 06 May 2011 06:39:55 -0400 Subject: Displaying as a sign In-Reply-To: <8E8C24F9-94E5-48E3-A20D-0804BFEB1A1B@macprosolutions.com> References: <8E8C24F9-94E5-48E3-A20D-0804BFEB1A1B@macprosolutions.com> Message-ID: <4DC3CFFB.6090404@tojfarm.com> Allen Cleaton wrote: > What is the best way to create the effect of the printed view (two > columns) and still allow rotation of image? I don't know of a way to do this. Is the data static and just the picture in the header changes? Or is the directory big enough that you have separate sets of data for each picture? My "best way" would be to write a procedure that puts the data I want to display into a new database with one long record (or multiple records if the data is not static). Then I could design a form that displays it in columns like I want and have a procedure drive the display of the graphic. When the information in the original tenant database changes, just run the procedure to update the "sign" database. Ron From mark at abernackie.com Fri May 6 04:56:03 2011 From: mark at abernackie.com (Mark Terry) Date: Fri, 6 May 2011 07:56:03 -0400 Subject: Font Problem In-Reply-To: References: Message-ID: <6CCA95DE-DE36-4C88-8184-80D55821F487@abernackie.com> The first thing I would try would be to clear or delete the "_FontHarmony" variable. It's a fileglobal that occasionally gets corrupted. I would use Undefine ?_FontHarmony? and then reopen the file. Panorama will create a new one. If the problem persists, you have a bigger problem, perhaps a corrupted font (or two ;). M On May 5, 2011, at 4:59 PM, Martin McCaffery wrote: > Pan 5.5 > > About a week ago I started having this problem. > > When I open some Pan files I have used for years I get the notice > that certain fonts are no longer available and they will be replaced > by generic fonts. Not a problem, I just continue and save and the > notice should go away. But it doesn't. I keep getting the same notice. > > So I went through the forms looking to see if the fonts were somehow > being used. Nope. > > I changed the objects that had reverted to generic fonts. Saved and > closed. > > I reopened to get the notice, except it is a totally different font > that it says is missing. It is not the font I replaced the generic > with, and it is not a font I have active. I am not sure if anything > has changed back to generic again. > > This is happening on several files. It seems to have gone away on > one of the files, but the others continue. > > Any hints as to what may be happening. I imagine some sort of font > corruption, but don't know how to hunt it down. > > Thanks > Martin > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jetpuck04 at me.com Fri May 6 05:07:51 2011 From: jetpuck04 at me.com (Peter Levitt) Date: Fri, 06 May 2011 08:07:51 -0400 Subject: Font Problem In-Reply-To: <6CCA95DE-DE36-4C88-8184-80D55821F487@abernackie.com> References: <6CCA95DE-DE36-4C88-8184-80D55821F487@abernackie.com> Message-ID: <8217BD02-3AD4-4D91-99C0-AA23950C7971@me.com> You could also try running 'Font Book' and 'validate' all of your fonts. Peter On May 6, 2011, at 7:56 AM, Mark Terry wrote: > The first thing I would try would be to clear or delete the "_FontHarmony" variable. It's a fileglobal that occasionally gets corrupted. I would use > Undefine ?_FontHarmony? > and then reopen the file. Panorama will create a new one. If the problem persists, you have a bigger problem, perhaps a corrupted font (or two ;). > > M > > > On May 5, 2011, at 4:59 PM, Martin McCaffery wrote: > >> Pan 5.5 >> >> About a week ago I started having this problem. >> >> When I open some Pan files I have used for years I get the notice that certain fonts are no longer available and they will be replaced by generic fonts. Not a problem, I just continue and save and the notice should go away. But it doesn't. I keep getting the same notice. >> >> So I went through the forms looking to see if the fonts were somehow being used. Nope. >> >> I changed the objects that had reverted to generic fonts. Saved and closed. >> >> I reopened to get the notice, except it is a totally different font that it says is missing. It is not the font I replaced the generic with, and it is not a font I have active. I am not sure if anything has changed back to generic again. >> >> This is happening on several files. It seems to have gone away on one of the files, but the others continue. >> >> Any hints as to what may be happening. I imagine some sort of font corruption, but don't know how to hunt it down. >> >> Thanks >> Martin >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From rays at apresmidi.net Fri May 6 07:35:59 2011 From: rays at apresmidi.net (Ray Spears) Date: Fri, 6 May 2011 07:35:59 -0700 Subject: No more PICT Files In-Reply-To: <20110408132728.CPT52478@expms1.cites.uiuc.edu> References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> Message-ID: This isn't actually useful. Preview can open and save a pict file, but on my machine (Panorama 6.0.0, OS 10.6.5), the pict files created by Preview in 32 bit mode can't be read by Panorama. But picts written by Superpaint running in Sheepshaver can ;-) Anybody have any different experience with reading picts written by Preview in 10.6? Ray > >Perhaps you are referring to the fact that Preview no longer can >>create PICT files, which I think may be true. But nothing has >>changed in the OS. >> > >Preview can still create PICT files, but not in 64-bit mode. To >create or open PICT files in >Preview, select Preview's application icon in the Finder, and Get >Info. Then check the Open >in 32-bit mode checkbox. > >Dave >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From gary at yonaites.com Fri May 6 11:46:27 2011 From: gary at yonaites.com (Gary Yonaites) Date: Fri, 6 May 2011 11:46:27 -0700 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> Message-ID: I tried this in Preview set to 32-bit mode both in the Flash Art Scrapbook and directly from the pict file in the same folder as my database and they both showed fine. This was a 24 meg photo and it showed up full scale as well as scaled to fit. Using Preview in 64-bit mode, I loaded the same original photo and simply did a screen shot selecting the image area only to the clipboard (control-command-shift-4). I then pasted this into the Flash Art Scrapbook and it worked fine, although it did not have the same resolution as the original but just the screen resolution. Gary gary at yonaites.com On May 6, 2011, at 7:35 AM, Ray Spears wrote: > This isn't actually useful. Preview can open and save a pict file, but on my machine (Panorama 6.0.0, OS 10.6.5), the pict files created by Preview in 32 bit mode can't be read by Panorama. > > But picts written by Superpaint running in Sheepshaver can ;-) > > Anybody have any different experience with reading picts written by Preview in 10.6? > > Ray > > > >> >Perhaps you are referring to the fact that Preview no longer can >>> create PICT files, which I think may be true. But nothing has >>> changed in the OS. >>> >> >> Preview can still create PICT files, but not in 64-bit mode. To create or open PICT files in >> Preview, select Preview's application icon in the Finder, and Get Info. Then check the Open >> in 32-bit mode checkbox. >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Fri May 6 11:51:13 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 6 May 2011 13:51:13 -0500 (CDT) Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> Message-ID: <20110506135113.CQP78288@expms1.cites.uiuc.edu> >This isn't actually useful. Preview can open and save a pict file, >but on my machine (Panorama 6.0.0, OS 10.6.5), the pict files created >by Preview in 32 bit mode can't be read by Panorama. > >But picts written by Superpaint running in Sheepshaver can ;-) > >Anybody have any different experience with reading picts written by >Preview in 10.6? > >Ray I just tried it, and it worked fine, as long as the file had a .pict or .pct extension, or a PICT type code. If it didn't have any of those, it would still work with the enhanced image pack, but without it, it would be partially obscured by the red and blue checkerboard. Use Get Info in the Finder to get the info on your PICT file, and look at the name and extension. It may be that the Finder is hiding the extension, and you haven't included it in your flash art formula. Preview 5.0.3 OS X 10.6.7 Panorama 6.0.0 build 94356 Dave > > > >> >Perhaps you are referring to the fact that Preview no longer can >>>create PICT files, which I think may be true. But nothing has >>>changed in the OS. >>> >> >>Preview can still create PICT files, but not in 64-bit mode. To >>create or open PICT files in >>Preview, select Preview's application icon in the Finder, and Get >>Info. Then check the Open >>in 32-bit mode checkbox. >> >>Dave From ray at apresmidi.net Sat May 7 23:32:26 2011 From: ray at apresmidi.net (Ray Spears) Date: Sat, 7 May 2011 23:32:26 -0700 Subject: No more PICT Files In-Reply-To: <20110506135113.CQP78288@expms1.cites.uiuc.edu> References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> Message-ID: All interesting. My situation is, I have a folder with several picts, old and new, in it. I have a Flash Art Object in a form, whose formula is XREF + ".pict" (XREF is a field in the database) picts that I saved before I started using 10.6, display fine. picts that I save from Preview, don't display. picts that I save from Superpaint via Sheepshaver, do display. All picts have a visible extent ".pict". Is this a recognized bug? should submit a sample? > >This isn't actually useful. Preview can open and save a pict file, >>but on my machine (Panorama 6.0.0, OS 10.6.5), the pict files created >>by Preview in 32 bit mode can't be read by Panorama. >> >>But picts written by Superpaint running in Sheepshaver can ;-) >> >>Anybody have any different experience with reading picts written by >>Preview in 10.6? >> >>Ray > >I just tried it, and it worked fine, as long as the file had a .pict >or .pct extension, or a PICT >type code. If it didn't have any of those, it would still work with >the enhanced image pack, >but without it, it would be partially obscured by the red and blue >checkerboard. > >Use Get Info in the Finder to get the info on your PICT file, and >look at the name and >extension. It may be that the Finder is hiding the extension, and >you haven't included it in >your flash art formula. > >Preview 5.0.3 >OS X 10.6.7 >Panorama 6.0.0 build 94356 > >Dave >> >> >> >>> >Perhaps you are referring to the fact that Preview no longer can >>>>create PICT files, which I think may be true. But nothing has >>>>changed in the OS. >>>> >>> >>>Preview can still create PICT files, but not in 64-bit mode. To >>>create or open PICT files in >>>Preview, select Preview's application icon in the Finder, and Get >>>Info. Then check the Open >>>in 32-bit mode checkbox. >>> >>>Dave >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Sun May 8 11:34:42 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Sun, 8 May 2011 13:34:42 -0500 (CDT) Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> Message-ID: <20110508133442.CQQ67531@expms1.cites.uiuc.edu> >My situation is, I have a folder with several picts, old and new, in it. > >I have a Flash Art Object in a form, whose formula is > >XREF + ".pict" > >(XREF is a field in the database) > >picts that I saved before I started using 10.6, display fine. > >picts that I save from Preview, don't display. > >picts that I save from Superpaint via Sheepshaver, do display. > >All picts have a visible extent ".pict". > >Is this a recognized bug? should submit a sample? > A sample might help. No one on this list has reported having the same problem, and the two of us that said we tried to duplicate the problem were unable to. If your files have a .pict extension, and your formula does too, the only thing I can think of off hand is that the file name, including extension, might be over 31 characters long. Dave From cdpublishing at qwestoffice.net Sun May 8 12:07:42 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Sun, 8 May 2011 12:07:42 -0700 Subject: No more PICT Files In-Reply-To: <20110508133442.CQQ67531@expms1.cites.uiuc.edu> References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> Message-ID: <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> so, you're saying all your .pict files have names ending with '.pict' and then you add '.pict' so you are opening something like 'myfile.pict.pict' ? Do all the pict files have the same exstension? Craig On May 8, 2011, at 11:34 AM, David Thompson wrote: >> My situation is, I have a folder with several picts, old and new, in it. >> >> I have a Flash Art Object in a form, whose formula is >> >> XREF + ".pict" >> >> (XREF is a field in the database) >> >> picts that I saved before I started using 10.6, display fine. >> >> picts that I save from Preview, don't display. >> >> picts that I save from Superpaint via Sheepshaver, do display. >> >> All picts have a visible extent ".pict". >> >> Is this a recognized bug? should submit a sample? >> > > A sample might help. No one on this list has reported having the same problem, and the two of us that said we tried to duplicate the problem were unable to. If your files have a .pict extension, and your formula does too, the only thing I can think of off hand is that the file name, including extension, might be over 31 characters long. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From rays at apresmidi.net Sun May 8 13:27:52 2011 From: rays at apresmidi.net (Ray Spears) Date: Sun, 8 May 2011 13:27:52 -0700 Subject: No more PICT Files In-Reply-To: <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: Here is the problem. DV displays, RLT doesn't. DV was created with an OS 10.3.9 version of something, RLT was saved in 10.6 as an alleged PICT using Preview running in 32 bit mode. I don't know if there is an issue with the names. Here is what ls thinks the names of these files are: DV .pict Pict issues RLT .pict Ray >so, you're saying all your .pict files have names ending with >'.pict' and then you add '.pict' so you are opening something like >'myfile.pict.pict' ? Do all the pict files have the same exstension? >Craig >On May 8, 2011, at 11:34 AM, David Thompson wrote: > >>> My situation is, I have a folder with several picts, old and new, in it. >>> >>> I have a Flash Art Object in a form, whose formula is >>> >>> XREF + ".pict" >>> >>> (XREF is a field in the database) >>> >>> picts that I saved before I started using 10.6, display fine. >>> >>> picts that I save from Preview, don't display. >>> >>> picts that I save from Superpaint via Sheepshaver, do display. >>> >>> All picts have a visible extent ".pict". >>> >>> Is this a recognized bug? should submit a sample? >>> >> >> A sample might help. No one on this list has reported having the >>same problem, and the two of us that said we tried to duplicate the >>problem were unable to. If your files have a .pict extension, and >>your formula does too, the only thing I can think of off hand is >>that the file name, including extension, might be over 31 >>characters long. >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna -------------- next part -------------- A non-text attachment was scrubbed... Name: %Pict issues Type: application/applefile Size: 121 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Pict issues Type: application/octet-stream Size: 3100 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: %RLT .pict Type: application/applefile Size: 119 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RLT .pict Type: application/octet-stream Size: 484010 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: %DV .pict Type: application/applefile Size: 11794 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DV .pict Type: application/octet-stream Size: 273430 bytes Desc: not available URL: From beauche at roadrunner.com Sun May 8 22:39:57 2011 From: beauche at roadrunner.com (George Beauchemin) Date: Sun, 08 May 2011 22:39:57 -0700 Subject: No more PICT Files VOLUME 41, ISSUE 6 Message-ID: I too have a similar problem. And I am just trying to display AND PRINT a pict. No fancy routines. This was reported to ProVue and they could replicate the problem. I think that it was FLASH ART June 12, 2010 3:57PM Tech Support Incident: 16057224. The problem is somewhat random and vexing. I ironically just ran into this again today. Further, there are situations where I can see the PICT on the form in Print Preview but when I print to a laser printer or to a PDF file, depending on chance, I get a drawing (in my case) hopeless truncated on the horizontal axis or no image prints. I can see the image and print it in Preview or GraphicConverter by Lemke. Or pasting it into a Word Document. I have wasted tens of hours trying to figure out a consistent work around. If anyone wants a zipped simple file that illustrates this just ask. I want to say that somehow Panorama ?forgets? or cannot find the actual file. I have started playing around at moving the actual to a one up level up in the folders and this worked once. But my investigation is premature and not consistent. VEXING! Ironically, I on May 5 sent to the qna a somewhat related question but I do not see it. Related to tagging Acrobat files created in Panorama. And losing significant content. Best Regards, George ?One grain of luck sometimes worth more than whole rice field of wisdom.? Charlie Chan at the Circus (1936) -------------- next part -------------- An HTML attachment was scrubbed... URL: From csw at me.com Sun May 8 23:23:32 2011 From: csw at me.com (Watts Chris) Date: Sun, 08 May 2011 23:23:32 -0700 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: I have seen this. Before I run everything through photoshop the files have no previews and panorama doesn't see them. I never really figured out why this was, but i thought it might have been a type/creator issue. Sent from my iPad On May 8, 2011, at 1:27 PM, Ray Spears wrote: > Here is the problem. DV displays, RLT doesn't. DV was created with an OS 10.3.9 version of something, RLT was saved in 10.6 as an alleged PICT using Preview running in 32 bit mode. > > I don't know if there is an issue with the names. Here is what ls thinks the names of these files are: > > DV .pict Pict issues RLT .pict > > > > Ray > > >> so, you're saying all your .pict files have names ending with '.pict' and then you add '.pict' so you are opening something like 'myfile.pict.pict' ? Do all the pict files have the same exstension? >> Craig >> On May 8, 2011, at 11:34 AM, David Thompson wrote: >> >>>> My situation is, I have a folder with several picts, old and new, in it. >>>> >>>> I have a Flash Art Object in a form, whose formula is >>>> >>>> XREF + ".pict" >>>> >>>> (XREF is a field in the database) >>>> >>>> picts that I saved before I started using 10.6, display fine. >>>> >>>> picts that I save from Preview, don't display. >>>> >>>> picts that I save from Superpaint via Sheepshaver, do display. >>>> >>>> All picts have a visible extent ".pict". >>>> >>>> Is this a recognized bug? should submit a sample? >>>> >>> >>> A sample might help. No one on this list has reported having the same problem, and the two of us that said we tried to duplicate the problem were unable to. If your files have a .pict extension, and your formula does too, the only thing I can think of off hand is that the file name, including extension, might be over 31 characters long. >>> >>> Dave >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From kjmeyer at mac.com Sun May 8 22:59:32 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 09 May 2011 07:59:32 +0200 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: <46DBD75C-5A79-49F2-B830-E938654C8D46@mac.com> Am 08.05.2011 um 22:27 schrieb Ray Spears: > Here is the problem. DV displays, RLT doesn't. DV was created with an OS 10.3.9 version of something, RLT was saved in 10.6 as an alleged PICT using Preview running in 32 bit mode. Preview in 64 bit mode does not support the PICT format anymore and gives an alert: You have to open them in 32 bit mode. ? QuickLook displays both pictures. GraphicConverter shows the difference between both files: RLT .pict is an uncompressed PICT file, DV .pict is compressed by factor 1:2. Since GraphicConverter supports those formats, this would be a convenient way to batch convert your pictures from the outdated PICT format to .png or .jpg. Kurt From kjmeyer at mac.com Sun May 8 23:22:45 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 09 May 2011 08:22:45 +0200 Subject: No more PICT Files In-Reply-To: <46DBD75C-5A79-49F2-B830-E938654C8D46@mac.com> References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> <46DBD75C-5A79-49F2-B830-E938654C8D46@mac.com> Message-ID: <5217FAB6-4044-4860-91C2-93386F183EED@mac.com> Am 09.05.2011 um 07:59 schrieb Kurt J. Meyer: > GraphicConverter shows the difference between both files: RLT .pict is an uncompressed PICT file, DV .pict is compressed by factor 1:2. I did a Save as ? in GraphicConverter and it saved the problematic uncompressed PICT file with "Standard" compression. Then Panorama's Flash Art object was able to display the file. Kurt From dthmpsn1 at illinois.edu Mon May 9 12:08:22 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Mon, 9 May 2011 14:08:22 -0500 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: > >Here is the problem. DV displays, RLT doesn't. DV was created with >an OS 10.3.9 version of something, RLT was saved in 10.6 as an >alleged PICT using Preview running in 32 bit mode. > >I don't know if there is an issue with the names. Here is what ls >thinks the names of these files are: > >DV .pict Pict issues RLT .pict When I tried your examples with your database, I got the results you described. When I tried it with my own database, both images displayed just fine. It took me a while to figure out the difference. Your database was using a flash art object. Mine was using a super flash art object. When I replaced the flash art object in your database with a super flash art object, both images could display in your database as well. Dave From kjmeyer at mac.com Sun May 8 23:55:40 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 09 May 2011 08:55:40 +0200 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: Am 08.05.2011 um 22:27 schrieb Ray Spears: > Here is the problem. DV displays, RLT doesn't. DV was created with an OS 10.3.9 version of something, RLT was saved in 10.6 as an alleged PICT using Preview running in 32 bit mode. > > I don't know if there is an issue with the names. Here is what ls thinks the names of these files are: > > DV .pict Pict issues RLT .pict There is a big delay, when I send answers to the Panorama qna today, so I send this as PM, too. I did some testing with your files and found, that the problematic file "RLT .pict" is an uncompressed PICT file, the file "DV .pict" is compressed by factor 1:2. And here is the final solution for using both files in Panorama: Do not use the Flash Art object. Make use of the Flash Art Super Object! (In the Graphics Mode of the form window, choose Setup > Tool Palette ? > Move All to display its icon in the toolbar.) I added a FASO to the form of your sample file. Have a look. Kurt -------------- next part -------------- A non-text attachment was scrubbed... Name: Pict issues Type: application/octet-stream Size: 4426 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DV .pict Type: image/pict Size: 273430 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RLT .pict Type: image/pict Size: 484010 bytes Desc: not available URL: From rays at apresmidi.net Mon May 9 00:34:00 2011 From: rays at apresmidi.net (Ray Spears) Date: Mon, 9 May 2011 00:34:00 -0700 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: wow that totally works, thanks a lot !! Ray >Am 08.05.2011 um 22:27 schrieb Ray Spears: > >> Here is the problem. DV displays, RLT doesn't. DV was created >>with an OS 10.3.9 version of something, RLT was saved in 10.6 as an >>alleged PICT using Preview running in 32 bit mode. >> >> I don't know if there is an issue with the names. Here is what ls >>thinks the names of these files are: >> >> DV .pict Pict issues RLT .pict > >There is a big delay, when I send answers to the Panorama qna today, >so I send this as PM, too. > >I did some testing with your files and found, that the problematic >file "RLT .pict" is an uncompressed PICT file, the file "DV .pict" >is compressed by factor 1:2. > >And here is the final solution for using both files in Panorama: Do >not use the Flash Art object. Make use of the Flash Art Super Object! > >(In the Graphics Mode of the form window, choose Setup > Tool >Palette ? > Move All to display its icon in the toolbar.) > >I added a FASO to the form of your sample file. Have a look. > >Kurt > > >Attachment converted: Rosmarinus:Pict issues ( / ) (002E282E) >Attachment converted: Rosmarinus:DV .pict (PICT/8BIM) (002E282F) >Attachment converted: Rosmarinus:RLT .pict (xxxx/?IC?) (002E2830) From ray at apresmidi.net Tue May 10 13:04:59 2011 From: ray at apresmidi.net (Ray Spears) Date: Tue, 10 May 2011 13:04:59 -0700 Subject: No more PICT Files In-Reply-To: References: <20110408132728.CPT52478@expms1.cites.uiuc.edu> <20110506135113.CQP78288@expms1.cites.uiuc.edu> <20110508133442.CQQ67531@expms1.cites.uiuc.edu> <3C06031E-CD31-41DC-91AC-8A11FA1588DB@qwestoffice.net> Message-ID: Thanks for all your advice. I should stop being so cheap and spring for $14.95 for the Enhanced Image Pack, although a judicious use of Spreadsheet Calculators and the Internet reveals that while PICTs use about twice as much disk space as JPEGS, $15 buys 300 gigabytes at current prices and therefore I would need 300 gigabytes of pictures in order to make it more cost effective to use jpgs and the Enhanced Image Pack, rather than picts and basic Panorama...anyway.... Ray >>Here is the problem. DV displays, RLT doesn't. DV was created >>with an OS 10.3.9 version of something, RLT was saved in 10.6 as an >>alleged PICT using Preview running in 32 bit mode. >> >>I don't know if there is an issue with the names. Here is what ls >>thinks the names of these files are: >> >>DV .pict Pict issues RLT .pict > >When I tried your examples with your database, I got the results you >described. When I tried it with my own database, both images >displayed just fine. It took me a while to figure out the >difference. Your database was using a flash art object. Mine was >using a super flash art object. When I replaced the flash art object >in your database with a super flash art object, both images could >display in your database as well. > >Dave >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From rays at apresmidi.net Tue May 10 13:17:44 2011 From: rays at apresmidi.net (Ray Spears) Date: Tue, 10 May 2011 13:17:44 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> Message-ID: It says in the Panorama Reference. Where are some of the less common time patterns listed? iCal Events like their times like this: DTSTART:20090605T205000Z I'd like to be able to pattern 12:03 AM therefore as 0003, but "hhmm" produces "003" TIMEPATTERN(?input time?, "0hhmm")[-4,-1] seems unnecessarily complicated Ray From dthmpsn1 at illinois.edu Tue May 10 14:10:05 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 10 May 2011 16:10:05 -0500 (CDT) Subject: "Some of the more common time patterns are listed here:" In-Reply-To: References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> Message-ID: <20110510161005.CQS21484@expms1.cites.uiuc.edu> >It says in the Panorama Reference. > >Where are some of the less common time patterns listed? > >iCal Events like their times like this: > >DTSTART:20090605T205000Z > >I'd like to be able to pattern 12:03 AM therefore as 0003, but "hhmm" >produces "003" > >TIMEPATTERN(?input time?, "0hhmm")[-4,-1] seems unnecessarily complicated > Be that as it may, that's the way to do it. There is no pattern that will give you a leading zero for the hours. All the basic components are in the Panorama Reference. The less common patterns would just be less common combinations of those components. Dave From kjmeyer at mac.com Tue May 10 14:30:29 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Tue, 10 May 2011 23:30:29 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <20110510161005.CQS21484@expms1.cites.uiuc.edu> References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> <20110510161005.CQS21484@expms1.cites.uiuc.edu> Message-ID: Am 10.05.2011 um 23:10 schrieb David Thompson: > There is no pattern that will give you a leading zero > for the hours. I just found a pattern that produces a leading zero for hours: Try Timepattern(Time("12:03 AM"),"hhhh:mm") Kurt From kjmeyer at mac.com Tue May 10 14:39:09 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Tue, 10 May 2011 23:39:09 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> <20110510161005.CQS21484@expms1.cites.uiuc.edu> Message-ID: <68381E1A-89A1-4006-AA9C-1C2E6EEAD114@mac.com> Am 10.05.2011 um 23:30 schrieb Kurt J. Meyer: > I just found a pattern that produces a leading zero for hours: Try > Timepattern(Time("12:03 AM"),"hhhh:mm") Sorry, that duplicates the hours only. Kurt From scott at prototek.net Tue May 10 14:58:52 2011 From: scott at prototek.net (Scott Taylor) Date: Tue, 10 May 2011 14:58:52 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <68381E1A-89A1-4006-AA9C-1C2E6EEAD114@mac.com> Message-ID: I?m surprised that timepattern( doesn?t follow the convention of datepattern( where putting the date component in caps gives full 2-digit representation. Such as: > datepattern(date(?May 9, 2011?),?mm/dd/yyyy?) gives ?5/9/2011? while the same input but capitalized pattern: > datepattern(date(?May 9, 2011?),?MM/DD/YYYY?) gives ?05/09/2011?. > If it did, then Ray?s problem would be easily solved by capitalizing HHMM. Any explanation for this? > Scott > > From: "Kurt J. Meyer" > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Tue, 10 May 2011 23:39:09 +0200 > To: "Panorama Questions & Answers (Discussion)" > Subject: Re: "Some of the more common time patterns are listed here:" > > > Am 10.05.2011 um 23:30 schrieb Kurt J. Meyer: > >> > I just found a pattern that produces a leading zero for hours: Try >> > Timepattern(Time("12:03 AM"),"hhhh:mm") > > Sorry, that duplicates the hours only. > > Kurt > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjmeyer at mac.com Tue May 10 15:04:22 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Wed, 11 May 2011 00:04:22 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <20110510161005.CQS21484@expms1.cites.uiuc.edu> References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> <20110510161005.CQS21484@expms1.cites.uiuc.edu> Message-ID: Am 10.05.2011 um 23:10 schrieb David Thompson: > Be that as it may, that's the way to do it. There is no pattern that will give you a leading zero > for the hours. "9:30 AM" is a text string representing a time. The time( function converts it into a number containing the seconds counted since 12:00 AM. The timepattern( function converts this number into a string of text and makes use of "hh", "mm" and "ss" for the time format of that text string. So, if you want to get a leading zero for the hours, the next step is to check if the hours are < 10 and ? in that case ? to add a "0" as a prefix. You can do that with this formula ?(val(timepattern(time("9:30 AM"),"hh")<10 , "0"+timepattern(time("9:30 AM"),"hh:mm") , timepattern(time("9:30 AM"),"hh:mm")) Remember: The timepattern( function produces a text string of text. So you have to do this calculation in a text field. You get unexpected results, if this field is numeric. Kurt From kjmeyer at mac.com Tue May 10 15:07:36 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Wed, 11 May 2011 00:07:36 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: References: Message-ID: <5B82A17E-A3F0-466F-A4E9-8C9C561139DB@mac.com> Am 10.05.2011 um 23:58 schrieb Scott Taylor: > I?m surprised that timepattern( doesn?t follow the convention of datepattern( where putting the date component in caps gives full 2-digit representation. > > Such as: >> datepattern(date(?May 9, 2011?),?mm/dd/yyyy?) gives ?5/9/2011? > while the same input but capitalized pattern: >> datepattern(date(?May 9, 2011?),?MM/DD/YYYY?) gives ?05/09/2011?. >> > If it did, then Ray?s problem would be easily solved by capitalizing HHMM. Any explanation for this? Because we would have two formats reading the same ("MM") but meaning different things: month and minutes? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at prototek.net Tue May 10 15:25:20 2011 From: scott at prototek.net (Scott Taylor) Date: Tue, 10 May 2011 15:25:20 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <5B82A17E-A3F0-466F-A4E9-8C9C561139DB@mac.com> Message-ID: I would think the construct of the function ?datepattern? or ?timepattern? would easily make that distinction. Anyway, lowercase ?mm? means minutes in timepattern and month in datepattern without confusion. Nope, it still doesn?t make sense that the two functions don?t follow the same conventions. > > From: "Kurt J. Meyer" > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Wed, 11 May 2011 00:07:36 +0200 > To: "Panorama Questions & Answers (Discussion)" > Subject: Re: "Some of the more common time patterns are listed here:" > > > Am 10.05.2011 um 23:58 schrieb Scott Taylor: > >> I?m surprised that timepattern( doesn?t follow the convention of datepattern( >> where putting the date component in caps gives full 2-digit representation. >> >> Such as: >>> datepattern(date(?May 9, 2011?),?mm/dd/yyyy?) gives ?5/9/2011? >> while the same input but capitalized pattern: >>> datepattern(date(?May 9, 2011?),?MM/DD/YYYY?) gives ?05/09/2011?. >>> >> If it did, then Ray?s problem would be easily solved by capitalizing HHMM. >> Any explanation for this? > > Because we would have two formats reading the same ("MM") but meaning > different things: month and minutes? > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at provue.com Tue May 10 15:26:48 2011 From: jim at provue.com (James Rea) Date: Tue, 10 May 2011 15:26:48 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <5B82A17E-A3F0-466F-A4E9-8C9C561139DB@mac.com> Message-ID: On 5/11/11 at 3:07 PM, kjmeyer at mac.com (Kurt J. Meyer) wrote: >>If it did, then Ray?s problem would be easily solved by capitalizing >>HHMM. >Any explanation for this? > >Because we would have two formats reading the same ("MM") but meaning >different things: month and minutes? No, that doesn't matter, these are two separate functions. The explanation is that this is not a feature that anyone has ever asked for before. At this point, I think Ray's original solution TIMEPATTERN(?input time?, "0hhmm")[-4,-1] is fine for such a rarely used feature. You can always create a custom function if you want to use this a lot. >iCal Events like their times like this: >DTSTART:20090605T205000Z Does that Z on the end mean this is Zulu (Grenwich) time? If so, your function would also need to adjust for this. Jim From jim at provue.com Tue May 10 15:32:57 2011 From: jim at provue.com (James Rea) Date: Tue, 10 May 2011 15:32:57 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: Message-ID: On 5/10/11 at 2:58 PM, scott at prototek.net (Scott Taylor) wrote: >If it did, then Ray?s problem would be easily solved by capitalizing HHMM. >Any explanation for this? On thinking about this further, I'll bet if this was changed we would get quite a few complaints. I'll bet a lot of users are using timepattern( with upper case patterns and would be quite unhappy if 2:30 started showing up as 02:30. Jim From scott at prototek.net Tue May 10 15:44:26 2011 From: scott at prototek.net (Scott Taylor) Date: Tue, 10 May 2011 15:44:26 -0700 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: Message-ID: Ah yes, the tyranny of embedded habits. It would be interesting to know how many users ?innocently? use caps for timepattern, and how many of those would be ?quite unhappy? with having to change them to lowercase to retain the format they have become used to. But it does come down to being a very rare issue. > > From: James Rea > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Tue, 10 May 2011 15:32:57 -0700 > To: "Panorama Questions & Answers (Discussion)" > Subject: Re: "Some of the more common time patterns are listed here:" > > On 5/10/11 at 2:58 PM, scott at prototek.net (Scott Taylor) wrote: >> >If it did, then Ray?s problem would be easily solved by capitalizing HHMM. >> >Any explanation for this? > > On thinking about this further, I'll bet if this was changed we > would get quite a few complaints. I'll bet a lot of users are > using timepattern( with upper case patterns and would be quite unhappy if 2:30 > started showing up as 02:30. > > J im > _______________________________________________ > Qna mailing list Qna at provue.com http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From beauche at roadrunner.com Tue May 10 16:20:17 2011 From: beauche at roadrunner.com (George Beauchemin) Date: Tue, 10 May 2011 16:20:17 -0700 Subject: Enhanced Image Pack -discussions on PICT File Display and Printing Message-ID: Can someone tell me how I can know if I have the Enhanced Image Pack in Panorama? I am 99 44/100 % sure I bought it years ago. Still battling my problems but I want to check before I pose another question. Am I correct that .png is a better format than PICT if one was saving a drawing from say SolidWorks and wanted to display in a Panorama Form. Best Regards, George He who asks is a fool for five minutes, but he who does not ask remains a fool forever. Chinese Proverb From kjmeyer at mac.com Tue May 10 16:43:26 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Wed, 11 May 2011 01:43:26 +0200 Subject: Enhanced Image Pack -discussions on PICT File Display and Printing In-Reply-To: References: Message-ID: <86C5DA49-A77A-4F23-AE51-43B27402337A@mac.com> Am 11.05.2011 um 01:20 schrieb George Beauchemin: > Can someone tell me how I can know if I have the Enhanced Image Pack in > Panorama? > > I am 99 44/100 % sure I bought it years ago. Have a look at the menu Panorama > Registration? Kurt From gary at yonaites.com Tue May 10 16:44:40 2011 From: gary at yonaites.com (Gary Yonaites) Date: Tue, 10 May 2011 16:44:40 -0700 Subject: Enhanced Image Pack -discussions on PICT File Display and Printing In-Reply-To: References: Message-ID: <8CFB9CC9-3A0E-4B0B-80CF-CF72CD6FB441@yonaites.com> The info("imagepack") function will be true if installed or false if not installed. I noticed that if it is true it returns 1 and not -1. Gary gary at yonaites.com On May 10, 2011, at 4:20 PM, George Beauchemin wrote: > Can someone tell me how I can know if I have the Enhanced Image Pack in > Panorama? > > I am 99 44/100 % sure I bought it years ago. > > Still battling my problems but I want to check before I pose another > question. > > Am I correct that .png is a better format than PICT if one was saving a > drawing from say SolidWorks and wanted to display in a Panorama Form. > > Best Regards, > > George > > He who asks is a fool for five minutes, but he who does not ask remains a > fool forever. Chinese Proverb > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From kjmeyer at mac.com Tue May 10 16:56:21 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Wed, 11 May 2011 01:56:21 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: References: Message-ID: <0E5E96E5-A684-464C-9B29-7D785881CF8A@mac.com> Am 11.05.2011 um 00:26 schrieb James Rea: > At this point, I think Ray's original solution > > TIMEPATTERN(?input time?, "0hhmm")[-4,-1] > > is fine for such a rarely used feature. This format displays a leading zero for hours >= 10, too; e. g. 5:30 PM are displayed as 01730. I do not think that's what you want. You will have to use a formula that checks if the hour is < 10. Kurt From kjmeyer at mac.com Tue May 10 16:59:37 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Wed, 11 May 2011 01:59:37 +0200 Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <0E5E96E5-A684-464C-9B29-7D785881CF8A@mac.com> References: <0E5E96E5-A684-464C-9B29-7D785881CF8A@mac.com> Message-ID: Am 11.05.2011 um 01:56 schrieb Kurt J. Meyer: >> TIMEPATTERN(?input time?, "0hhmm")[-4,-1] > This format displays a leading zero for hours >= 10, too; e. g. 5:30 PM are displayed as 01730. I do not think that's what you want. O.K., I concentrated to much on the time format and overlooked the text funnel. Kurt From dthmpsn1 at illinois.edu Tue May 10 17:02:20 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 10 May 2011 19:02:20 -0500 (CDT) Subject: "Some of the more common time patterns are listed here:" In-Reply-To: <0E5E96E5-A684-464C-9B29-7D785881CF8A@mac.com> References: <0E5E96E5-A684-464C-9B29-7D785881CF8A@mac.com> Message-ID: <20110510190220.CQS30220@expms1.cites.uiuc.edu> >Am 11.05.2011 um 00:26 schrieb James Rea: > >> At this point, I think Ray's original solution >> >> TIMEPATTERN(?input time?, "0hhmm")[-4,-1] >> >> is fine for such a rarely used feature. > >This format displays a leading zero for hours >= 10, too; e. g. 5:30 PM are displayed as 01730. I do not think that's what you want. > >You will have to use a formula that checks if the hour is < 10. > No. The text funnel will cut that zero off, if there are four digits behind it. The output of the timepattern( function would be 01730, but then the text funnel would reduce that to 1730. Dave From rays at apresmidi.net Wed May 11 13:59:19 2011 From: rays at apresmidi.net (Ray Spears) Date: Wed, 11 May 2011 13:59:19 -0700 Subject: Z is indeed for Zulu In-Reply-To: References: Message-ID: I take planetary conjunction data off various websites, and make iCal events from them. iCal has zillions of issues with time zones; that's why I process my calendar items using Panorama. For extraterrestrial events, the Z format is correctly interpreted. And therefore, completely off topic, for those of you living outside the regions of June Gloom summer fog, there is a conjunction of Mars, Mercury, Venus, and Jupiter this week, seen in the east from a half hour before sunrise :) Ray >On 5/11/11 at 3:07 PM, kjmeyer at mac.com (Kurt J. Meyer) wrote: > >>>If it did, then Ray's problem would be easily solved by capitalizing >>>HHMM. >>Any explanation for this? >> >>Because we would have two formats reading the same ("MM") but meaning >>different things: month and minutes? > >No, that doesn't matter, these are two separate functions. > >The explanation is that this is not a feature that anyone has ever asked >for before. At this point, I think Ray's original solution > >TIMEPATTERN(?input time?, "0hhmm")[-4,-1] > >is fine for such a rarely used feature. You can always create a custom >function if you want to use this a lot. > >>iCal Events like their times like this: > >>DTSTART:20090605T205000Z > >Does that Z on the end mean this is Zulu (Grenwich) time? If so, >your function would also need to adjust for this. > >Jim > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From audax at wideband.net.au Wed May 11 21:01:58 2011 From: audax at wideband.net.au (Michael Kellock) Date: Thu, 12 May 2011 14:01:58 +1000 Subject: Opening Excel in a specific version Message-ID: <360CCE99-CE4E-47C6-8E37-BDE07EA07C10@wideband.net.au> In Panorama for Windows, I use the OpenAnything command to open an Excel worksheet which contains an AutoOpen macro which does all sorts of wondrous things. It appears that, when I have two versions of Excel available, Panorama (or some other agent?) always opts for the newest version. I want to use the older version each time (because of macro compatibility problems) Is there a way to do this? michael From jim at provue.com Wed May 11 21:41:24 2011 From: jim at provue.com (James Rea) Date: Wed, 11 May 2011 21:41:24 -0700 Subject: Opening Excel in a specific version In-Reply-To: <360CCE99-CE4E-47C6-8E37-BDE07EA07C10@wideband.net.au> Message-ID: On 5/12/11 at 9:01 PM, audax at wideband.net.au (Michael Kellock) wrote: >In Panorama for Windows, I use the OpenAnything command to open >an Excel worksheet which contains an AutoOpen macro which does >all sorts of wondrous things. It appears that, when I have two >versions of Excel available, Panorama (or some other agent?) >always opts for the newest version. I want to use the older >version each time (because of macro compatibility problems) Is >there a way to do this? Panorama simply asks Windows to open the file. It doesn't even know what program, if any, is used to open the file. The result should be the same as if you double click the worksheet in the Windows explorer. There is no way to select what application is used to open the file. You can modify the Windows Registry to specify what program is associated with a particular file extension, for example .xls. You'll need a registry editor to do this -- most likely there is also some free or low cost utility that can do it, but you'll have to find that on your own. Jim From audax at wideband.net.au Wed May 11 23:36:37 2011 From: audax at wideband.net.au (Michael Kellock) Date: Thu, 12 May 2011 16:36:37 +1000 Subject: Opening Excel in a specific version In-Reply-To: References: Message-ID: <442A1FD2-7792-4EE0-A76C-2E77FBE2287F@wideband.net.au> That was my assumption but the one thing I've learned is never to assume anything about Panorama - especially don't assume that it can't do something. michael On 12/05/2011, at 2:41 PM, James Rea wrote: > On 5/12/11 at 9:01 PM, audax at wideband.net.au (Michael Kellock) wrote: > >> In Panorama for Windows, I use the OpenAnything command to open an Excel worksheet which contains an AutoOpen macro which does all sorts of wondrous things. It appears that, when I have two versions of Excel available, Panorama (or some other agent?) always opts for the newest version. I want to use the older version each time (because of macro compatibility problems) Is there a way to do this? > > Panorama simply asks Windows to open the file. It doesn't even know what program, if any, is used to open the file. The result should be the same as if you double click the worksheet in the Windows explorer. > > There is no way to select what application is used to open the file. You can modify the Windows Registry to specify what program is associated with a particular file extension, for example .xls. You'll need a registry editor to do this -- most likely there is also some free or low cost utility that can do it, but you'll have to find that on your own. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From ronald.southwick at tojfarm.com Thu May 12 03:21:17 2011 From: ronald.southwick at tojfarm.com (ronald.southwick) Date: Thu, 12 May 2011 06:21:17 -0400 Subject: Opening Excel in a specific version In-Reply-To: <442A1FD2-7792-4EE0-A76C-2E77FBE2287F@wideband.net.au> References: <442A1FD2-7792-4EE0-A76C-2E77FBE2287F@wideband.net.au> Message-ID: <4DCBB49D.2070606@tojfarm.com> If the Excel sheet only has a macro and not data, (that is, if you are not changing it very much) maybe this will work without playing with your registry. Give the Excel file a made-up extension, like .etp (excel to panorama). Right-click the file icon and open its properties. Use the "Opens With" "Change" button to specify the correct version of Excel. Ron Michael Kellock wrote: > That was my assumption but the one thing I've learned is never to assume anything about Panorama - especially don't assume that it can't do something. >> You can modify the Windows Registry to specify what program is associated with a particular file extension, From audax at wideband.net.au Thu May 12 16:16:43 2011 From: audax at wideband.net.au (Michael Kellock) Date: Fri, 13 May 2011 09:16:43 +1000 Subject: Opening Excel in a specific version In-Reply-To: <4DCBB49D.2070606@tojfarm.com> References: <442A1FD2-7792-4EE0-A76C-2E77FBE2287F@wideband.net.au> <4DCBB49D.2070606@tojfarm.com> Message-ID: An interesting approach Ron - but I modify the Excel files considerably. michael On 12/05/2011, at 8:21 PM, ronald.southwick wrote: > If the Excel sheet only has a macro and not data, (that is, if you are not changing it very much) maybe this will work without playing with your registry. > > Give the Excel file a made-up extension, like .etp (excel to panorama). Right-click the file icon and open its properties. Use the "Opens With" "Change" button to specify the correct version of Excel. > > Ron > > Michael Kellock wrote: >> That was my assumption but the one thing I've learned is never to assume anything about Panorama - especially don't assume that it can't do something. > >>> You can modify the Windows Registry to specify what program is associated with a particular file extension, > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From JC at JamesCook.biz Fri May 13 08:36:24 2011 From: JC at JamesCook.biz (James Cook) Date: Fri, 13 May 2011 11:36:24 -0400 Subject: Dimmed Menus in Database Sharing Options Message-ID: I have many databases that I've published to web servers and they perform with great reliability. There are occasional bumps that I don't understand though. I routinely use Database Sharing Options to update procedures and to exchange data with server copies. It works very well almost all of the time. Some databases don't get the same treatment though and I have yet to figure out the difference. For example, I have one that has been published just like others and it runs without issues. But the menus in Database Sharing Options are always dimmed so I can't upload, download or change procedures via menu choices. I can however use the button in the window to update procedures and it properly completes the process. So the database is obviously connected and recognized, yet the menus remain dimmed. I can open other databases and the menus come alive, but go back to the first one and they dim again. What determines the accessibility of those menus? -- James Cook JC at JamesCook.biz Founder of HindSight Ltd. http://HSLtd.us Panorama Tutoring Custom Panorama Applications Specializing in Panorama Enterprise for the Web From jim at provue.com Fri May 13 13:01:16 2011 From: jim at provue.com (James Rea) Date: Fri, 13 May 2011 13:01:16 -0700 Subject: Dimmed Menus in Database Sharing Options In-Reply-To: Message-ID: On 5/13/11 at 8:36 AM, JC at JamesCook.biz (James Cook) wrote: >What determines the accessibility of those menus? It's supposed to be determined by whether or not the database is linked to a server and whether it is shared and whether it is web published. Looking at the source code I don't see an obvious reason why two databases would work differently unless perhaps the configuration dictionary was corrupted somehow. But in that case, I wouldn't expect it to work at all. Jim From josh.davenport at myfairpoint.net Fri May 13 14:34:29 2011 From: josh.davenport at myfairpoint.net (Josh Davenport) Date: Fri, 13 May 2011 17:34:29 -0400 Subject: Register custom function Message-ID: <718D3AEB-E04A-4753-ADFE-3FFE152E4CCD@myfairpoint.net> The follow custom function works fine when entered in the Custom Fuctions User List, but fails when registered using registerfunction Any thoughts? From the Custom Functions User LIst - this works TEST() ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract")) And the statement registerfunction "","TEST(",0,{ ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract"))} From dthmpsn1 at illinois.edu Fri May 13 18:46:52 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 13 May 2011 20:46:52 -0500 (CDT) Subject: Register custom function In-Reply-To: <718D3AEB-E04A-4753-ADFE-3FFE152E4CCD@myfairpoint.net> References: <718D3AEB-E04A-4753-ADFE-3FFE152E4CCD@myfairpoint.net> Message-ID: <20110513204652.CQV32488@expms1.cites.uiuc.edu> >The follow custom function works fine when entered in the Custom Fuctions User List, but fails when registered using registerfunction > >Any thoughts? > >From the Custom Functions User LIst - this works >TEST() > >?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract")) > > >And the statement > >registerfunction "","TEST(",0,{ ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract"))} > Believe it or not, the formula should not be quoted, so you should remove those enclosing {braces}. Also, you need to make sure that any variables in that formula are declared *before* the registerfunction statement. Dave From dthmpsn1 at illinois.edu Fri May 13 20:11:23 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 13 May 2011 22:11:23 -0500 (CDT) Subject: Register custom function In-Reply-To: <20110513204652.CQV32488@expms1.cites.uiuc.edu> References: <718D3AEB-E04A-4753-ADFE-3FFE152E4CCD@myfairpoint.net> <20110513204652.CQV32488@expms1.cites.uiuc.edu> Message-ID: <20110513221123.CQV33777@expms1.cites.uiuc.edu> >>registerfunction "","TEST(",0,{ ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract"))} >> > > Also, you need to make sure that any variables in that formula are declared *before* the registerfunction statement. > >Dave I just now realized that those variables were all the target of assign( functions, so my caution about declaring them first doesn't apply here. Dave From josh.davenport at myfairpoint.net Sat May 14 18:30:13 2011 From: josh.davenport at myfairpoint.net (Josh Davenport) Date: Sat, 14 May 2011 21:30:13 -0400 Subject: Register custom function In-Reply-To: <20110513204652.CQV32488@expms1.cites.uiuc.edu> References: <718D3AEB-E04A-4753-ADFE-3FFE152E4CCD@myfairpoint.net> <20110513204652.CQV32488@expms1.cites.uiuc.edu> Message-ID: Thanks Dave, Opens up a whole bunch of possibilities to register the function in a procedure. Josh On May 13, 2011, at 9:46 PM, David Thompson wrote: >> The follow custom function works fine when entered in the Custom Fuctions User List, but fails when registered using registerfunction >> >> Any thoughts? >> >> From the Custom Functions User LIst - this works >> TEST() >> >> ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract")) >> >> >> And the statement >> >> registerfunction "","TEST(",0,{ ?(false(), assign(array(import(),1,?), "vAnalyteName")+assign(array(import(),2,?), "vAnalyteType")+assign(array(import(),3,?), "vCell3")+assign(array(import(),4,?), "vCell4"),assign(import(), "vLineExtract"))} >> > > Believe it or not, the formula should not be quoted, so you should remove those enclosing {braces}. Also, you need to make sure that any variables in that formula are declared *before* the registerfunction statement. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From audax at wideband.net.au Sun May 15 01:21:51 2011 From: audax at wideband.net.au (Michael Kellock) Date: Sun, 15 May 2011 18:21:51 +1000 Subject: .DS_Store files on a PC Message-ID: <323781B8-E930-4C27-8780-D567919B46F9@wideband.net.au> Is it possible to have the Platform Converter modified so that it deletes all .DS_Store files on the PC? It can be a real pain deleting dozens of them. michael From artdoc at calweb.com Sun May 15 11:33:31 2011 From: artdoc at calweb.com (Steve Tyron) Date: Sun, 15 May 2011 11:33:31 -0700 Subject: Charting info not going as expected Message-ID: <4DD01C7B.3020606@calweb.com> I have 450 records showing a membership list grouped into several Categories. I sort by Category, then Group Up, then Count, then display only the summary lines with numbers of records. When I set up a graph (a pie chart is what I want, but a graph would be okay too), I get a chance to choose the X-Y options and all I end up with is a message that I need to supply numeric data! Well, viewing the Data sheet shows only the numeric counts of Categories, but my choices in the charting window list only the text fields, and charting fails. Oddly, if I make the ZIP code one axis I actually do get a pie chart but with labels that mean nothing. What am I failing to do? Thanks, Steve From conable.1 at osu.edu Sun May 15 12:47:38 2011 From: conable.1 at osu.edu (William Conable) Date: Sun, 15 May 2011 12:47:38 -0700 Subject: Charting info not going as expected In-Reply-To: <4DD01C7B.3020606@calweb.com> References: <4DD01C7B.3020606@calweb.com> Message-ID: <4DD02DDA.5020406@osu.edu> An HTML attachment was scrubbed... URL: From ronald.southwick at tojfarm.com Sun May 15 13:27:47 2011 From: ronald.southwick at tojfarm.com (ronald.southwick) Date: Sun, 15 May 2011 16:27:47 -0400 Subject: Charting info not going as expected In-Reply-To: <4DD01C7B.3020606@calweb.com> References: <4DD01C7B.3020606@calweb.com> Message-ID: <4DD03743.1000105@tojfarm.com> After doing your summary, do a SAVEAS to a new file, remove data detail, keeping your summary info, and change the category information to a number field. I think the chart is seeing a text category field even though you are only displaying summary "numbers". Ron Steve Tyron wrote: > I have 450 records showing a membership list grouped into several > Categories. > > I sort by Category, then Group Up, then Count, then display only the > summary lines with numbers of records. > > When I set up a graph (a pie chart is what I want, but a graph would be > okay too), I get a chance to choose the X-Y options and all I end up > with is a message that I need to supply numeric data! Well, viewing the > Data sheet shows only the numeric counts of Categories, but my choices > in the charting window list only the text fields, and charting fails. > Oddly, if I make the ZIP code one axis I actually do get a pie chart but > with labels that mean nothing. > > What am I failing to do? > > Thanks, > > Steve > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > From ronald.southwick at tojfarm.com Sun May 15 13:52:27 2011 From: ronald.southwick at tojfarm.com (ronald.southwick) Date: Sun, 15 May 2011 16:52:27 -0400 Subject: Charting info not going as expected In-Reply-To: <4DD03743.1000105@tojfarm.com> References: <4DD01C7B.3020606@calweb.com> <4DD03743.1000105@tojfarm.com> Message-ID: <4DD03D0B.8070008@tojfarm.com> I just re-read your email and realize this will not solve your problem. Are you grouping on the category and counting the zip codes? It seems like that should give you numbers and text labels. Ron ronald.southwick wrote: > After doing your summary, do a SAVEAS to a new file, remove data detail, > keeping your summary info, and change the category information to a > number field. > > I think the chart is seeing a text category field even though you are > only displaying summary "numbers". > > Ron > > Steve Tyron wrote: >> I have 450 records showing a membership list grouped into several >> Categories. >> >> I sort by Category, then Group Up, then Count, then display only the >> summary lines with numbers of records. >> >> When I set up a graph (a pie chart is what I want, but a graph would >> be okay too), I get a chance to choose the X-Y options and all I end >> up with is a message that I need to supply numeric data! Well, viewing >> the Data sheet shows only the numeric counts of Categories, but my >> choices in the charting window list only the text fields, and charting >> fails. Oddly, if I make the ZIP code one axis I actually do get a pie >> chart but with labels that mean nothing. >> >> What am I failing to do? >> >> Thanks, >> >> Steve >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> >> > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > From artdoc at calweb.com Sun May 15 14:29:21 2011 From: artdoc at calweb.com (Steve Tyron) Date: Sun, 15 May 2011 14:29:21 -0700 Subject: Charting info not going as expected In-Reply-To: <4DD03743.1000105@tojfarm.com> References: <4DD01C7B.3020606@calweb.com> <4DD03743.1000105@tojfarm.com> Message-ID: <4DD045B1.70909@calweb.com> On 5/15/11 1:27 PM, ronald.southwick wrote: > I think the chart is seeing a text category field even though you are > only displaying summary "numbers". I went to the trouble of adding a number field to fill with the numeric data from my text grouping/counting. Yes, now I can build a chart, but not really useful. I somehow expected some elegant text labels (from my text Category info) to identify graphic comparisons. Not happening. I'm just killing some time on a rainy afternoon and thought I'd add something to a database I've built. Experimental effort only, and it seems too much bother to incorporate via a procedure. My customer would just be confused! But thanks for the suggestions, Steve From skane-l at skaneco.com Mon May 16 14:45:10 2011 From: skane-l at skaneco.com (Steve Kane) Date: Mon, 16 May 2011 16:45:10 -0500 Subject: pasting text and graphics into a field or SO Message-ID: Am I correct that pasting text *and* graphics together into a field or SO cannot be done? Say I'm looking at an article on a web page or in a pdf or other document. Select some text and graphics and copy them from that page. Can this be pasted into a Panorama field or SO so that both the text and graphic are retained? I just tried pasting into a WordProcessor SO and the text appeared in the WPSO but the graphic did not. Is there another way? Thanks. From jim at provue.com Mon May 16 15:47:03 2011 From: jim at provue.com (James Rea) Date: Mon, 16 May 2011 15:47:03 -0700 Subject: pasting text and graphics into a field or SO In-Reply-To: Message-ID: On 5/16/11 at 2:45 PM, skane-l at skaneco.com (Steve Kane) wrote: >Am I correct that pasting text *and* graphics together into a >field or SO cannot be done? That's correct. Jim From wakapuaka at gmail.com Tue May 17 03:56:19 2011 From: wakapuaka at gmail.com (Daniel Springett) Date: Tue, 17 May 2011 18:56:19 +0800 Subject: opens or pops up the SupplierCodes Message-ID: Hello Newbie alert :) Am trying out Panorama 6 OSX 10.6.7 Right I have three databases and their (forms) Products (Product Entry) Suppliers (Suppliers) SuppliersCodes (Supplier Codes) What I have been trying to do is create a button (procedure?) on the form (Suppliers) that opens or pops up the SupplierCodes form (Supplier Codes) This is not as simple as I had hoped :( Tried various methods and nothing happens. I can't even make what should be a simple Procedure to open a window. Could someone point me in the right direction please? Or let me know the correct code so i can at least get started. I am starting to feel very stupid. Kind regards Daniel Springett From dthmpsn1 at illinois.edu Tue May 17 09:36:06 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 17 May 2011 11:36:06 -0500 (CDT) Subject: opens or pops up the SupplierCodes In-Reply-To: References: Message-ID: <20110517113606.CQX18946@expms1.cites.uiuc.edu> >Newbie alert :) >Am trying out Panorama 6 >OSX 10.6.7 > >Right I have three databases and their (forms) >Products (Product Entry) >Suppliers (Suppliers) >SuppliersCodes (Supplier Codes) > >What I have been trying to do is create a button (procedure?) on the form (Suppliers) that opens or pops up the SupplierCodes form (Supplier Codes) > >This is not as simple as I had hoped :( > >Tried various methods and nothing happens. >I can't even make what should be a simple Procedure to open a window. > >Could someone point me in the right direction please? >Or let me know the correct code so i can at least get started. >I am starting to feel very stupid. > If the databases are in the same folder, the simplest would be OpenFile "SuppliersCodes" GoForm "Supplier Codes" Then you could add a ZoomWindow statement to size and position the window where you want it. There are more complicated procedures that will produce more attractive results, but you said you're a newbie, so I figure you're looking for the simplest. Dave From operations at redhouserecords.com Tue May 17 10:40:31 2011 From: operations at redhouserecords.com (C W Frymire) Date: Tue, 17 May 2011 12:40:31 -0500 Subject: Procedure corruption Message-ID: <603A21D4-68DA-42D3-BBF6-6F4AB72D0140@redhouserecords.com> I've been working on a posting procedure in a shared database, the last task was to add some user feedback on the number of records being processed. I added a new variable to the procedure, put in code to define it and added a showvariables "" command. I then switched to a form and added a text display super object to the form, put in the code to display my variable along with some text. When switching out of design mode, my form displays "undefined variable", which I expected since the variable is defined by the procedure when run. BUT, upon switching back to my procedure I find that it has been corrupted, it is now the code from a different procedure and the text is full of strange optional characters. Reverting to saved does not fix, but downloading the server version does restore me to the previous state. All my other procedures in the db are unaffected, just the one I've been working on. I've repeated this cycle three times now........ I've saved the db and checked the procedure prior to switching to the form, but when I switch back it is corrupted. Any ideas? Thanks! Chris From designer at quickdata.com Tue May 17 11:24:42 2011 From: designer at quickdata.com (designer at quickdata.com) Date: Tue, 17 May 2011 11:24:42 -0700 Subject: opens or pops up the SupplierCodes In-Reply-To: References: Message-ID: <20110517182442.41255.qmail@domainmail.macconnect.com> David, What do you want to do with the code, how many do you have, how often do they change. Learning to do what you asked can be valuable and I'm sure someone will give directions. I'm at "work" now can can't use Panorama to give explicit step-by-step. But of concern to me is perhaps pushing button to bring up codes is not the best design for what you want to accomplish. There might be another way - like displaying the suppliers and their codes in a List control so they can be selected/chosen from that list by clicking on them. Given a starting situation, what do you see as a "final" situation after the window you asked about comes up? I would have expected your suppliers and supplier code to be in the same database. Paul QuickData Daniel Springett writes: > Hello > > Newbie alert :) > Am trying out Panorama 6 > OSX 10.6.7 > > Right I have three databases and their (forms) > Products (Product Entry) > Suppliers (Suppliers) > SuppliersCodes (Supplier Codes) > > What I have been trying to do is create a button (procedure?) on the form (Suppliers) that opens or pops up the SupplierCodes form (Supplier Codes) > > This is not as simple as I had hoped :( > > Tried various methods and nothing happens. > I can't even make what should be a simple Procedure to open a window. > > Could someone point me in the right direction please? > Or let me know the correct code so i can at least get started. > I am starting to feel very stupid. > > Kind regards > Daniel Springett > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Tue May 17 12:15:42 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 17 May 2011 14:15:42 -0500 (CDT) Subject: Procedure corruption In-Reply-To: <603A21D4-68DA-42D3-BBF6-6F4AB72D0140@redhouserecords.com> References: <603A21D4-68DA-42D3-BBF6-6F4AB72D0140@redhouserecords.com> Message-ID: <20110517141542.CQX31293@expms1.cites.uiuc.edu> ---- Original message ---- >Date: Tue, 17 May 2011 12:40:31 -0500 >From: C W Frymire >Subject: Procedure corruption >To: List Provue > >I've been working on a posting procedure in a shared database, the >last task was to add some user feedback on the number of records being >processed. > >I added a new variable to the procedure, put in code to define it and >added a showvariables "" command. > >I then switched to a form and added a text display super object to the >form, put in the code to display my variable along with some text. >When switching out of design mode, my form displays "undefined >variable", which I expected since the variable is defined by the >procedure when run. > >BUT, upon switching back to my procedure I find that it has been >corrupted, it is now the code from a different procedure and the text >is full of strange optional characters. Reverting to saved does not >fix, but downloading the server version does restore me to the >previous state. All my other procedures in the db are unaffected, >just the one I've been working on. I've repeated this cycle three >times now........ I've saved the db and checked the procedure prior >to switching to the form, but when I switch back it is corrupted. > How long is your procedure? What you are describing sounds like the sort of thing that happens if the text of your procedure gets to be more than 32K in length. Dave From operations at redhouserecords.com Tue May 17 12:48:23 2011 From: operations at redhouserecords.com (C W Frymire) Date: Tue, 17 May 2011 14:48:23 -0500 Subject: Procedure corruption In-Reply-To: <20110517141542.CQX31293@expms1.cites.uiuc.edu> References: <603A21D4-68DA-42D3-BBF6-6F4AB72D0140@redhouserecords.com> <20110517141542.CQX31293@expms1.cites.uiuc.edu> Message-ID: <6D8211FB-A5E9-4D3A-A636-16D4725EF86F@redhouserecords.com> It's pretty long.... the text pasted into a text file and saved creates only a 20k file however. I'll trim some comments and see if that makes a difference. On May 17, 2011, at 2:15 PM, David Thompson wrote: > > > ---- Original message ---- >> Date: Tue, 17 May 2011 12:40:31 -0500 >> From: C W Frymire >> Subject: Procedure corruption >> To: List Provue >> >> I've been working on a posting procedure in a shared database, the >> last task was to add some user feedback on the number of records >> being >> processed. >> >> I added a new variable to the procedure, put in code to define it >> and >> added a showvariables "" command. >> >> I then switched to a form and added a text display super object to >> the >> form, put in the code to display my variable along with some text. >> When switching out of design mode, my form displays "undefined >> variable", which I expected since the variable is defined by the >> procedure when run. >> >> BUT, upon switching back to my procedure I find that it has been >> corrupted, it is now the code from a different procedure and the text >> is full of strange optional characters. Reverting to saved does not >> fix, but downloading the server version does restore me to the >> previous state. All my other procedures in the db are unaffected, >> just the one I've been working on. I've repeated this cycle three >> times now........ I've saved the db and checked the procedure prior >> to switching to the form, but when I switch back it is corrupted. >> > > How long is your procedure? What you are describing sounds like the > sort of thing that > happens if the text of your procedure gets to be more than 32K in > length. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From jeff_gold at state.ga.weo.us Tue May 17 13:47:01 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Tue, 17 May 2011 16:47:01 -0400 Subject: Set statement. Message-ID: How do I use the "Set" statement (or something different) to add something onto an existing variable where the name of the variable is not predefined, but rather, is contained in another variable. I already know how to do this... Local variable1,variable2,variable3 Local MyVariableName MyVariableName = "variable2" Set MyVariableName,"apple" The above sets variable2 to "apple". But what if I want to *add* "apple" to the end of what is currently stored in variable2 instead of replacing the current value? How do I reference the current value in the variable specified in the first half of the Set statement? I can't seem to figure out how to do this, if it is even possible. Any ideas? - Jeff From cdpublishing at qwestoffice.net Tue May 17 14:07:09 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Tue, 17 May 2011 14:07:09 -0700 Subject: Set statement. In-Reply-To: References: Message-ID: <0FFEFC21-BE5A-435C-8015-57438F4DDF3C@qwestoffice.net> Set MyVariableName, MyVariableName+"apple" or MyVariableName=MyVariableName+"apple" ? Craig McPherson On May 17, 2011, at 1:47 PM, Jeff Gold wrote: > How do I use the "Set" statement (or something different) to add something onto an existing variable where the name of the variable is not predefined, but rather, is contained in another variable. I already know how to do this... > > > Local variable1,variable2,variable3 > Local MyVariableName > > MyVariableName = "variable2" > > Set MyVariableName,"apple" > > > The above sets variable2 to "apple". > > But what if I want to *add* "apple" to the end of what is currently stored in variable2 instead of replacing the current value? How do I reference the current value in the variable specified in the first half of the Set statement? I can't seem to figure out how to do this, if it is even possible. Any ideas? > > - Jeff > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jeff_gold at state.ga.weo.us Tue May 17 14:30:48 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Tue, 17 May 2011 17:30:48 -0400 Subject: Set statement. In-Reply-To: <0FFEFC21-BE5A-435C-8015-57438F4DDF3C@qwestoffice.net> References: <0FFEFC21-BE5A-435C-8015-57438F4DDF3C@qwestoffice.net> Message-ID: <6A1C2CF2-7329-49FC-8C71-0DEF3CC72B3A@state.ga.weo.us> That won't work because MyVariableName contains the name of the variable to be set, but isn't the variable name itself. I think I found a way to do it by also incorporating the DataValue() function which I just learned about today. I'm giving it a try now... - Jeff On May 17, 2011, at 5:0709 PM, Craig McPherson wrote: > Set MyVariableName, MyVariableName+"apple" > or > MyVariableName=MyVariableName+"apple" > ? > Craig McPherson From cdpublishing at qwestoffice.net Tue May 17 14:40:36 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Tue, 17 May 2011 14:40:36 -0700 Subject: Set statement. In-Reply-To: <6A1C2CF2-7329-49FC-8C71-0DEF3CC72B3A@state.ga.weo.us> References: <0FFEFC21-BE5A-435C-8015-57438F4DDF3C@qwestoffice.net> <6A1C2CF2-7329-49FC-8C71-0DEF3CC72B3A@state.ga.weo.us> Message-ID: <7D8B9094-FE66-4901-92BC-2A6C066298CB@qwestoffice.net> I just tried this using two procedures and had no problem... fileglobal myVar myVar=myVar IF ERROR gettext "Set myVar",myVar // I entered 'CMcP' at this prompt showvariables myVar ENDIF message "myVar is "+myVar and second procedure to add 'apple' as follows: myVar=myVar+"apple" showvariables myVar message "myVar is now "+myVar running one after the other produces something like CMcPappleappleapple after the third iteration of the second procedure... Isn't that what you wanted? Craig McPherson On May 17, 2011, at 2:30 PM, Jeff Gold wrote: > That won't work because MyVariableName contains the name of the variable to be set, but isn't the variable name itself. > > I think I found a way to do it by also incorporating the DataValue() function which I just learned about today. I'm giving it a try now... > > - Jeff > > > On May 17, 2011, at 5:0709 PM, Craig McPherson wrote: > >> Set MyVariableName, MyVariableName+"apple" >> or >> MyVariableName=MyVariableName+"apple" >> ? >> Craig McPherson > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Tue May 17 15:40:41 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 17 May 2011 17:40:41 -0500 (CDT) Subject: Set statement. In-Reply-To: References: Message-ID: <20110517174041.CQX45084@expms1.cites.uiuc.edu> >How do I use the "Set" statement (or something different) to add something onto an existing variable where the name of the variable is not predefined, but rather, is contained in another variable. I already know how to do this... > > >Local variable1,variable2,variable3 >Local MyVariableName > >MyVariableName = "variable2" > >Set MyVariableName,"apple" > > >The above sets variable2 to "apple". > >But what if I want to *add* "apple" to the end of what is currently stored in variable2 instead of replacing the current value? How do I reference the current value in the variable specified in the first half of the Set statement? I can't seem to figure out how to do this, if it is even possible. Any ideas? > Set MyVariableName, datavalue(MyVariableName)+"apple" Dave From cwfrymire at modernminstrel.com Tue May 17 18:49:58 2011 From: cwfrymire at modernminstrel.com (Chris Frymire) Date: Tue, 17 May 2011 20:49:58 -0500 Subject: Procedure corruption In-Reply-To: <20110517141542.CQX31293@expms1.cites.uiuc.edu> Message-ID: Thanks Dave! This was the problem..... On 5/17/11 2:15 PM, "David Thompson" wrote: > > > ---- Original message ---- >> Date: Tue, 17 May 2011 12:40:31 -0500 >> From: C W Frymire >> Subject: Procedure corruption >> To: List Provue >> >> I've been working on a posting procedure in a shared database, the >> last task was to add some user feedback on the number of records being >> processed. >> >> I added a new variable to the procedure, put in code to define it and >> added a showvariables "" command. >> >> I then switched to a form and added a text display super object to the >> form, put in the code to display my variable along with some text. >> When switching out of design mode, my form displays "undefined >> variable", which I expected since the variable is defined by the >> procedure when run. >> >> BUT, upon switching back to my procedure I find that it has been >> corrupted, it is now the code from a different procedure and the text >> is full of strange optional characters. Reverting to saved does not >> fix, but downloading the server version does restore me to the >> previous state. All my other procedures in the db are unaffected, >> just the one I've been working on. I've repeated this cycle three >> times now........ I've saved the db and checked the procedure prior >> to switching to the form, but when I switch back it is corrupted. >> > > How long is your procedure? What you are describing sounds like the sort of > thing that > happens if the text of your procedure gets to be more than 32K in length. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna Chris Frymire Modern Minstrel Mixing PO Box 19112 Minneapolis, MN 55419 cwfrymire at modernminstrel.com From BillArleneBush at cs.com Wed May 18 08:54:24 2011 From: BillArleneBush at cs.com (BillArleneBush at cs.com) Date: Wed, 18 May 2011 11:54:24 -0400 (EDT) Subject: Set statement Message-ID: <825c.a164459.3b0545b0@cs.com> Instead of Set use executeLocal MyVariableName+{="apple"+" "+}+MyVariableName Bill Bush In a message dated 5/17/11 1:48:1 PM, qna-request at provue.com writes: << How do I use the "Set" statement (or something different) to add something onto an existing variable where the name of the variable is not predefined, but rather, is contained in another variable. I already know how to do this... Local variable1,variable2,variable3 Local MyVariableName MyVariableName = "variable2" Set MyVariableName,"apple" The above sets variable2 to "apple". But what if I want to *add* "apple" to the end of what is currently stored in variable2 instead of replacing the current value? How do I reference the current value in the variable specified in the first half of the Set statement? I can't seem to figure out how to do this, if it is even possible. Any ideas? >> From botengapanorama at gmail.com Wed May 18 09:19:56 2011 From: botengapanorama at gmail.com (dr. A.S.J. Botenga) Date: Wed, 18 May 2011 18:19:56 +0200 Subject: question Message-ID: > In Panorama 5 (my version 5.5.2) there are some errors as compared with previous versions. Since these are basic these are probably already discussed here and missed by me. May I give some examples. > > When you try to change identical numbers in a numeric field into empty cells the order is not only not carried out but also a window appears "100 occurences of text located and changed.", adding "Replace Entire Words Only" making no difference. In previous Panorama's the statement change "x" ""words or a similar choice from the menu was normally carried out. > > The next example requires some explication In Europe a comma is used before cents of an amount and a thousand separator is a point. We write 1.234.567,89 in stead of your 1,234,567.89. When an amount is copied or put on a local the Clipboard is showing our comma correctly (thousand separators naturally are not shown, can however be introduced in the clipboard [or local] by the function pattern) but when you transform the amount into text, the comma turns into a point. In case of a local the comma becomes immediately a point. A local is functioning still more strange when it copies an amount with thousands separators. A message produces a number that I cannot in any way relate to the original amount. Copy paste is functioning however but changing procedures in that way means a great step backwards. All these problems or faults were absent in previous versions. > > A little more disturbing is that pasteline after copying one in a procedure implies a multiplication of the amounts by hundred. More disturbing even is that after doing this in the Design Sheet the Width is multiplied by hundred. Also these faults were absent in previous versions. Apparently in most cases the comma is not recognized any more. Therefore I am curious if this problem can be solved. In copies in earlier versions of Panorama 5 I can't remember that many worsening. > > One can overcome al these problems but that takes a lot of time, patience and much extra text, in my view a bit unnecessary. > > Remarkable further, is the elimination of the HIDE function after opening a file or calling a window. Also remarkable is the prolongation of the time taken by longer procedures (example added), up to 3 times, as compared with older versions in Apple system 9 and much slower machines like the G4, so that the difference in time is actually much greater. I realize that this is partly due to the more complex system 10 of Apple > > With kind regards > > Sylvia van der Heijden HIDE local a,b,c a=datepattern(?valuta dd?,"mm") if length(a)=1 a=" "+a endif b=bedrag copyline select cb="p11`"lastrecord pasteline cb="p11`" ;copyline select cb="p11`"lastrecord pasteline cb="p11`" ;bedrag=b c= credit mutatie=c ;gettext "bedrag?saldoregul.->tijp bedrag",b message b bedrag=val(b)STOP Yesno "yes is bedrag=saldoregul., no is tijp bedrag" if clipboard()="No"gettext "tijp bedrag met . ipv ,!",b b=val(b) message b endif bedrag=b Yesno "yes is afschriftnr=, no is tijp afschrnr" if clipboard()="No"gettext "afschriftnr",c nr=c endif if debet?0 debet=0 credit=b mutatie=b else credit=0 debet=b mutatie=-b endif field opmerkingen "mp saldoreguleringen 2011" left if debet=0 "Van 25.70.46.097"else "Naar 25.70.46.097"endif left omschrijving="rc aandeelhouder 11- m"+a loop left ""until 4 clipboard()="&" call "Aut. opmaak 2006 etc. A"2007"g=r i=r j=-r ;tegenboeking afschrijvingstotaal find a=""and b="bb"r=-j find b="lb"g=r h=r j=r ;btw naar 'lb' (na total: zie 1e regel) find a=""and b="ed?"field i total r=i uprecord j=r find a=""and b="kb"uprecord i=r j=-r k=-r ;effecten kosten naar bankkosten find a=""and b="bv"s=j if s?0 find o contains"vpb"g=abs(s)h=s find b="lb'"g=abs(s)h=-s if t="10"j=-s endif endif ;vpb (bv) total->av (2010) ;VRAAG: selectiekeuze, daaran totals en start lay-out IF t="10"Yesno "minus de omvangrijke in-, verkopen?"endif if clipboard()="Yes"select x?0 endif field j total formulafill zeroblank(j)left total formulafill zeroblank(i)left total formulafill zeroblank(h) find a=""and b="ed?"j=0 find a=""and b="nm"j=0 k=0 firstrecord copyline field o find o="" "ABN AMRO"p="50.66.96.804"next "aanvangssaldo abn/amro rek."downrecord clearline pasteline insertline next "MATERI?LE VASTE ACTIVA" next if val(t)?8 "Afschrijving voltooid"next "Afschr.15% v.d. aanschaff.prijs"p="per jaar"next "Afschr.20%, Electronica 30% van"p= "de aanschaffingsprijs"q="per jaar"next "Afschr.16,7% v.d aanschaff.prijs"p="per jaar"next "Aanschafw.- >bedr.kolom; af cumu"p= "-latief ->cred.k.; afs ->"q="deb.k.;w.p.ult.->mut.k.; tegenb->la"downrecord pasteline "TE ACTIVEREN AANKOPEN"insertline next "aankopen 2008"else "te activeren (netto)"next "te activeren (statenlaan)"downrecord if b[1,1]="a" "VASTE ACTIVA 2008"endif endif downrecord pasteline insertline next if val(t)?8 "VERMOGEN"next "saldo creditkolom-> eindvermogen"p="saldo mutatiekolom ->" q={tegenboeking bij 'la'}if val(t)?9 q="tegen te boeken bij lt"endif downrecord clearline pasteline insertline next endif "OMZETBELASTING"next "btw memoriaal"q="te compenseren"next "btw bankbetalingen"next "BTW Totalen"downrecord pasteline insertline next "VENNOOTSCHAPSBELASTING"next "venn.sch.bel. per saldo credit"downrecord pasteline insertline next "EFFECTEN"next if b="ed" "waardemutatie"q="tegenboeking bij 'le'"next endif "effecten: dividend"next "effecten: belasting"next "effecten: kosten"p="Totaal is doorgeboekt" q="zie bankkosten hierna"next loop left ""until 7 b=""field o downrecord pasteline "KOSTEN"next "administratiekosten"next "adviseurs/accountancy"next "bankkosten"next if b="kb'" "beheerskosten"next endif "consignatiek. met name acquisitie"next "consignatiekosten+GM"next "diverse kosten"next "handelsregisterkosten"next if b="ki" "internetadministratie"next endif "kunsthandel aankoopkosten"next "kunsthandel expositiekosten"next "kunsthandel verkoopkosten"next "kunsthandel overige kosten"next "lidmaatschappen/contrib./lectuur"next if b="kn" "notariskosten"next endif if b="ko" "onderhoudskosten" p="expositie gedeelte"q="vervanging bijbehorende keuken"if t?"8" q="gevel en entr?e"endif next endif "proefstudie en over k (voorrd.e.d.)"next "auto 1: tankkosten en reparaties"next "auto 2: belasting en verzekering"next "auto 3: parkeren, w.w."next "boetes (auto) -> verrekend met" p="rek. courant aandeelh."next "reiskosten"next if b="ks" "schadeherstelkosten"next endif "telefoonkosten"next if b="kv" "verzek./beveil. kunst-vrrd" next endif if b="kw" "wijnverkoop e.o.kosten wijnhandel"next endif "KOSTEN TOTAAL"downrecord pasteline insertline next call ".aut. opmaak 2006 etc. B" local r,s,j2 r=0 j2=str(val(j1)-1) "LENINGEN & TEGENBOEKINGEN"next "activa/vermogen"q="NB: autom. tegenb. eindtot. activa"if t?"07" "tegenboekingen memo mut.aand.h." q=""endif next if b="la'" "rekening courant aandeelhouder"p="event. tegenboekingen"next endif "btw (+[oud] div.bel.}"p="aut. tegenb. eindst. bb" next if b="lb'" "borgsom beginsaldo tegengeb."if t?"10" "betaalde vennootschapsbelasting"p="automat. tegenb. v. bv"endif next endif if b="le" "tegenboekingen terzake effecten"next endif "lening SMvdH-1"p="stand per primo"next if b="lh'" "lening SMvdH-2"p="tegenb." next endif if b="lh`" "lening SMvdH-3"p="De Tegenboekingen"next endif "lening(en) cv kataballoo"next "rekening courant cv kataballoo" next if b="lk`" "tegenboekingen kataballoo"next endif if b="ll" "lening L.M. Wurm"q="naar overlop. passiva"next endif if b="ll'" "tegenboeking eindstand LM Wurm"next endif if b="lm" "tegenb.saldo overl. neutrale mut."next endif if b="lp" "lening Pappot"next endif if b="lp'" "lening Pappot"next endif if b="lr" "lening S.R.J. Botenga"q="naar overlopende passiva"next endif if b="lr'" "eindsaldo '09 lening s.r.j. botenga" p="tegenboeking"next endif if b="ls" "schilderijen bestand per primo"p="tegenboeking"next endif if b="lt" "alle niet automat. tegenboekingen"q= {sinds 2010 verzameld onder "lt"}next endif "wijnvoorraad per ultimo"q="NB: automatische tegenboeking"downrecord if b="nm"uprecord endif if b="lw"next "welgelegen rc mutaties"downrecord if b="nm"uprecord endif if b="lw'"next "welgelegen tegenboeking"endif endif downrecord pasteline insertline next "NEUTRALE MUTATIES"next "gecompenseerde neutr. mutaties"next if b="nm'" "nog te comp.n neutr. mut."p="'kortlopende schulden'" q="jrrek. Sp.vd E. "next endif if b="nm`"o="nog te comp. nm's "+str(val(j1))q="overlopende activa"next endif if b="nm?"o="nog te comp. nm's "+str(val(j1))q="overlopende passiva"next endif loop left ""until 7 b=""field o downrecord pasteline "REKENING COURANT POSITIE"p="AANDEELHOUDER"next "aanvangssaldo"next if b="p6'" "saldo herstellingen"p="(compromis fiscus)" next endif if b="p6," "saldo herstel mutaties"p="(corr. abus. overn.)"q="reden destijds: comp. rc schuld" next endif if b[-1,-1]="." "overnames van priv?"p="(verkoopwinst voor wa)"q="reden: past niet meer in pr coll." if val(t)?8 "bankmut. in rek. cour. <-> aand.h."p=""q=""endif next endif if b[-1,-1]=":" "priv? betalingen/tegoeden"if b="p6:"p="overname pr bet. lijst"q="zie bij cb code va'"endif if val(t)?8 "beheersfee, conform ? 5.000"endif next endif if b[-1,-1]=";" "memoriale rc mutatie"p="saldoreguleringen"q="rondpomp: ka->wa->pr->sv->ka"endif next insertline next "rc mutaties <-> mp=fortis rek."p="alleen de summary line"q="mutaties ->apart"downrecord insertline next "rc mutaties <-> abn amro rek."q="in casu de 'hg' rek."next "EINDSALDO rek.c. AANDEELH."b="pr"downrecord pasteline insertline next "RENTE"next "rente (credit)"uprecord if e<2454102 downrecord p="+later deel debet:"q="naar indeling vlg Sp.v/d E." next "rente SM vd Heijden 2005"p="niet in jaarrek. 'Post'"q="dus waarsch.(?) in jaarrek. 2005" next p="conform jaarrek. 'Post'"uprecord endif next "rente (debet)"next "RENTE SALDO"downrecord pasteline insertline next "STATENLAAN"next "borgsommen"next "huurinkomsten statenlaan 141"next if b="sk" "commissies"next endif "verbruik eneco" next "verbruik nuon e.d."next "verbruik ziggo"next "verbruik water"next "onderhoud"next "lasten" next "EXPLOITATIERESULTAAT statenl"p="creditkolom: inkomsten"q="debetkolom: kostentotaal"b=""downrecord pasteline insertline next "SCHILDERIJEN"next "inkopen->zie netto; voorraad per"p="primo->credit; mutaties"q="->debetk.;vrrd per ult.->mutatiek." next "lijsten en restauraties"next "verkochte schilderijen"q="netto WINST -> BEDRAGkolom!!"downrecord pasteline insertline next "WIJN"next "ingekochte wijn"p="automatische inbreng"q="ink.totaal 2010 zie wv'laatste regel"next "verkochte wijn"next loop left ""until 7 b=""field o downrecord pasteline "WIJNVOORRAAD"next "wijnvoorraad per primo"next "voorraadwaarde verkopen"q="netto WINST -> BEDRAGkolom!!"next "verbruik" next uprecord if o[-1;1]="4"next "bijzondere verkopen"p="zoals 'en block'"q="FORS VERLIES: zie bedragkolom"endif next "wijnaankopen"uprecord if e<2454102 downrecord p="Divers 2005"q="legendarische jaargang"r=1 endif downrecord if r?1 next endif "wijnvoorraad per ultimo" p="Tegenboeking bij lv'"q="netto WINST -> BEDRAGkolom!!"next insertline next "OVERALL TOTALEN"b=""field x formulafill seq() selectwithin a=""or b[1,1]?"p"or b[-1,-1]?"`"downrecord s=q q="" field Z deletefield formulafill b[1," "]change " " "" godesignsheet formulafill Link field Link fill ""newgeneration gosheet if s="&"call "Balans en W&V rek.y and nr[-2,-2]?"0"if info("found")y=val(y)+1 endif while info("found") loop find val(nr[1,"/"][1,-2])>z and nr[-2,-2]="0"and nr[-1,-1]?"?"if info("found")z=val(z)+1 endif while info("found") firstrecord w="t/m MP "+str(y)+" en t/m AA "+str(z) ;message w GODESIGNSHEET insertline "a"insertline "j"find Notes="e" "v"find Notes="k"copyline Find Notes="a"insertline "d"pasteline "c"Equation=""Notes="z"find Notes="j"copyline Find Notes="z"pasteline "b"Digits="Float" NEWGENERATION GOSHEET CLIPBOARD()="?" ;voor 2006 EN 2007 case j1="2006"Openfile "Wa Balans-W&V 2006" case j1="2007"Openfile "Wa Balans-W&V 2007" case j1="2008"Openfile "Wa Balans-W&V 2008"call "?",w case j1="2009"Openfile "Wa Balans-W&V 2009"call "?",w case j1?"2010"Openfile "Wa Balans-W&V"call "?",w ENDcase STOP ;NB: ingevoerd omdat dat probleem zich 1x voordeed, maar ws toch onnodig case j1="2009"find datepattern(?valuta dd?,"yy")="10"IF info("found")message {Klopt niet, eerst macro "Aut opmaak"}STOP ENDIF Openfile "Wa Balans/W&V 2009"call "?",w case j1="2010"find datepattern(?valuta dd?,"yy")="10"IF info("found")Openfile "Wa Balans/W&V"call "?",w ELSE message {Klopt niet, eerst macro "Aut opmaak"}STOP ENDIF ENDcase ;oude voorbeelden: Case vMoney in b field (Round was nodig voor bizarre 'cent' verschillen na TOTAL) ;HIDE ;DEFINITIEVE TOTALEN van b (verwijderd waar nodig) naar c kolom Find d=11 ""c=0 Find d=29 "" Find d=44 "" Find d=52 "" Find d=78 "" Find d=15 x=b ""find d=12 c=x Find d=26 x=b "" find d=16 c=x Find d=35 x=b ""find d=31 c=x Find d=40 x=b ""find d=36 c=x Find d=51 x=b ""find d=45 c=x Find d=60 x=b ""find d=57 c=x Find d=65 x=b ""find d=61 c=x Find d=70 x=b ""find d=66 c=x Find d=71 x=b ""find d=41 c=x Right SELECT d?0 TOTAL ;DEFINITIEF 'TOTAL' c kolom en LAY-OUT 1 Find d=11 "" Find d=15 "" Find d=26 "" Find d=35 "" Find d=41 x=c ""uprecord c=x Find d=44 "" Find d=51 "" Find d=60 "" Find d=65 "" Find d=70 "" left insertfield "e"formulafill pattern(b,"#.,##")change "0.00" ""words right fieldtype "text"formulafill pattern(c,"#.,##")change "0.00" ""words ;LAY-OUT 2 godesignsheet find Notes="z"clearline Width=155 uprecord Align="right"uprecord Align="right"Width=22 newgeneration gosheet find d=5 b="31-12-20"+p left "B A L A N S"find d=7 "ACTIVA "find d=30 "PASSIVA "find d=54 "W & V REK" downrecord e="20"+p+" "find d=72 "bij w&v-rek"find d=84 "bij balans"right firstrecord loop fieldname ""left until 2 a=w fieldname ""j=today()WINDOW "Wa 03-10 werkmodel" ;+2 regels hierna: minst zichtbare handelingen (na langdurige empirie) ;HERSTEL "WERKMODEL" EN WEER TERUG HIDE REVERT find cb="av"and ca=""uprecord credit=x x=0 find cb="av"loop x=x+credit next until ca=""credit=x firstrecord SHOW field ca Window "Wa Balans-W&V"SHOW field j fieldname ""message {bij antwoord "Yes" op volgende vraag wordt invoer van "resultaat" ('werkmodel', laatste regel cb=av) niet bewaard en dit ge-"revert"}Alert 1014,"controle w0, w1 en w2 ?" if info("DialogTrigger")="Yes"REVERT WINDOW "Wa 03-10 werkmodel"HIDE call "controle w0, w1,w2"endif HIDE if d?3 FIRSTrecord SAVE endif ;nodig wanneer bij wijziging van de tekst per ongeluk op een andere regel gesaved is local w,x,y,z,i,A,B,C,D,E,F,G,H,I,J,K,L,M,stb,sti,stk,ka,m1,m2,Act,Pas OPENFILE "++Wa 03-10 werkmodel"w=parameter(1) ;Clipboard()="":tegen .initialize "Bal/W&V 07"(reg.5 !) FIELD ?herkomst/bestemming?fieldname "q"FIELD bedrag fieldname "?"FIELD netto fieldname "N" ;het is de vraag of netto wel moet;jawel voor "W&V REK"-deel 2 ;EERST DE UITSPLITSING VAN SCHILDERIJEN EN WIJN -> A. SCHILDERIJEN (info ophalen) FIND cb[1,1]="v"and ca=""?=-credit x=? i=c[2,-1]B=N next B=-B-N C=x+B A=c[2,-1] find cb="vv"D=val(striptonum(q))next E=val(striptonum(q))next F=q["0-9","-0-9"]next K=str(-?)M=""if q?""M=q["0-9","-0-9"]next endif ?=-D-E-val(F)-val(M)G=str(?)H=C+? I=b J=str(-?btw+?)L=c ;B. SCHILDERIJEN (info plaatsen) Find d?85 x=str(x)c=x next c="0,00"next c=x next b=i next b=A next c=str(B)next c=str(C)next b="["+str(D)+"+"+str(E) +"+"+F+"]"if M?""b=b[1,-2]+"+"+M+"]"endif c=G next c=str(H)next c=I next c=J next c=K next c=G[2,-1] ;WIJN (info ophalen) Find cb[1,2]="wv"and ca=""i="-"+b D=c A=str(?btw+?)next x=b next z=b B=str(?)next next next y=b next C=b ;WIJN (info plaatsen) + statenlaan + "W&V REK"-deel 1 (BRUTO MARGE) + VLOTTENDE ACTIVA FIND d?105 c=x next c=y next c=z next b=i next b=A next b=B next c=C ;WIJN info plaatsen FIND cb[1,1]="s"and ca=""stb=b next sti=b loop next until 7 downrecord stk=val(b)-val(sti)-val(stb) ;huur statenlaan (aansluitend de overige st data) FIND d?73 b=sti next b=D next b=L next x=val(sti)+val(D)+val(L)b=str(x)next b=z next b=G next y=val(z)+val(G)b=str(y) ;invulling (volledig) van de sectie "bij w&v rekening" FIND d?57 A=x+y c=str(A)next b=str(x) next b=str(y) FIND d?12 ?=H+val(C)K=str(?)c=K next b=str(H)next b=C ;BRUTO MARGE W & V REK->local A / VLOTTENDE ACTIVA ;and ca?""or omschrijving[13,15]=" 3" ;"W&V REK"-deel 2 BEDRIJFSKOSTEN (+d=24 "omzetbelasting") FIND cb="af`"and ca=""next i=b L=val(b)x=-debet find d?9 c=i next b=i ;VASTE ACTIVA (local L) -> d9 en d10 SELECT cb[1,1]="k"or omschrijving[13,15]=" 3"lastrecord y=val(b)uprecord y=y+N+stk Selectall ;"overige bedrijfskosten"NB: per 30 jan 2011+verbruik [vw'3] FIND cb[1,2]="bb"and ca=""uprecord z=b next next next H=-val(b)find d=24 b=str(H) ;pr gebr. auto (local z) en OB (local H) -> 24 FIND d?61 B=x+y-val(z)c=str(B)next b=str(x)next b=str(y)next b="-"+z ;BEDRIJFSKOSTEN (61 t/m 64) ;"W&V REK"-deel 3 en "Resultaat" FIND cb[1,2]="ed"and ca=""G=credit z=val(b) next x=val(b)next F=-val(b) ;effecten: per primo (G), stijging(z), dividend (y) en belasting (F) FIND cb[1,1]="r"and ca=""x=x+val(b)next y=val(b)FIND cb="lw"and ca=""D=b i=val(c)find d=19 b=D ;r+/dividend (y), r- (H) en we bedragen (D en I) FIND d?66 C=x+y+i c=str(C)next b=str(x)next b=str(y)next next b=str(i)next A=A+B+C c=str(A) ;2010: Geen waardestijg eff! (alleen hier z verwijderd, maar 2 reg. hierb. nog ongewijzigd) ;BEDRIJFSRESULTAAT (66 t/m 69) en Resultaat (A t/m C) ;de ACTIVA tot "loop" vorderingen (b kolom) daarna (zeer kort) de totalisatie FIND cb[1,2]="lk"and ca=""B=-val(b)next ka=b I=""if ka[1,1]="-"I=ka ka=""endif FIND cb="lp"and ca=""C=-val(b) FIND ca=""and cb contains"nm"and cb?"nm"m1=b[2,-1]next m2=val(b) FIND cb="pr"E=-val(b) ;info ophaal FIND d?16 ?=B+C+val(D)+E+F+G+H-val(I)c=str(?)J=? next b=str(B)next b=str(C)next next b=str(E)next b=str(F) next b=str(G)next b=I[2,-1]next next b=m1 next next next ?=L+val(K)+J+val(m1)c=str(?)Act=c ;Vorderingen (B t/m H) en ACTIVA totaal ;PASSIVA 1 vermogen FIND cb="av"x=b next y=b next z=b next if b[1,2]="13"z=z+b next endif i=b I=0 loop next I=I+val(b)until 2 FIND cb="bv"and ca=""J=b ;ophaal uit Werkmodel" FIND d?32 ?=val(x)+val(y)+val(z)c=str(?)next b=x next b=y next b=z FIND d?36 ?=val(i)+I+val(J)c=str(?)next b=i next b=str(I)next b=J ;invoer in de Balans ;PASSIVA 2 het opzoeken van de overige bedragen) FIND cb="lh"and ca=""B=b F=b Lastrecord C=-val(b)FIND cb="ll"and ca=""D=val(b)FIND cb="lr"and ca="" D=D+val(b)+m2 FIND d=32 H=c FIND d=36 G=c ;D=D+val(b) FIND cb="nm?"and ca=""D=D+val(c)FIND d=32 H=c FIND d=36 G=c ;PASSIVA 3 het invullen van overige de bedragen FIND d?40 c=str(A)next c=F next b=B next ?=C+val(ka)+val(stb)+val(D)c=str(?)E=val(c) next b=str(C) next b=str(ka)next b=stb next b=str(D)next ?=val(H)+val(G)+A+val(F)+E c=str(?) ;Resultaat(A), SCHULDEN: lang(B), kort(C,ka,stb,D), PASSIVA (H,G,A,F,E) FIELD c formulafill ?(val(c["0-9","-0-9"])and d?5,pattern(val(c),"#.,##"),c) firstrecord LEFT formulafill ?(val(b["0-9","-0-9"])and b[-5,-2]?" 200"and d?55 and d?86 and d?93 and d?0,pattern(val(b),"#.,##"),b)RIGHT LOOP fieldname ""left until 2 a=w fieldname ""SHOW field j j=today()fieldname "" HERSTEL: punctaties: change "." ""left change "." "" ;HERSTEL "WERKMODEL" EN WEER TERUG SELECT seq()<128 Openfile "Wa 03-10 werkmodel"REVERT call ".Verm",A Window "Wa Balans-W&V 2010 +specific." ;Afdrukkeuzen: 1 of 2 pagina's en daarna de keuze van alleen p1 of doorgaan met p2 noyes "het hele print-ritueel?"if clipboard()="No"STOP endif yesno "compleet? anders in 2 delen"if clipboard()="Yes"message "57%" pagesetup print dialog else godesignsheet Width=12 newgeneration gosheet message "83%"pagesetup message "van 1 tot 1" print dialog yesno "stoppen? anders pag 2"if clipboard()="No"selectwithin seq()>87 message "van 1 tot 1"print dialog endif endif -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff_gold at state.ga.weo.us Wed May 18 09:24:31 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Wed, 18 May 2011 12:24:31 -0400 Subject: Set statement In-Reply-To: <825c.a164459.3b0545b0@cs.com> References: <825c.a164459.3b0545b0@cs.com> Message-ID: <8DF6E225-D183-4AE3-B639-0ECDD7C3D440@state.ga.weo.us> I love the fact that with Panorama there is *always* a command or option to do whatever you are trying to do, and usually there are several different commands to help you accomplish the task. Thanks for the suggestion, Bill. - Jeff On May 18, 2011, at 11:5424 AM, BillArleneBush at cs.com wrote: > Instead of Set use > executeLocal MyVariableName+{="apple"+" "+}+MyVariableName > > Bill Bush From samrutherford at musiccitymetals.net Wed May 18 11:14:07 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Wed, 18 May 2011 13:14:07 -0500 Subject: runtime error in call( procedure Message-ID: <7D830BA1-7B89-4F9D-BB4A-19391F09C88B@musiccitymetals.net> If I do a formulafill command, and copy this arrayfilter(lookup('modelinfo', 'bm', bm, 'items', '', 0), chr(44), {?(lookup('item', 'item', import(), 'category', '', 0) = 'burner', import(), '')}) into the dialog, my field is filled the way I want. But this procedure: local type type = 'burner' formulafill arrayfilter(lookup('modelinfo', 'bm', bm, 'items', '', 0), chr(44), {?(lookup('item', 'item', import(), 'category', '', 0) = type, import(), '')}) produces 'runtime error in call( procedure' The only difference I can see is that in the procedure, I used a variable called type in place of a literal value in the formula in the arrayfilter function. (The value was 'burner' in the first instance, a variable called type set equal to 'burner' in the second.) Why should I get this error? ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From jim at provue.com Wed May 18 13:31:02 2011 From: jim at provue.com (James Rea) Date: Wed, 18 May 2011 13:31:02 -0700 Subject: runtime error in call( procedure In-Reply-To: <7D830BA1-7B89-4F9D-BB4A-19391F09C88B@musiccitymetals.net> Message-ID: On 5/18/11 at 11:14 AM, samrutherford at musiccitymetals.net (Sam Rutherford) wrote: >The only difference I can see is that in the procedure, I used >a variable called type in place of a literal value in the >formula in the arrayfilter function. (The value was 'burner' in >the first instance, a variable called type set equal to >'burner' in the second.) > >Why should I get this error? You almost got it. Your local variable is not accessible in this context. You'll need to use a fileglobal or global variable, or use the literal value. Jim From dthmpsn1 at illinois.edu Wed May 18 13:31:00 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 18 May 2011 15:31:00 -0500 (CDT) Subject: runtime error in call( procedure In-Reply-To: <7D830BA1-7B89-4F9D-BB4A-19391F09C88B@musiccitymetals.net> References: <7D830BA1-7B89-4F9D-BB4A-19391F09C88B@musiccitymetals.net> Message-ID: <20110518153100.CQY15929@expms1.cites.uiuc.edu> >If I do a formulafill command, and copy this > arrayfilter(lookup('modelinfo', 'bm', bm, 'items', '', 0), chr(44), {?(lookup('item', 'item', import(), 'category', '', 0) = 'burner', import(), '')}) > into the dialog, >my field is filled the way I want. > >But this procedure: > local type > type = 'burner' > formulafill arrayfilter(lookup('modelinfo', 'bm', bm, 'items', '', 0), chr(44), {? (lookup('item', 'item', import(), 'category', '', 0) = type, import(), '')}) >produces 'runtime error in call( procedure' > >The only difference I can see is that in the procedure, I used a variable called type in place of a literal value in the formula in the arrayfilter function. (The value was 'burner' in the first instance, a variable called type set equal to 'burner' in the second.) > >Why should I get this error? > The way that this custom function is implemented, you can't use a local variable as part of the arrayfilter( formula. If it must be a variable, it will have to be a WindowGlobal, FileGlobal or Global. Dave From samrutherford at musiccitymetals.net Wed May 18 15:11:30 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Wed, 18 May 2011 17:11:30 -0500 Subject: runtime error in call( procedure In-Reply-To: References: Message-ID: <8E3E0BA6-594A-4A0E-92A0-2337BBD2B767@musiccitymetals.net> You learn something everyday! Thanks to you and to David Thompson. Probably something that should be added to the Reference file. Are there any other functions you can't use a local variable with? Sam ________________________________________________________________ On May 18, 2011, at 3:31 PM, James Rea wrote: > On 5/18/11 at 11:14 AM, samrutherford at musiccitymetals.net (Sam Rutherford) wrote: > >> The only difference I can see is that in the procedure, I used a variable called type in place of a literal value in the formula in the arrayfilter function. (The value was 'burner' in the first instance, a variable called type set equal to 'burner' in the second.) >> >> Why should I get this error? > > You almost got it. Your local variable is not accessible in this context. You'll need to use a fileglobal or global variable, or use the literal value. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From jeff_gold at state.ga.weo.us Wed May 18 18:20:48 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Wed, 18 May 2011 21:20:48 -0400 Subject: Saving text documents with Smart Quotes. Message-ID: <48419C69-9F57-450D-8B42-A0B3FA4571E7@state.ga.weo.us> I am using Panorama to create and save files using its "FileSave" command. I've noticed that when data to be saved contains smart quotes (? and ?) these get saved instead as (? and ?). Is there a way that Panorama can save a file with the same character set it uses internally, so the smart quotes are saved properly? - Jeff From dthmpsn1 at illinois.edu Wed May 18 19:40:11 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 18 May 2011 21:40:11 -0500 (CDT) Subject: Saving text documents with Smart Quotes. In-Reply-To: <48419C69-9F57-450D-8B42-A0B3FA4571E7@state.ga.weo.us> References: <48419C69-9F57-450D-8B42-A0B3FA4571E7@state.ga.weo.us> Message-ID: <20110518214011.CQY30574@expms1.cites.uiuc.edu> >I am using Panorama to create and save files using its "FileSave" command. > >I've noticed that when data to be saved contains smart quotes (? and ?) these get saved instead as (? and ?). > >Is there a way that Panorama can save a file with the same character set it uses internally, so the smart quotes are saved properly? > That's actually what it's doing. The problem is that the application that opens the file doesn't know which character set is in use, and is assuming a different one. What you need to do, is to use replacemultiple( to replace characters 210 and 211 (the Macintosh smart quotes) with characters 147 and 148 (the Windows smart quotes.) Dave From dthmpsn1 at illinois.edu Thu May 19 08:21:52 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 19 May 2011 10:21:52 -0500 (CDT) Subject: runtime error in call( procedure In-Reply-To: <8E3E0BA6-594A-4A0E-92A0-2337BBD2B767@musiccitymetals.net> References: <8E3E0BA6-594A-4A0E-92A0-2337BBD2B767@musiccitymetals.net> Message-ID: <20110519102152.CQY65759@expms1.cites.uiuc.edu> >You learn something everyday! > >Thanks to you and to David Thompson. > >Probably something that should be added to the Reference file. > >Are there any other functions you can't use a local variable with? > The arraybuild(, arrayselectedbuild(, characterfilter(, and chunkfilter( functions would all have that limitation. In each case, the limitation is that you can't use it in the formula. You can use local variables in the other parameters. Dave From samrutherford at musiccitymetals.net Thu May 19 08:59:16 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Thu, 19 May 2011 10:59:16 -0500 Subject: runtime error in call( procedure In-Reply-To: <20110519102152.CQY65759@expms1.cites.uiuc.edu> References: <8E3E0BA6-594A-4A0E-92A0-2337BBD2B767@musiccitymetals.net> <20110519102152.CQY65759@expms1.cites.uiuc.edu> Message-ID: <4979F808-1336-4050-892B-7D924923349F@musiccitymetals.net> That's really helpful. Thanks. ________________________________________________________________ On May 19, 2011, at 10:21 AM, David Thompson wrote: >> You learn something everyday! >> >> Thanks to you and to David Thompson. >> >> Probably something that should be added to the Reference file. >> >> Are there any other functions you can't use a local variable with? >> > > The arraybuild(, arrayselectedbuild(, characterfilter(, and chunkfilter( functions would all > have that limitation. In each case, the limitation is that you can't use it in the formula. You > can use local variables in the other parameters. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From steve at goMiddleton.com Fri May 20 05:47:48 2011 From: steve at goMiddleton.com (Steve Middleton) Date: Fri, 20 May 2011 08:47:48 -0400 Subject: Posting Summary Records Message-ID: Hello All, What is the best approach to post a summary record to a different database? I have an order database that is structured 1 record per line item. I will want to "post" the invoice total, a total of all line item records, to an accounts receivable file. Thanks Steve Middleton Middleton Label If It Sticks...We Do It! ? http://www.goMiddleton.com From delphilauer at comcast.net Sun May 22 10:24:54 2011 From: delphilauer at comcast.net (Delphi) Date: Sun, 22 May 2011 11:24:54 -0600 Subject: Time code, how do I set up a field? Message-ID: Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? Bill From dthmpsn1 at illinois.edu Sun May 22 11:09:14 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Sun, 22 May 2011 13:09:14 -0500 (CDT) Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: <20110522130914.CRA27806@expms1.cites.uiuc.edu> ->Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? > I may be totally off base, because I don't know what df/NFC stands for. Panorama has something it calls a super date, which is basically the raw content of the Macintosh clock. You would store it in a number field. An integer field can be designated as a time stamp field, and if you do so, it will automatically update to the current time whenever you make a change to any other field in the record. The sort of thing I think you have in mind would require a separate column, if you are working strictly in the data sheet. In a form, it would be possible to setup a text editor superobject to display a formula. The formula could display the date and time in whatever format you like. Entering a value into the object could trigger a procedure to reformat the entry as a super date, and place it in the field. You can definitely add and subtract super dates to calculate duration. Dave From delphilauer at comcast.net Sun May 22 15:15:10 2011 From: delphilauer at comcast.net (Delphi Lauer) Date: Sun, 22 May 2011 16:15:10 -0600 Subject: Time code, how do I set up a field? In-Reply-To: <20110522130914.CRA27806@expms1.cites.uiuc.edu> References: <20110522130914.CRA27806@expms1.cites.uiuc.edu> Message-ID: <26C1D808-BCA5-4468-ACDA-B8CCE050CCE4@comcast.net> Time code are the numbers you see in video. HH:MM:SS:FF The tricky part is Film is almost always 24 frames per second where as video is 30 frames per second. DF- drop frame accounts for the difference between 30fps (NDF) and the actual video speed of 29.97 fps. The arithmetic is complicated by the set of valid numbers of a clock (00-23 for hours, 0-59 for minutes and seconds and then the frame rate which can be almost anything. Old films (silent ) ran at 16. A lot of Web movies run at 10 or 15 fps. European standard is 25fps. If someone else has figured a good way to make this all work I'd prefer not to re-invent the wheel. Bill On May 22, 2011, at 12:09 PM, David Thompson wrote: > > > ->Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and > subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to > set up a separate column for df/NSF? >> > > I may be totally off base, because I don't know what df/NFC stands for. Panorama has > something it calls a super date, which is basically the raw content of the Macintosh clock. > You would store it in a number field. An integer field can be designated as a time stamp > field, and if you do so, it will automatically update to the current time whenever you make a > change to any other field in the record. > > The sort of thing I think you have in mind would require a separate column, if you are > working strictly in the data sheet. In a form, it would be possible to setup a text editor > superobject to display a formula. The formula could display the date and time in whatever > format you like. Entering a value into the object could trigger a procedure to reformat the > entry as a super date, and place it in the field. You can definitely add and subtract super > dates to calculate duration. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jim at provue.com Sun May 22 15:49:32 2011 From: jim at provue.com (James Rea) Date: Sun, 22 May 2011 15:49:32 -0700 Subject: Time code, how do I set up a field? In-Reply-To: Message-ID: On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >Has anybody set up fields for time code? Are they df/NFC aware? >Can they be added and subtracted to calculate duration? Can the >number just be defined by " : or ; "? Do I have to set up a >separate column for df/NSF? Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas & Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. Jim From jetpuck04 at me.com Sun May 22 15:51:25 2011 From: jetpuck04 at me.com (Peter Levitt) Date: Sun, 22 May 2011 18:51:25 -0400 Subject: Time code, how do I set up a field? In-Reply-To: <26C1D808-BCA5-4468-ACDA-B8CCE050CCE4@comcast.net> References: <20110522130914.CRA27806@expms1.cites.uiuc.edu> <26C1D808-BCA5-4468-ACDA-B8CCE050CCE4@comcast.net> Message-ID: This isn't answering your question completely, but it will get you pointed in the correct direction. v6 of Pan. See 'Formulas & Programing, page 117. Set up the field as a number, 0 digits. Hope this helps. Peter On May 22, 2011, at 6:15 PM, Delphi Lauer wrote: > Time code are the numbers you see in video. HH:MM:SS:FF The tricky part is Film is almost always 24 frames per second where as video is 30 frames per second. DF- drop frame accounts for the difference between 30fps (NDF) and the actual video speed of 29.97 fps. The arithmetic is complicated by the set of valid numbers of a clock (00-23 for hours, 0-59 for minutes and seconds and then the frame rate which can be almost anything. Old films (silent ) ran at 16. A lot of Web movies run at 10 or 15 fps. European standard is 25fps. If someone else has figured a good way to make this all work I'd prefer not to re-invent the wheel. > Bill > > On May 22, 2011, at 12:09 PM, David Thompson wrote: > >> >> >> ->Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and >> subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to >> set up a separate column for df/NSF? >>> >> >> I may be totally off base, because I don't know what df/NFC stands for. Panorama has >> something it calls a super date, which is basically the raw content of the Macintosh clock. >> You would store it in a number field. An integer field can be designated as a time stamp >> field, and if you do so, it will automatically update to the current time whenever you make a >> change to any other field in the record. >> >> The sort of thing I think you have in mind would require a separate column, if you are >> working strictly in the data sheet. In a form, it would be possible to setup a text editor >> superobject to display a formula. The formula could display the date and time in whatever >> format you like. Entering a value into the object could trigger a procedure to reformat the >> entry as a super date, and place it in the field. You can definitely add and subtract super >> dates to calculate duration. >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From scott at prototek.net Sun May 22 21:30:55 2011 From: scott at prototek.net (Scott Taylor) Date: Sun, 22 May 2011 21:30:55 -0700 Subject: Time code, how do I set up a field? In-Reply-To: Message-ID: I have developed a timecode calculator in Excel that probably addresses your problem. Reply to me off list (email address should be clear) and I?ll send you what I have been working on. As I said, it?s in Excel, but the calculations would apply to Panorama with the right programming. Scott > > From: Peter Levitt > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Sun, 22 May 2011 18:51:25 -0400 > To: "Panorama Questions & Answers (Discussion)" > Subject: Re: Time code, how do I set up a field? > > This isn't answering your question completely, but it will get you pointed in > the correct direction. > > v6 of Pan. See 'Formulas & Programing, page 117. Set up the field as a number, > 0 digits. Hope this helps. > > Peter > > On May 22, 2011, at 6:15 PM, Delphi Lauer wrote: > >> > Time code are the numbers you see in video. HH:MM:SS:FF The tricky part is >> Film is almost always 24 frames per second where as video is 30 frames per >> second. DF- drop frame accounts for the difference between 30fps (NDF) and >> the actual video speed of 29.97 fps. The arithmetic is complicated by the set >> of valid numbers of a clock (00-23 for hours, 0-59 for minutes and seconds >> and then the frame rate which can be almost anything. Old films (silent ) ran >> at 16. A lot of Web movies run at 10 or 15 fps. European standard is 25fps. >> If someone else has figured a good way to make this all work I'd prefer not >> to re-invent the wheel. >> > Bill >> > >> > On May 22, 2011, at 12:09 PM, David Thompson wrote: >> > >>> >> >>> >> >>> >> ->Has anybody set up fields for time code? Are they df/NFC aware? Can >>> they be added and >>> >> subtracted to calculate duration? Can the number just be defined by " : >>> or ; "? Do I have to >>> >> set up a separate column for df/NSF? >>>> >>> >>> >> >>> >> I may be totally off base, because I don't know what df/NFC stands for. >>> Panorama has >>> >> something it calls a super date, which is basically the raw content of >>> the Macintosh clock. >>> >> You would store it in a number field. An integer field can be designated >>> as a time stamp >>> >> field, and if you do so, it will automatically update to the current time >>> whenever you make a >>> >> change to any other field in the record. >>> >> >>> >> The sort of thing I think you have in mind would require a separate >>> column, if you are >>> >> working strictly in the data sheet. In a form, it would be possible to >>> setup a text editor >>> >> superobject to display a formula. The formula could display the date and >>> time in whatever >>> >> format you like. Entering a value into the object could trigger a >>> procedure to reformat the >>> >> entry as a super date, and place it in the field. You can definitely add >>> and subtract super >>> >> dates to calculate duration. >>> >> >>> >> Dave >>> >> _______________________________________________ >>> >> Qna mailing list >>> >> Qna at provue.com >>> >> http://provue.com/mailman/listinfo/qna >> > >> > _______________________________________________ >> > Qna mailing list >> > Qna at provue.com >> > http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From delphilauer at comcast.net Sun May 22 22:58:25 2011 From: delphilauer at comcast.net (Delphi Lauer) Date: Sun, 22 May 2011 23:58:25 -0600 Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: First of all thanks everybody for your insights. Secondly, Jim, Is it possible that I could make a new DATA TYPE? Or is that something you have to code? I know I am going over my head but I'm trying to figure out my options. What Chris is doing looks great and its close to what I'm trying to do, but not quite close enough. I realy need to be able to add and subtract columns of data, ie, in + out = duration, in + duration =out .... etc. Unlike Chris most of my material is video. The last 25 years our video has all been Drop Frame (DF). Previously our video is Non Drop Frame (NDF). FYI "Drop frame TC drops 2 frames every minute, except every tenth minute, achieving 30?0.999 = 29.97 frame/s."(wiki). Thanks Bill On May 22, 2011, at 4:49 PM, James Rea wrote: > On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: > >> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? > > Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas & Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From csw at me.com Mon May 23 03:48:58 2011 From: csw at me.com (Watts Chris) Date: Mon, 23 May 2011 03:48:58 -0700 Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: <1E28E9B6-5A0E-4281-AE63-41ED6508455D@me.com> OK, I am jumping in now. There is a small suite of Panorama functions and commands designed to deal with edge code and time code. They were originally written by me but are now included in the Panorama distribution. The easiest way to find them is to open Panorama, hit ctrl-R for the reference, and then click "Full Text Search" and type "watts". They are all documented well enough for an editor-type to understand what's going on. They have all been tested extensively, but one possible limitation is that only non-drop tc is supported. If you need drop-frame calculations, (ask yourself why) let me know and maybe I can help. cw On May 22, 2011, at 9:30 PM, Scott Taylor wrote: > I have developed a timecode calculator in Excel that probably addresses your problem. Reply to me off list (email address should be clear) and I?ll send you what I have been working on. As I said, it?s in Excel, but the calculations would apply to Panorama with the right programming. > > Scott >> >> From: Peter Levitt >> Reply-To: "Panorama Questions & Answers \(Discussion\)" >> Date: Sun, 22 May 2011 18:51:25 -0400 >> To: "Panorama Questions & Answers (Discussion)" >> Subject: Re: Time code, how do I set up a field? >> > >> This isn't answering your question completely, but it will get you pointed in the correct direction. >> >> v6 of Pan. See 'Formulas & Programing, page 117. Set up the field as a number, 0 digits. Hope this helps. >> >> Peter >> >> On May 22, 2011, at 6:15 PM, Delphi Lauer wrote: >> >> > Time code are the numbers you see in video. HH:MM:SS:FF The tricky part is Film is almost always 24 frames per second where as video is 30 frames per second. DF- drop frame accounts for the difference between 30fps (NDF) and the actual video speed of 29.97 fps. The arithmetic is complicated by the set of valid numbers of a clock (00-23 for hours, 0-59 for minutes and seconds and then the frame rate which can be almost anything. Old films (silent ) ran at 16. A lot of Web movies run at 10 or 15 fps. European standard is 25fps. If someone else has figured a good way to make this all work I'd prefer not to re-invent the wheel. >> > Bill >> > >> > On May 22, 2011, at 12:09 PM, David Thompson wrote: >> > >> >> >> >> >> >> ->Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and >> >> subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to >> >> set up a separate column for df/NSF? >> >>> >> >> >> >> I may be totally off base, because I don't know what df/NFC stands for. Panorama has >> >> something it calls a super date, which is basically the raw content of the Macintosh clock. >> >> You would store it in a number field. An integer field can be designated as a time stamp >> >> field, and if you do so, it will automatically update to the current time whenever you make a >> >> change to any other field in the record. >> >> >> >> The sort of thing I think you have in mind would require a separate column, if you are >> >> working strictly in the data sheet. In a form, it would be possible to setup a text editor >> >> superobject to display a formula. The formula could display the date and time in whatever >> >> format you like. Entering a value into the object could trigger a procedure to reformat the >> >> entry as a super date, and place it in the field. You can definitely add and subtract super >> >> dates to calculate duration. >> >> >> >> Dave >> >> _______________________________________________ >> >> Qna mailing list >> >> Qna at provue.com >> >> http://provue.com/mailman/listinfo/qna >> > >> > _______________________________________________ >> > Qna mailing list >> > Qna at provue.com >> > http://provue.com/mailman/listinfo/qna >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From csw at me.com Mon May 23 03:51:22 2011 From: csw at me.com (Watts Chris) Date: Mon, 23 May 2011 03:51:22 -0700 Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: <68FB0DBB-F140-46BE-B31E-5F8942031034@me.com> My functions work fine for adding and subtracting columns of data. We do it 'til the cows come home. Use these functions with formula fill. cw On May 22, 2011, at 10:58 PM, Delphi Lauer wrote: > First of all thanks everybody for your insights. > > Secondly, Jim, Is it possible that I could make a new DATA TYPE? Or is that something you have to code? I know I am going over my head but I'm trying to figure out my options. What Chris is doing looks great and its close to what I'm trying to do, but not quite close enough. I realy need to be able to add and subtract columns of data, ie, in + out = duration, in + duration =out .... etc. Unlike Chris most of my material is video. The last 25 years our video has all been Drop Frame (DF). Previously our video is Non Drop Frame (NDF). > FYI "Drop frame TC drops 2 frames every minute, except every tenth minute, achieving 30?0.999 = 29.97 frame/s."(wiki). > Thanks Bill > > On May 22, 2011, at 4:49 PM, James Rea wrote: > >> On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >> >>> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? >> >> Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas & Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. >> >> Jim >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.hidderley at sympatico.ca Mon May 23 05:41:33 2011 From: thomas.hidderley at sympatico.ca (Thomas Hidderley) Date: Mon, 23 May 2011 08:41:33 -0400 Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: I am a location sound recordist for TV series, features etc, and have been trying to use Panorama as a logging database for years. I haven't figured a way to get time code, either drop frame or non drop, from my recorder into Panorama. Because the SMPTE designated separator between hours, minutes, frames and seconds is always a colon I can not import time code into a numeric field, so any time code manipulation is done in "Wave Agent: and then exported as text to Panorama where any further manipulation is carried out before printing to .pdf. Tom Hidderley On May 22, 2011, at 6:49 PM, James Rea wrote: > On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: > >> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? > > Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas & Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From designer at quickdata.com Mon May 23 06:22:20 2011 From: designer at quickdata.com (Paul) Date: Mon, 23 May 2011 06:22:20 -0700 Subject: Time code, how do I set up a field? In-Reply-To: References: Message-ID: <4DDA5F8C.60100@quickdata.com> This is not difficult. I wrote stuff like this for a guy in Santa Cruz decades ago. If the data has colons, you import as text and strip the numbers out with an Extract, text funnel, array, or any other Pan action using the colons as a delimiter. As far as the equation itself, it is not difficult to do those calculations, once they are more clearly defined. If you give three or four examples of your input numbers and the output you want, I bet the crew here can come up with an equation for you. For background, Google the equation for determining what day of the week it is for any given date. We all know the calendar adds a day every four years, but then it does not add a day every 100 years (like in the year 2000) and the months have to be off set, I think March is considered month =1 in the equation. My point is, it is full of "counting" with exceptions every x years and every y years. So it is just like a time code that drops a two frames a minute except for every tenth minute. Paul QuickData On 5/23/11 5:41 AM, Thomas Hidderley wrote: > I am a location sound recordist for TV series, features etc, and have been trying to use Panorama as a logging database for years. I haven't figured a way to get time code, either drop frame or non drop, from my recorder into Panorama. > Because the SMPTE designated separator between hours, minutes, frames and seconds is always a colon I can not import time code into a numeric field, so any time code manipulation is done in "Wave Agent: and then exported as text to Panorama where any further manipulation is carried out before printing to .pdf. > > Tom Hidderley > > On May 22, 2011, at 6:49 PM, James Rea wrote: > >> On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >> >>> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? >> Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas& Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. >> >> Jim >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > From thomas.hidderley at sympatico.ca Mon May 23 07:00:37 2011 From: thomas.hidderley at sympatico.ca (Thomas Hidderley) Date: Mon, 23 May 2011 10:00:37 -0400 Subject: Time code, how do I set up a field? In-Reply-To: <4DDA5F8C.60100@quickdata.com> References: <4DDA5F8C.60100@quickdata.com> Message-ID: The difficulty is getting the timecode from the recorder directly into Panorama. Most recorders offer the SMPTE 80 bit timecode in both analog and digital format. It's getting Panorama to recognize and deal with the RS422 interface that is proving difficult. Manipulation afterwards is relatively easy. On May 23, 2011, at 9:22 AM, Paul wrote: > This is not difficult. I wrote stuff like this for a guy in Santa Cruz decades ago. > If the data has colons, you import as text and strip the numbers out with an Extract, text funnel, array, or any other Pan action using the colons as a delimiter. As far as the equation itself, it is not difficult to do those calculations, once they are more clearly defined. > > If you give three or four examples of your input numbers and the output you want, I bet the crew here can come up with an equation for you. For background, Google the equation for determining what day of the week it is for any given date. We all know the calendar adds a day every four years, but then it does not add a day every 100 years (like in the year 2000) and the months have to be off set, I think March is considered month =1 in the equation. My point is, it is full of "counting" with exceptions every x years and every y years. So it is just like a time code that drops a two frames a minute except for every tenth minute. > > Paul > QuickData > > On 5/23/11 5:41 AM, Thomas Hidderley wrote: >> I am a location sound recordist for TV series, features etc, and have been trying to use Panorama as a logging database for years. I haven't figured a way to get time code, either drop frame or non drop, from my recorder into Panorama. >> Because the SMPTE designated separator between hours, minutes, frames and seconds is always a colon I can not import time code into a numeric field, so any time code manipulation is done in "Wave Agent: and then exported as text to Panorama where any further manipulation is carried out before printing to .pdf. >> >> Tom Hidderley >> >> On May 22, 2011, at 6:49 PM, James Rea wrote: >> >>> On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >>> >>>> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? >>> Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas& Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. >>> >>> Jim >>> >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >>> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From ballewijn at gmail.com Mon May 23 07:38:26 2011 From: ballewijn at gmail.com (Sylvia van der Heijden) Date: Mon, 23 May 2011 16:38:26 +0200 Subject: auestion Message-ID: Referring to my mail of 18th may (perhaps a bit frightening due to the added procedure with also Dutch text) I am curious if there might be an answer to my question, regarding the point and the comma. In short. In my database an given large amount, using #.,## in the design, is written: 1.234.567,89 like Apple does that for customers in Europa. Copying this amount in panorama 5.5.2 via local or clipboard in a text field and using the pattern function gives: 1.234.567.89 (The thousand separators are not relevant for the problem) Copying this amount directly and pasting it in any field is working alright but in a procedure a multiplication by hundred is often the case. Apparently a comma (before cents) is not recognized any more in a given memory, which is also the explanation of a multiplication by hundred in the design of the Width field after copying a line there. Is there a way to solve this problem Of minor importance was the following observation. When an amount above one million from a float field is copied a message gives a figure that cannot be related to the original amount. Is there an explication or a correlation that I missed. Sylvia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff_gold at state.ga.weo.us Mon May 23 17:06:39 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Mon, 23 May 2011 20:06:39 -0400 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. Message-ID: We are running a network of mirror web servers, and I've written a Panorama procedure which keeps the files updated on all of our mirror servers. This procedure runs on Panorama Direct on each of our mirrors and it basically uses an ExecuteEveryMinute procedure to: 1) Query our main Panorama Server using LoadURL() to see if there are any new pages to be copied. 2) Copy all of the new pages by using LoadURL() to load each, and then FileSave to save on the local server's hard drive. The problem is that after doing this a certain number of hundreds or thousands of times, Panorama Direct quits on each mirror server. I am guessing that it is some sort of memory issue, but I'm not sure of that. It seems consistent though because Panorama Direct on all three of our mirror servers quits around the same time, but not exactly, some might quit several minutes of even an hour different from when the other server quits after running fine for days. Basically, this means it is not a particular file transfer causing Panorama to crash, but rather, it is the relative volume of files copied using the LoadURL() then FileSave commands, since all will have copied a similar number of files over a period of days. Again, my best guess is Panorama Direct is running out of memory. So I have a few questions... 1) Could the ExecuteEveryMinute statement somehow be using more and more memory the longer it runs, and if so, is there a way to "reset" Panorama automatically since there are no other procedures running on it, to reset or clear used memory from time to time? 2) Is there a way to monitor Panorama's available memory so I can know when it is about to crash? 3) What's the best way to increase Panorama's memory related to whatever is causing these crashes? I'm hoping to solve the problem rather than just increase RAM, for I suspect an increase in RAM will not cure the problem but just cause it to happen after a larger number of pages are copied to our mirror server. I've come up with a solution which I might implement... count the number of files transferred and when it approaches the approximate number which causes Panorama to crash, issue a "Quit" command. This will cause Panorama Direct to quit, but it will then be relaunched automatically by Keep-It-Up running on that machine, with memory fresh to start copying again. This I am quite sure will work, but am looking for a "cleaner" solution if possible. Any suggestions would be appreciated! - Jeff From jim at provue.com Mon May 23 17:27:16 2011 From: jim at provue.com (James Rea) Date: Mon, 23 May 2011 17:27:16 -0700 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. In-Reply-To: Message-ID: On 5/23/11 at 5:06 PM, jeff_gold at state.ga.weo.us (Jeff Gold) wrote: >1) Could the ExecuteEveryMinute statement somehow be using more >and more memory the longer it runs This seems unlikely. We have a server doing the exact same thing and it runs for months at a time or more. Generally it never crashes, though sometimes we have to restart it for maintenance. >if so, is there a way to "reset" Panorama automatically since there are no other procedures running on it, to reset or clear used memory from time to time? Other than quitting or restarting the app, no. However, other than for database memory, Panorama uses general system memory. So if you really were running out of memory I would expect the system to run slower and slower, then you would get a VM paging error and the system would have to be rebooted. If it is simply that Panorama crashes I don't think you are seeing a memory leak. >2) Is there a way to monitor Panorama's available memory so I can know when it is about to crash? No, because there is no separate Panorama memory -- it's pulling from the general system pool. >3) What's the best way to increase Panorama's memory related to whatever is causing these crashes? Again, no, other than purchasing more RAM. Jim Rea From jeff_gold at state.ga.weo.us Mon May 23 19:34:28 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Mon, 23 May 2011 22:34:28 -0400 Subject: Counting number of times a string appears in another string. Message-ID: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> Is there a simple Panorama function to count the number of times a certain string appears inside another string? For example if it was called StringCount it would behave like this... StringCount("aaabbc","a") would return 3 (since "a" appears 3 times) StringCount("aaabbc","b") would return 2 (since "b" appears 2 times) StringCount("aaabbc","c") would return 1 (since "c" appears 1 time) I can do this by using LineCount() after using Replace() to replace what I am searching for with carriage returns, then subtracting 1. Just thought since there is a Panorama command for almost everything, there might be a simpler way... perhaps a single command to count text strings, that I just haven't learned yet? - Jeff From dthmpsn1 at illinois.edu Mon May 23 20:46:53 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Mon, 23 May 2011 22:46:53 -0500 (CDT) Subject: Counting number of times a string appears in another string. In-Reply-To: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> Message-ID: <20110523224653.CRB10658@expms1.cites.uiuc.edu> >Is there a simple Panorama function to count the number of times a certain string appears inside another string? For example if it was called StringCount it would behave like this... > >StringCount("aaabbc","a") would return 3 (since "a" appears 3 times) >StringCount("aaabbc","b") would return 2 (since "b" appears 2 times) >StringCount("aaabbc","c") would return 1 (since "c" appears 1 time) > >I can do this by using LineCount() after using Replace() to replace what I am searching for with carriage returns, then subtracting 1. > >Just thought since there is a Panorama command for almost everything, there might be a simpler way... perhaps a single command to count text strings, that I just haven't learned yet? > Despite its documentation, the extract( function allows you to use strings of more than one character as the separator, so you could just use the sub string that you want to count as the separator, and subtract one. extract("apple turnover", "apple", -1) - 1 would return 1 since "apple" appears one time. Dave From designer at quickdata.com Mon May 23 21:13:56 2011 From: designer at quickdata.com (Paul) Date: Mon, 23 May 2011 21:13:56 -0700 Subject: Time code, how do I set up a field? In-Reply-To: References: <4DDA5F8C.60100@quickdata.com> Message-ID: <4DDB3084.2030807@quickdata.com> Tom, Ah - yes, the interface is a different deal. The calculations are pretty simple. Paul QuickData On 5/23/11 7:00 AM, Thomas Hidderley wrote: > The difficulty is getting the timecode from the recorder directly into Panorama. Most recorders offer the SMPTE 80 bit timecode in both analog and digital format. It's getting Panorama to recognize and deal with the RS422 interface that is proving difficult. Manipulation afterwards is relatively easy. > > On May 23, 2011, at 9:22 AM, Paul wrote: > >> This is not difficult. I wrote stuff like this for a guy in Santa Cruz decades ago. >> If the data has colons, you import as text and strip the numbers out with an Extract, text funnel, array, or any other Pan action using the colons as a delimiter. As far as the equation itself, it is not difficult to do those calculations, once they are more clearly defined. >> >> If you give three or four examples of your input numbers and the output you want, I bet the crew here can come up with an equation for you. For background, Google the equation for determining what day of the week it is for any given date. We all know the calendar adds a day every four years, but then it does not add a day every 100 years (like in the year 2000) and the months have to be off set, I think March is considered month =1 in the equation. My point is, it is full of "counting" with exceptions every x years and every y years. So it is just like a time code that drops a two frames a minute except for every tenth minute. >> >> Paul >> QuickData >> >> On 5/23/11 5:41 AM, Thomas Hidderley wrote: >>> I am a location sound recordist for TV series, features etc, and have been trying to use Panorama as a logging database for years. I haven't figured a way to get time code, either drop frame or non drop, from my recorder into Panorama. >>> Because the SMPTE designated separator between hours, minutes, frames and seconds is always a colon I can not import time code into a numeric field, so any time code manipulation is done in "Wave Agent: and then exported as text to Panorama where any further manipulation is carried out before printing to .pdf. >>> >>> Tom Hidderley >>> >>> On May 22, 2011, at 6:49 PM, James Rea wrote: >>> >>>> On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >>>> >>>>> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? >>>> Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas& Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. >>>> >>>> Jim >>>> >>>> _______________________________________________ >>>> Qna mailing list >>>> Qna at provue.com >>>> http://provue.com/mailman/listinfo/qna >>>> >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >>> >>> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > From csw at me.com Tue May 24 02:30:20 2011 From: csw at me.com (Watts Chris) Date: Tue, 24 May 2011 02:30:20 -0700 Subject: Time code, how do I set up a field? In-Reply-To: <4DDB3084.2030807@quickdata.com> References: <4DDA5F8C.60100@quickdata.com> <4DDB3084.2030807@quickdata.com> Message-ID: <32337A6E-C08A-44BF-8C68-B60B37BFF06C@me.com> I've done it, but not for many years. I used to use the panorama serial tool, which may not be available anymore. At first thought, if I had to do it again I would probably use an iowarrior through USB. But there may be other ways...consulting doctor google.... I turned up this product: http://www.horita.com/smpteltc.htm Which, with a serial to USB adapter like this one http://www.tripplite.com/en/products/model.cfm?txtModelID=3915 and some AppleScript (or anything, like this http://mysite.verizon.net/vzenuoqe/MacSoft.html really) would render the task pretty easy. If you knew how to translate vitc or ltc (422) to text you could do this without the $400 box. For me anyway this would add to dev time, though there are people I can call. I could probably hack something together in a couple of days... possibly in a couple of minutes... And I'm looking for work :) Sounds like fun, actually :) Sent from my iPad http://www.lvr.com/usb_device_hardware.htm On May 23, 2011, at 9:13 PM, Paul wrote: > Tom, > Ah - yes, the interface is a different deal. The calculations are pretty simple. > Paul > QuickData > > On 5/23/11 7:00 AM, Thomas Hidderley wrote: >> The difficulty is getting the timecode from the recorder directly into Panorama. Most recorders offer the SMPTE 80 bit timecode in both analog and digital format. It's getting Panorama to recognize and deal with the RS422 interface that is proving difficult. Manipulation afterwards is relatively easy. >> >> On May 23, 2011, at 9:22 AM, Paul wrote: >> >>> This is not difficult. I wrote stuff like this for a guy in Santa Cruz decades ago. >>> If the data has colons, you import as text and strip the numbers out with an Extract, text funnel, array, or any other Pan action using the colons as a delimiter. As far as the equation itself, it is not difficult to do those calculations, once they are more clearly defined. >>> >>> If you give three or four examples of your input numbers and the output you want, I bet the crew here can come up with an equation for you. For background, Google the equation for determining what day of the week it is for any given date. We all know the calendar adds a day every four years, but then it does not add a day every 100 years (like in the year 2000) and the months have to be off set, I think March is considered month =1 in the equation. My point is, it is full of "counting" with exceptions every x years and every y years. So it is just like a time code that drops a two frames a minute except for every tenth minute. >>> >>> Paul >>> QuickData >>> >>> On 5/23/11 5:41 AM, Thomas Hidderley wrote: >>>> I am a location sound recordist for TV series, features etc, and have been trying to use Panorama as a logging database for years. I haven't figured a way to get time code, either drop frame or non drop, from my recorder into Panorama. >>>> Because the SMPTE designated separator between hours, minutes, frames and seconds is always a colon I can not import time code into a numeric field, so any time code manipulation is done in "Wave Agent: and then exported as text to Panorama where any further manipulation is carried out before printing to .pdf. >>>> >>>> Tom Hidderley >>>> >>>> On May 22, 2011, at 6:49 PM, James Rea wrote: >>>> >>>>> On 5/22/11 at 10:24 AM, delphilauer at comcast.net (Delphi) wrote: >>>>> >>>>>> Has anybody set up fields for time code? Are they df/NFC aware? Can they be added and subtracted to calculate duration? Can the number just be defined by " : or ; "? Do I have to set up a separate column for df/NSF? >>>>> Like Dave, I don't know what df/NFC is. However, a while ago Chris Watts, who has been the visual effects supervisor for a number of major films, submitted a number of functions he created for working with time codes. You can find a rundown of these commands on page 117 of the Panorama Formulas& Programming PDF file. Hopefully Chris will jump in to this discussion, but then again he may be busy on a new movie and/or out of the country. >>>>> >>>>> Jim >>>>> >>>>> _______________________________________________ >>>>> Qna mailing list >>>>> Qna at provue.com >>>>> http://provue.com/mailman/listinfo/qna >>>>> >>>> _______________________________________________ >>>> Qna mailing list >>>> Qna at provue.com >>>> http://provue.com/mailman/listinfo/qna >>>> >>>> >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >>> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From mark at abernackie.com Tue May 24 04:46:10 2011 From: mark at abernackie.com (Mark Terry) Date: Tue, 24 May 2011 07:46:10 -0400 Subject: Counting number of times a string appears in another string. In-Reply-To: <20110523224653.CRB10658@expms1.cites.uiuc.edu> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> Message-ID: <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> Wouldn't you want to *add* 1 to get the array size? On May 23, 2011, at 11:46 PM, David Thompson wrote: >> Is there a simple Panorama function to count the number of times a >> certain string appears inside another string? For example if it >> was called StringCount it would behave like this... >> >> StringCount("aaabbc","a") would return 3 (since "a" appears 3 times) >> StringCount("aaabbc","b") would return 2 (since "b" appears 2 times) >> StringCount("aaabbc","c") would return 1 (since "c" appears 1 time) >> >> I can do this by using LineCount() after using Replace() to replace >> what I am searching for with carriage returns, then subtracting 1. >> >> Just thought since there is a Panorama command for almost >> everything, there might be a simpler way... perhaps a single >> command to count text strings, that I just haven't learned yet? >> > > Despite its documentation, the extract( function allows you to use > strings of more than one character as the separator, so you could > just use the sub string that you want to count as the separator, and > subtract one. > > extract("apple turnover", "apple", -1) - 1 > > would return 1 since "apple" appears one time. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Tue May 24 05:17:50 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 24 May 2011 07:17:50 -0500 (CDT) Subject: Counting number of times a string appears in another string. In-Reply-To: <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> Message-ID: <20110524071750.CRB31275@expms1.cites.uiuc.edu> >Wouldn't you want to *add* 1 to get the array size? > No. The extract( function returns the array size, so we would add zero if that's what we wanted. That's not what we want though. We want to count the number of separators, which will be one less than the number of array elements. The extract( function will return zero, if the string is empty, so to make the function work in every conceivable case, we should test for an empty string. Dave >On May 23, 2011, at 11:46 PM, David Thompson wrote: > >>> Is there a simple Panorama function to count the number of times a >>> certain string appears inside another string? For example if it >>> was called StringCount it would behave like this... >>> >>> StringCount("aaabbc","a") would return 3 (since "a" appears 3 times) >>> StringCount("aaabbc","b") would return 2 (since "b" appears 2 times) >>> StringCount("aaabbc","c") would return 1 (since "c" appears 1 time) >>> >>> I can do this by using LineCount() after using Replace() to replace >>> what I am searching for with carriage returns, then subtracting 1. >>> >>> Just thought since there is a Panorama command for almost >>> everything, there might be a simpler way... perhaps a single >>> command to count text strings, that I just haven't learned yet? >>> >> >> Despite its documentation, the extract( function allows you to use >> strings of more than one character as the separator, so you could >> just use the sub string that you want to count as the separator, and >> subtract one. >> >> extract("apple turnover", "apple", -1) - 1 >> >> would return 1 since "apple" appears one time. >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From jeff_gold at state.ga.weo.us Tue May 24 05:24:13 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Tue, 24 May 2011 08:24:13 -0400 Subject: Counting number of times a string appears in another string. In-Reply-To: <20110524071750.CRB31275@expms1.cites.uiuc.edu> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> <20110524071750.CRB31275@expms1.cites.uiuc.edu> Message-ID: <71985DF0-1947-4BA3-9109-362BB4DB3B51@state.ga.weo.us> Thanks for the great suggestion, David. That worked perfectly. It is good to know that Extract() can work with complete strings as separators, this could come in handy for some other uses as well. Best wishes, - Jeff From BillArleneBush at cs.com Tue May 24 07:47:04 2011 From: BillArleneBush at cs.com (BillArleneBush at cs.com) Date: Tue, 24 May 2011 10:47:04 -0400 (EDT) Subject: Counting number of times a string appears Message-ID: <6faa8.5a95c74b.3b0d1ee8@cs.com> In a message dated 5/24/11 2:28:54 AM, qna-request at provue.com writes: << Is there a simple Panorama function to count the number of times a certain string appears inside another string? >> Make a registerfunction. The following is probably close to what you want. registerfunction "","STRINGCOUNT(",2,str(length(?1) - length(replace(?1,?2,""))-length(?2)+1) Bill Bush From BillArleneBush at cs.com Tue May 24 09:01:16 2011 From: BillArleneBush at cs.com (BillArleneBush at cs.com) Date: Tue, 24 May 2011 12:01:16 -0400 (EDT) Subject: Counting number of times a string appears Message-ID: <1276d.76f69014.3b0d304c@cs.com> << Is there a simple Panorama function to count the number of times a certain string appears inside another string? >> Dave's solution is the best. I forgot the separator in extract( can be more than 1 character. For numeric result use registerfunction "","STRINGCOUNT(",2,extract(?1,?2, -1) - 1 Bill Bush From mark at abernackie.com Tue May 24 09:12:34 2011 From: mark at abernackie.com (Mark Terry) Date: Tue, 24 May 2011 12:12:34 -0400 Subject: Counting number of times a string appears in another string. In-Reply-To: <20110524071750.CRB31275@expms1.cites.uiuc.edu> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> <20110524071750.CRB31275@expms1.cites.uiuc.edu> Message-ID: <90A3FBB9-3C2F-4ABF-A1C7-82CE38227AB4@abernackie.com> Doh! Thanks, Dave. M On May 24, 2011, at 8:17 AM, David Thompson wrote: >> Wouldn't you want to *add* 1 to get the array size? >> > > No. The extract( function returns the array size, so we would add > zero if that's what we wanted. That's not what we want though. We > want to count the number of separators, which will be one less than > the number of array elements. > > The extract( function will return zero, if the string is empty, so > to make the function work in every conceivable case, we should test > for an empty string. > > Dave > >> On May 23, 2011, at 11:46 PM, David Thompson wrote: >> >>>> Is there a simple Panorama function to count the number of times a >>>> certain string appears inside another string? For example if it >>>> was called StringCount it would behave like this... >>>> >>>> StringCount("aaabbc","a") would return 3 (since "a" appears 3 >>>> times) >>>> StringCount("aaabbc","b") would return 2 (since "b" appears 2 >>>> times) >>>> StringCount("aaabbc","c") would return 1 (since "c" appears 1 >>>> time) >>>> >>>> I can do this by using LineCount() after using Replace() to replace >>>> what I am searching for with carriage returns, then subtracting 1. >>>> >>>> Just thought since there is a Panorama command for almost >>>> everything, there might be a simpler way... perhaps a single >>>> command to count text strings, that I just haven't learned yet? >>>> >>> >>> Despite its documentation, the extract( function allows you to use >>> strings of more than one character as the separator, so you could >>> just use the sub string that you want to count as the separator, and >>> subtract one. >>> >>> extract("apple turnover", "apple", -1) - 1 >>> >>> would return 1 since "apple" appears one time. >>> >>> Dave >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From robert at ameeti.net Tue May 24 09:43:25 2011 From: robert at ameeti.net (Robert Ameeti) Date: Tue, 24 May 2011 09:43:25 -0700 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. In-Reply-To: References: Message-ID: >>3) What's the best way to increase Panorama's >>memory related to whatever is causing these >>crashes? > >Again, no, other than purchasing more RAM. Huh? As I understand it, we are still having to allocate within Panorama a specific amount of memory for Panorama. Panorama was running over 50% memory usage, and I had to up the allocation within Panorama for it to grab more memory at startup. Not knowing this, I purchased more memory, added it to the computer and no memory usage change was noted until I upped the allocation within Panorama. I did not like this but as this is Panorama, I went with it. Why would Jeff not too fall into this situation whereby he might need to allocate more memory to Panorama? At 5:27 PM -0700, 5/23/11, James Rea wrote: >On 5/23/11 at 5:06 PM, jeff_gold at state.ga.weo.us (Jeff Gold) wrote: > >>1) Could the ExecuteEveryMinute statement >>somehow be using more and more memory the >>longer it runs > >This seems unlikely. We have a server doing the >exact same thing and it runs for months at a >time or more. Generally it never crashes, though >sometimes we have to restart it for maintenance. > >>if so, is there a way to "reset" Panorama >>automatically since there are no other >>procedures running on it, to reset or clear >>used memory from time to time? > >Other than quitting or restarting the app, no. > >However, other than for database memory, >Panorama uses general system memory. So if you >really were running out of memory I would expect >the system to run slower and slower, then you >would get a VM paging error and the system would >have to be rebooted. If it is simply that >Panorama crashes I don't think you are seeing a >memory leak. > >>2) Is there a way to monitor Panorama's >>available memory so I can know when it is about >>to crash? > >No, because there is no separate Panorama memory >-- it's pulling from the general system pool. > > >Jim Rea -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Puritanism: The haunting fear that someone, somewhere, may be happy. -- H. L. Mencken <><><><><><><><><><><><> From designer at quickdata.com Tue May 24 12:01:22 2011 From: designer at quickdata.com (designer at quickdata.com) Date: Tue, 24 May 2011 12:01:22 -0700 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. In-Reply-To: References: Message-ID: <20110524190123.63638.qmail@domainmail.macconnect.com> I think this points to a need I mentioned a while back. Though it has come up from time to time in various questions/posts, I have not seen one unified source to refer to that covers every aspect of Panorama memory usage. What I'm imagining is a description of the initial memory setup for both Mac AND PC - for example, do they both pull from a general pool, as required. That must not be quite accurate or there would be no need to Assign Memory in Preferences. Or does Assigning memory mean it is "guaranteed" and can't be taken by some app that is launched later while Panorama is still in session. There there are those temporary adjustments - like when you have a LOT if data in the clipboard that has been copied from the result of SQL Manager or Excel. And I think there was a second temporary "extention" that could be made. I'm sure I can search for these issues and find answers, but Memory questions seem to appear over and over. T'would be nice if they were all answered in one .pdf available from the Panorama web site and/or part of the documentation. That's my story and I'm sticking to it. Wait a minute, what was I taking about, can't remember. Paul QuickData Robert Ameeti writes: > >>> 3) What's the best way to increase Panorama's memory related to whatever >>> is causing these crashes? >> >> Again, no, other than purchasing more RAM. > > > > Huh? As I understand it, we are still having to allocate within Panorama > a specific amount of memory for Panorama. Panorama was running over 50% > memory usage, and I had to up the allocation within Panorama for it to > grab more memory at startup. Not knowing this, I purchased more memory, > added it to the computer and no memory usage change was noted until I > upped the allocation within Panorama. I did not like this but as this is > Panorama, I went with it. Why would Jeff not too fall into this situation > whereby he might need to allocate more memory to Panorama? > > > > > > > At 5:27 PM -0700, 5/23/11, James Rea wrote: > >> On 5/23/11 at 5:06 PM, jeff_gold at state.ga.weo.us (Jeff Gold) wrote: >> >>> 1) Could the ExecuteEveryMinute statement somehow be using more and more >>> memory the longer it runs >> >> This seems unlikely. We have a server doing the exact same thing and it >> runs for months at a time or more. Generally it never crashes, though >> sometimes we have to restart it for maintenance. >> >>> if so, is there a way to "reset" Panorama automatically since there are >>> no other procedures running on it, to reset or clear used memory from >>> time to time? >> >> Other than quitting or restarting the app, no. >> >> However, other than for database memory, Panorama uses general system >> memory. So if you really were running out of memory I would expect the >> system to run slower and slower, then you would get a VM paging error and >> the system would have to be rebooted. If it is simply that Panorama >> crashes I don't think you are seeing a memory leak. >> >>> 2) Is there a way to monitor Panorama's available memory so I can know >>> when it is about to crash? >> >> No, because there is no separate Panorama memory -- it's pulling from the >> general system pool. >> >> >> Jim Rea > > -- > > <><><><><><><><><><><><> > Robert Ameeti - ePro? MailTo:robert at ameeti.net > (949) 422-6866 FAX (267) 222-6866 > PC & Mac computer specialist > > Puritanism: The haunting fear that someone, somewhere, may be happy. > -- H. L. Mencken > <><><><><><><><><><><><> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From ray at apresmidi.net Tue May 24 10:45:12 2011 From: ray at apresmidi.net (Ray Spears) Date: Tue, 24 May 2011 10:45:12 -0700 Subject: Is there a way to tell the color of a field or record In-Reply-To: <90A3FBB9-3C2F-4ABF-A1C7-82CE38227AB4@abernackie.com> References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> <20110524071750.CRB31275@expms1.cites.uiuc.edu> <90A3FBB9-3C2F-4ABF-A1C7-82CE38227AB4@abernackie.com> Message-ID: ? I can say STYLE "cell cyan" but can I go to a cell and ask Panorama what color it is? Searching for "color" in Panorama Reference doesn't show anything the closest seems to be INFO("formcolor") It would be cool if there were INFO("cellcolor") From jim at provue.com Tue May 24 12:39:55 2011 From: jim at provue.com (James Rea) Date: Tue, 24 May 2011 12:39:55 -0700 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. In-Reply-To: Message-ID: On 5/24/11 at 9:43 AM, robert at ameeti.net (Robert Ameeti) wrote: >Huh? As I understand it, we are still having to allocate >within Panorama a specific amount of memory for Panorama. Why >would Jeff not too fall into this situation whereby he might >need to allocate more memory to Panorama? Panorama pre-allocates memory for database use (which includes the data, forms, procedures, flash art -- see the Memory Usage window for details). For everything else (mostly variables and temporary uses) memory is allocated from the system as needed. In Jeff's case he had plenty of pre-allocated memory for his databases -- that wasn't the problem. (Actually we don't know what the problem is, but it definitely isn't the amount of pre-allocated memory.) Panorama pre-allocates database memory for performance reasons. If it didn't, it would constantly have to be running to the system to do memory allocation as you sort, select, etc., and there can be a significant performance penalty for doing that. Pre-allocating database memory is one reason why Panorama is so fast. It can be a bit inconvenient, but for most users it is never an issue. Jim From dthmpsn1 at illinois.edu Tue May 24 13:05:37 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 24 May 2011 15:05:37 -0500 Subject: Is there a way to tell the color of a field or record In-Reply-To: References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> <20110524071750.CRB31275@expms1.cites.uiuc.edu> <90A3FBB9-3C2F-4ABF-A1C7-82CE38227AB4@abernackie.com> Message-ID: >I can say > >STYLE "cell cyan" > >but can I go to a cell and ask Panorama what color it is? > >Searching for "color" in Panorama Reference doesn't show anything > >the closest seems to be INFO("formcolor") > >It would be cool if there were INFO("cellcolor") The fieldstyle( function will return both the style and color, if they have been assigned. The absence of one or the other or both would mean the style or color or both were default (usually black plain.) You could use fieldstyle(fieldname) contains "cyan" as a condition to test for that color. Dave From gary at yonaites.com Tue May 24 13:14:52 2011 From: gary at yonaites.com (Gary Yonaites) Date: Tue, 24 May 2011 13:14:52 -0700 Subject: Is there a way to tell the color of a field or record In-Reply-To: References: <1AAB11C5-367E-4D94-B152-A9E13DD735A1@state.ga.weo.us> <20110523224653.CRB10658@expms1.cites.uiuc.edu> <09CF8C56-B11D-4011-90EC-A4DDD52A77B3@abernackie.com> <20110524071750.CRB31275@expms1.cites.uiuc.edu> <90A3FBB9-3C2F-4ABF-A1C7-82CE38227AB4@abernackie.com> Message-ID: <6C99AE9A-F2C8-4BE6-B85C-6BF984E12A60@yonaites.com> I found that even if the cell is changed to "black" and is not the default color it will not return the color "black". So if you have a default color of "green" and change it programmatically to "black". the result from the fieldstyle( function would still be blank for the color. Does not seem to be the way one would want. Gary gary at yonaites.com On May 24, 2011, at 1:05 PM, David Thompson wrote: >> I can say >> >> STYLE "cell cyan" >> >> but can I go to a cell and ask Panorama what color it is? >> >> Searching for "color" in Panorama Reference doesn't show anything >> >> the closest seems to be INFO("formcolor") >> >> It would be cool if there were INFO("cellcolor") > > The fieldstyle( function will return both the style and color, if they have been assigned. The absence of one or the other or both would mean the style or color or both were default (usually black plain.) > > You could use > > fieldstyle(fieldname) contains "cyan" > > as a condition to test for that color. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Tue May 24 13:34:30 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 24 May 2011 15:34:30 -0500 Subject: Panorama seems running out of memory while running ExecuteEveryMinute procedure. In-Reply-To: <20110524190123.63638.qmail@domainmail.macconnect.com> References: <20110524190123.63638.qmail@domainmail.macconnect.com> Message-ID: The memory that you allocate by editing the PanoramaIA32.INI or PanoramaPowerPC.INI file is database memory. That's the memory the databases will occupy. Panorama will allocate that memory at launch and hold on to it. The memory that is used to hold the contents of your variables is dynamically allocated as needed, and released to the system when it is no longer needed. So, if you do a fileload( or an ArrayBuild, and put a few megabytes of data into a variable, Panorama will allocate the memory it needs to do that. If you later assign a 3 byte string to that variable, Panorama will release the memory it needed for the variable's former contents, and allocate what it needs for that 3 byte string. If it failed to release that memory, that would be a memory leak. On OS 9 and earlier, this memory used to be called scratch memory, and you had to allocate it in advance. The memory used to hold the intermediate values in the evaluation of a formula used to be part of database memory, but is now a separate 5 megabyte allocation. The ExtendedExpressionStack statement can be used to make it temporarily go back to using database memory for that, or you can use the ExpressionStackSize statement to increase that allocation to a specific number. This would be necessary if the formula contained a fileload( function that loads a large file, or a variable that contains a large amount of data. I don't know of anything specific to the clipboard but the clipboard() function would be part of a formula, and might require a larger expression stack, if there were enough data in there. Panorama has a 32K limitation with regard to editing text. This means that a cell in a text field might hold more than 32K but you wouldn't be able to open the data cell for editing. If you pasted more than 32K into the cell, you could run up against that limitation. Dave At 12:01 PM -0700 5/24/11, designer at quickdata.com wrote: >I think this points to a need I mentioned a >while back. Though it has come up from time to >time in various questions/posts, I have not seen >one unified source to refer to that covers every >aspect of Panorama memory usage. >What I'm imagining is a description of the >initial memory setup for both Mac AND PC - for >example, do they both pull from a general pool, >as required. That must not be quite accurate or >there would be no need to Assign Memory in >Preferences. Or does Assigning memory mean it is >"guaranteed" and can't be taken by some app that >is launched later while Panorama is still in >session. >There there are those temporary adjustments - >like when you have a LOT if data in the >clipboard that has been copied from the result >of SQL Manager or Excel. And I think there was a >second temporary "extention" that could be made. >I'm sure I can search for these issues and find >answers, but Memory questions seem to appear >over and over. T'would be nice if they were all >answered in one .pdf available from the Panorama >web site and/or part of the documentation. >That's my story and I'm sticking to it. >Wait a minute, what was I taking about, can't remember. >Paul >QuickData > > >Robert Ameeti writes: >> >>>>3) What's the best way to increase Panorama's >>>>memory related to whatever is causing these >>>>crashes? >>> >>>Again, no, other than purchasing more RAM. >> >> >>Huh? As I understand it, we are still having >>to allocate within Panorama a specific amount >>of memory for Panorama. Panorama was running >>over 50% memory usage, and I had to up the >>allocation within Panorama for it to grab more >>memory at startup. Not knowing this, I >>purchased more memory, added it to the computer >>and no memory usage change was noted until I >>upped the allocation within Panorama. I did not >>like this but as this is Panorama, I went with >>it. Why would Jeff not too fall into this >>situation whereby he might need to allocate >>more memory to Panorama? >> >> >> >>At 5:27 PM -0700, 5/23/11, James Rea wrote: >>>On 5/23/11 at 5:06 PM, jeff_gold at state.ga.weo.us (Jeff Gold) wrote: >>>>1) Could the ExecuteEveryMinute statement >>>>somehow be using more and more memory the >>>>longer it runs >>> >>>This seems unlikely. We have a server doing >>>the exact same thing and it runs for months at >>>a time or more. Generally it never crashes, >>>though sometimes we have to restart it for >>>maintenance. >>>>if so, is there a way to "reset" Panorama >>>>automatically since there are no other >>>>procedures running on it, to reset or clear >>>>used memory from time to time? >>> >>>Other than quitting or restarting the app, no. >>>However, other than for database memory, >>>Panorama uses general system memory. So if you >>>really were running out of memory I would >>>expect the system to run slower and slower, >>>then you would get a VM paging error and the >>>system would have to be rebooted. If it is >>>simply that Panorama crashes I don't think you >>>are seeing a memory leak. >>>>2) Is there a way to monitor Panorama's >>>>available memory so I can know when it is >>>>about to crash? >>> >>>No, because there is no separate Panorama >>>memory -- it's pulling from the general system >>>pool. >>> >>>Jim Rea >> >>--? >><><><><><><><><><><><><> >>Robert Ameeti - ePro? MailTo:robert at ameeti.net >>(949) 422-6866 FAX (267) 222-6866 >>PC & Mac computer specialist >>Puritanism: The haunting fear that someone, somewhere, may be happy. >> -- H. L. Mencken >><><><><><><><><><><><><> >>_______________________________________________ >>Qna mailing list >>Qna at provue.com >>http://provue.com/mailman/listinfo/qna > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From allen at macprosolutions.com Tue May 24 20:05:50 2011 From: allen at macprosolutions.com (Allen Cleaton) Date: Tue, 24 May 2011 23:05:50 -0400 Subject: Open Cash Drawer Message-ID: <66392D91-BC7E-44CC-836D-97E83D0F7325@macprosolutions.com> I'm trying to open a cash drawer which is connected to a receipt printer. The open drawer command that the printer needs to send to the cash drawer is ASCII 7. It seems I need to use chr("7") for this but I don't understand what command is used to transmit this to the printer. Can anyone enlighten me? Allen Cleaton Business Sales Representative MacPro Virginia's Apple Specialist 8026A W. Broad St. Richmond, VA 23294 804-497-8710 705 W. Main St. Charlottesville, VA 22903 434-806-0793 Allen at macprosolutions.com http://www.macprosolutions.com We're here to help Recipient of Apple's Commitment To Excellence Award P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From warren_rekow at speedyquick.net Tue May 24 21:21:18 2011 From: warren_rekow at speedyquick.net (Rekow Warren) Date: Tue, 24 May 2011 22:21:18 -0600 Subject: Open Cash Drawer In-Reply-To: <66392D91-BC7E-44CC-836D-97E83D0F7325@macprosolutions.com> References: <66392D91-BC7E-44CC-836D-97E83D0F7325@macprosolutions.com> Message-ID: Years past when Macs still had printer ports the dialprinter script command was used to send character strings to printers, as in "dialprinter chr(7)". This command is still in the Panorama docs, but perhaps it does nothing on current Macs? I just tried "dialprinter chr(12)" (form feed) and got neither a response from the printer nor an error report. On May 24, 2011, at 9:05 PM, Allen Cleaton wrote: I'm trying to open a cash drawer which is connected to a receipt printer. The open drawer command that the printer needs to send to the cash drawer is ASCII 7. It seems I need to use chr("7") for this but I don't understand what command is used to transmit this to the printer. Can anyone enlighten me? Allen Cleaton -------------- next part -------------- An HTML attachment was scrubbed... URL: From csw at me.com Tue May 24 22:02:30 2011 From: csw at me.com (Watts Chris) Date: Tue, 24 May 2011 22:02:30 -0700 Subject: Open Cash Drawer In-Reply-To: References: <66392D91-BC7E-44CC-836D-97E83D0F7325@macprosolutions.com> Message-ID: <5B0E3455-8897-4706-B77D-8C376E99883F@me.com> Codemercs.com, or more specifically, http://codemercs.com/index.php?id=127&L=1 Iowarrior. Works like a dream. Chris Sent from my iPad On May 24, 2011, at 9:21 PM, Rekow Warren wrote: > Years past when Macs still had printer ports the dialprinter script command was used to send character strings to printers, as in "dialprinter chr(7)". This command is still in the Panorama docs, but perhaps it does nothing on current Macs? I just tried "dialprinter chr(12)" (form feed) and got neither a response from the printer nor an error report. > > > On May 24, 2011, at 9:05 PM, Allen Cleaton wrote: > > I'm trying to open a cash drawer which is connected to a receipt printer. The open drawer command that the printer needs to send to the cash drawer is ASCII 7. It seems I need to use chr("7") for this but I don't understand what command is used to transmit this to the printer. Can anyone enlighten me? > > Allen Cleaton > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce_de_benedictis at mac.com Tue May 24 21:52:23 2011 From: bruce_de_benedictis at mac.com (Bruce De Benedictis) Date: Tue, 24 May 2011 21:52:23 -0700 Subject: Open Cash Drawer In-Reply-To: <66392D91-BC7E-44CC-836D-97E83D0F7325@macprosolutions.com> Message-ID: You probably need to look into the CUPS interface. Go to http://localhost:631 and check out the Help section, particularly dealing with command line printing. Bruce De Benedictis > I'm trying to open a cash drawer which is connected to a receipt > printer. The open drawer command that the printer needs to send to > the cash drawer is ASCII 7. It seems I need to use chr("7") for this > but I don't understand what command is used to transmit this to the > printer. Can anyone enlighten me? > > Allen Cleaton > Business Sales Representative > MacPro > Virginia's Apple Specialist > 8026A W. Broad St. > Richmond, VA 23294 > 804-497-8710 > 705 W. Main St. > Charlottesville, VA 22903 > 434-806-0793 > Allen at macprosolutions.com > http://www.macprosolutions.com > We're here to help > > Recipient of Apple's Commitment To Excellence Award > > P > Please consider the environment before printing this e-mail > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From steve at tlwsolutions.com Thu May 26 03:38:11 2011 From: steve at tlwsolutions.com (steve middleton) Date: Thu, 26 May 2011 06:38:11 -0400 Subject: Creating A Dictionary Message-ID: Hello, I would like to create a dictionary using "InitializeDictionary" statement. The code to build the dictionary is in a different database than the database that contains the data that I want to build the dictionary from. What is the trick to getting this to work? Or is there a better way? I am hoping that this approach is the best way to transfer data from one database to another, I have many fields to process. I am looking to use this instead of the lookup function or should I use the arraybuild statement or function? What I am hoping to accomplish is to have one database as the interface, record editing and creation for my other 12 databases. I am thinking this approach will allow a smoother and simpler way to create the interface and do record error checking before the records are created or edited. It should also consolidate all of the procedures I currently have in all the other database to one place. What are the pros and cons of this approach? I am currently using the LiveClairvoyance in several databases for lookups and I love the power, flexibility and elegance of this statement. Thanks Steve Middleton -------------- next part -------------- An HTML attachment was scrubbed... URL: From tesoroni at gmail.com Thu May 26 06:01:29 2011 From: tesoroni at gmail.com (Dario Tesoroni) Date: Thu, 26 May 2011 15:01:29 +0200 Subject: Adding single items of 2 arrays Message-ID: <766C64A9-2933-4A9C-8F2B-F0014CB1A8A9@GMAIL.COM> hi there? everything fine? Is there a way to sum all the elements of 2 arrays, keeping the results separate? Not like arraynumerictotal (the total sum) but something like that: arrayone: 2,5,7,25,100 arraytwo: 5,8,10,10,2 arrayresult: 7,13,17,35,102 thank you in advance and best regards Dario Tesoroni -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff_gold at state.ga.weo.us Thu May 26 07:11:01 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Thu, 26 May 2011 10:11:01 -0400 Subject: Adding single items of 2 arrays In-Reply-To: <766C64A9-2933-4A9C-8F2B-F0014CB1A8A9@GMAIL.COM> References: <766C64A9-2933-4A9C-8F2B-F0014CB1A8A9@GMAIL.COM> Message-ID: Maybe someone can teach me a new Panorama statement to do this in one step, but this is the best way I can think to do it. FYI... This routine accounts for the possibility arrayone and arraytwo are different sizes. If that's not necessary, this could be simplified quite a bit: local arrayone,arraytwo,arraythree,arrayonesize,arraytwosize,arraypointer,maxarraysize arrayone="2,5,7,25,100" arraytwo="5,8,10,10,2" arrayonesize = ArraySize(arrayone,",") arraytwosize = ArraySize(arraytwo,",") maxarraysize = ?(arrayonesize>arraytwosize,arrayonesize,arraytwosize) arraypointer = maxarraysize arraythree = "" loop arraythree = Str(?(arraypointer>arrayonesize,0,Val(Array(arrayone,arraypointer,",")))+?(arraypointer>arraytwosize,0,Val(Array(arraytwo,arraypointer,","))))+?(arraypointer=maxarraysize,"",","+arraythree) arraypointer = arraypointer - 1 until arraypointer = 0 message arraythree On May 26, 2011, at 9:0129 AM, Dario Tesoroni wrote: > hi there? everything fine? > Is there a way to sum all the elements of 2 arrays, keeping the results separate? > Not like arraynumerictotal (the total sum) but something like that: > arrayone: 2,5,7,25,100 > arraytwo: 5,8,10,10,2 > arrayresult: 7,13,17,35,102 > > thank you in advance and best regards > Dario Tesoroni > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From steve at tlwsolutions.com Thu May 26 07:21:01 2011 From: steve at tlwsolutions.com (steve middleton) Date: Thu, 26 May 2011 10:21:01 -0400 Subject: Database Programming Approach and Creating a Dictionary Message-ID: Hello, Sorry if this is a duplicate request. I am still having email issues. I did not receive this email so I am not sure if the list did. I would like to create a dictionary using "InitializeDictionary" statement. The code to build the dictionary is in a different database than the database that contains the data that I want to build the dictionary from. What is the trick to getting this to work? Or is there a better way? I am hoping that this approach is the best way to transfer data from one database to another, I have many fields to process. I am looking to use this instead of the lookup function or should I use the arraybuild statement or function? What I am hoping to accomplish is to have one database as the interface, record editing and creation for my other 12 databases. I am thinking this approach will allow a smoother and simpler way to create the interface and do record error checking before the records are created or edited. It should also consolidate all of the procedures I currently have in all the other database to one place. What are the pros and cons of this approach? I am currently using the LiveClairvoyance in several databases for lookups and I love the power, flexibility and elegance of this statement. Thanks Steve Middleton -------------- next part -------------- An HTML attachment was scrubbed... URL: From gary at yonaites.com Thu May 26 07:25:26 2011 From: gary at yonaites.com (Gary Yonaites) Date: Thu, 26 May 2011 07:25:26 -0700 Subject: Adding single items of 2 arrays In-Reply-To: <766C64A9-2933-4A9C-8F2B-F0014CB1A8A9@GMAIL.COM> References: <766C64A9-2933-4A9C-8F2B-F0014CB1A8A9@GMAIL.COM> Message-ID: <24BB9749-A5C5-4172-B630-52E32A61D50D@yonaites.com> Here is a little test I just ran using your array numbers: local firstarray, secondarray,finalarray firstarray="2,5,7,25,100" secondarray="5,8,10,10,2" arrayfilter firstarray,finalarray,",",str(val(import())+val(array(secondarray,seq(),","))) message finalarray The finalarray showed "7,13,17,35,102" as the result. The arrayfilter takes the value of each element from firstarray and adds it to the value of the corresponding element of secondarray and converts the result back to a string as the matching element of finalarray. Gary gary at yonaites.com On May 26, 2011, at 6:01 AM, Dario Tesoroni wrote: > 5,8,10,10,2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From botengapanorama at gmail.com Thu May 26 12:52:22 2011 From: botengapanorama at gmail.com (dr. A.S.J. Botenga) Date: Thu, 26 May 2011 21:52:22 +0200 Subject: Question Message-ID: Referring to my mail of 18th may (perhaps a bit frightening due to the added procedure with also Dutch text) I am curious if there might be an answer to my question, regarding the point and the comma. In short. In my database an given large amount, using #.,## in the design, is written: 1.234.567,89 like Apple does that for customers in Europa. Copying this amount in panorama 5.5.2 via local or clipboard in a text field and using the pattern function gives: 1.234.567.89 (The thousand separators are not relevant for the problem) Copying this amount directly and pasting it in any field is working alright but in a procedure a multiplication by hundred is often the case. Apparently a comma (before cents) is not recognized any more in a given memory, which is also the explanation of a multiplication by hundred in the design of the Width field after copying a line there. Is there a way to solve this problem Of minor importance was the following observation. When an amount above one million from a float field is copied a message gives a figure that cannot be related to the original amount. Is there an explication or a correlation that I missed. Sylvia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at provue.com Thu May 26 15:43:26 2011 From: jim at provue.com (James Rea) Date: Thu, 26 May 2011 15:43:26 -0700 Subject: Creating A Dictionary In-Reply-To: Message-ID: On 5/26/11 at 3:38 AM, steve at tlwsolutions.com (steve middleton) wrote: >I would like to create a dictionary using "InitializeDictionary" statement. >The code to build the dictionary is in a different database than the >database that contains the data that I want to build the dictionary from. >What is the trick to getting this to work? Or is there a better way? > >I am hoping that this approach is the best way to transfer data from one >database to another, I have many fields to process. I am looking to use >this instead of the lookup function or should I use the arraybuild statement >or function? I don't think a dictionary will help here. Where it could help is if you did something like this. Start in database A Collect fields from database A into dictionary in local variable Switch to database B copy fields out of dictionary into fields in dictionary B. I've used this technique and it can be very handy. But if you don't want to switch databases, the dictionary doesn't really help, as you would have to use lookup( or arraybuild to get the data from the second database anyway. Jim From steve at tlwsolutions.com Thu May 26 18:33:34 2011 From: steve at tlwsolutions.com (steve middleton) Date: Thu, 26 May 2011 21:33:34 -0400 Subject: Creating A Dictionary In-Reply-To: References: Message-ID: Hello Jim, I sent this to QNA using a gMail account. Did you respond through QNA? If you look at the thread on Provue.com there are no replies. I have not received a reply from anyone except you for my last several posts. Any way, I actually did succeed with a test that used a local variable and built a dictionary from a different database. Here is the code. fileglobal vtooling,toolNumber local vDictionary vtooling=vEstimate OpenFile "Estimates" Find EstimateNumber=val(grabfilevariable("Untitled","vtooling")) initializedictionary vDictionary, "toolNumber",ToolNumber1 OpenFile "Untitled" Message dumpdictionary(vDictionary) So what would be the fastest approach? lookup( or arraybuild? I will use this to copy the data from other databases into variables in my Main database. It will need to lookup from databases with many fields and thousands of records. Thanks Jim, Steve Middleton On Thu, May 26, 2011 at 6:43 PM, James Rea wrote: > On 5/26/11 at 3:38 AM, steve at tlwsolutions.com (steve middleton) wrote: > > I would like to create a dictionary using "InitializeDictionary" >> statement. >> The code to build the dictionary is in a different database than the >> database that contains the data that I want to build the dictionary from. >> What is the trick to getting this to work? Or is there a better way? >> >> I am hoping that this approach is the best way to transfer data from one >> database to another, I have many fields to process. I am looking to use >> this instead of the lookup function or should I use the arraybuild >> statement >> or function? >> > > I don't think a dictionary will help here. Where it could help is if you > did something like this. > > Start in database A > Collect fields from database A into dictionary in local variable > Switch to database B > copy fields out of dictionary into fields in dictionary B. > > I've used this technique and it can be very handy. > > But if you don't want to switch databases, the dictionary doesn't really > help, as you would have to use lookup( or arraybuild to get the data from > the second database anyway. > > Jim > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tesoroni at gmail.com Fri May 27 01:21:55 2011 From: tesoroni at gmail.com (Dario Tesoroni) Date: Fri, 27 May 2011 10:21:55 +0200 Subject: Adding single items of 2 arrays Message-ID: ah! Life is so hard for non-programmers but then, with all the help out there, life is easy again! Thank you Jeff and Gary, I'll try both: Gary's solution is much simpler and neater and Jeff's could be an interesting tutorial on the use of statements related to arrays (looks like you are using all of them in just one procedure!) best regards Dario Tesoroni -------------- next part -------------- An HTML attachment was scrubbed... URL: From BillArleneBush at cs.com Fri May 27 08:42:20 2011 From: BillArleneBush at cs.com (BillArleneBush at cs.com) Date: Fri, 27 May 2011 11:42:20 -0400 (EDT) Subject: Question Message-ID: <118d4.290ce47.3b11205c@cs.com> In a message dated 5/26/11 6:34:30 PM, qna-request at provue.com writes: << Subject: Question In my database an given large amount, using #.,## in the design, is written: 1.234.567,89 like Apple does that for customers in Europa. >> If you want a comma replaced by a period and a period replaced by a comma, may be the follow code will be a hint. First the comma is replaced by the character c, then the period replaced by a comma, and then the c is replaced by a period. Use in copy or paste procedures. Local amount,result amount="1.234.567,89" result =replacemultiple(amount,",\.\c", "c\,\." ,"\") message result ; 1,234,567.89 Bill Bush From josh.davenport at myfairpoint.net Mon May 30 14:12:26 2011 From: josh.davenport at myfairpoint.net (Josh Davenport) Date: Mon, 30 May 2011 17:12:26 -0400 Subject: Recursion depth Message-ID: <657A862D-DA47-4D94-B5BE-CE136C8EA482@myfairpoint.net> I ran a recursive call that went over 8 deep, without errors I could see. Is the 8 deep limitation gone? No parameters were passed back up. Just crawled a tree and wrote to a global Version 5.5 in Rosetta under snow leopard 64 bit. Thanks, Josh From dthmpsn1 at illinois.edu Mon May 30 20:11:19 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Mon, 30 May 2011 22:11:19 -0500 (CDT) Subject: Recursion depth In-Reply-To: <657A862D-DA47-4D94-B5BE-CE136C8EA482@myfairpoint.net> References: <657A862D-DA47-4D94-B5BE-CE136C8EA482@myfairpoint.net> Message-ID: <20110530221119.CRF83806@expms1.cites.uiuc.edu> >I ran a recursive call that went over 8 deep, without errors I could see. Is the 8 deep limitation gone? No parameters were passed back up. Just crawled a tree and wrote to a global > >Version 5.5 in Rosetta under snow leopard 64 bit. > Yes. It's gone. I can't remember what the new limit is. I think it might be 32 or 64. With all the custom statements that call other custom statements, 8 wasn't nearly enough, so the limit was increased. dave From dthmpsn1 at illinois.edu Tue May 31 08:36:41 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 31 May 2011 10:36:41 -0500 Subject: Recursion depth In-Reply-To: <20110530221119.CRF83806@expms1.cites.uiuc.edu> References: <657A862D-DA47-4D94-B5BE-CE136C8EA482@myfairpoint.net> <20110530221119.CRF83806@expms1.cites.uiuc.edu> Message-ID: At 10:11 PM -0500 5/30/11, David Thompson wrote: >I can't remember what the new limit is. I think it might be 32 or 64. Wrong on both counts. I just tested it, and the limit is now 128. It's 129 if you count the main procedure. Dave From jayschille at gmail.com Tue May 31 15:07:36 2011 From: jayschille at gmail.com (Jay Schille) Date: Tue, 31 May 2011 15:07:36 -0700 Subject: Supergetpassword anomalies In-Reply-To: References: <657A862D-DA47-4D94-B5BE-CE136C8EA482@myfairpoint.net> <20110530221119.CRF83806@expms1.cites.uiuc.edu> Message-ID: When I try using SuperGetPassword in an .Initialize procedure, I get the following two error messages: "SetPerameterError: Parameter 1 is not a valid variable." Then: "Parameter does not exist." Here's the relevant code: fileglobal fPassword fPassword="" supergetpassword fPassword if fPassword="Sunt lacrimae rerum" //message "Correct" shortcall openUp else Message "Sorry, wrong password. Try again." supergetpassword fPassword if fPassword ? ""Sunt lacrimae rerum" Message "Wrong again." supergetpassword fPassword if fPassword ? ""Sunt lacrimae rerum" Message "Strike three." stop else shortcall openUp endif else shortcall openUp endif else shortcall openUp endif stop What's going on here? I think parameter 1 is the fileglobal variable fPassword, and it looks ok to me. When I run this code from the procedure itself in debug mode, it works fine. (But in order to run it that way, the database has to already be open.) -- Jay Schille