<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://cs.pervasive.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PSQL v11</title><link>http://cs.pervasive.com/forums/120.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>PSQL 11 with Crystal Reports X Standard</title><link>http://cs.pervasive.com/forums/thread/47245.aspx</link><pubDate>Fri, 18 Mar 2011 00:25:20 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47245</guid><dc:creator>wowacomputer@yahoo.com</dc:creator><slash:comments>5</slash:comments><comments>http://cs.pervasive.com/forums/thread/47245.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47245</wfw:commentRss><description>&lt;p&gt;Ok I am going absolutely bonkers trying to figure out how to get PSQL 11 &amp;amp; Crystal Reports X Standard to play nice.&amp;nbsp; It appears that only the ODBC driver plays nice with Crystal Reports X as far as passing dates in SQL Command or Stored Procedure.&amp;nbsp; I have tried the Betrive File Data Source, Pervasive OLEDB Driver (which fails to maintain information in Crystal) and a few other things.&amp;nbsp; Of course the ODBC driver is not a licensed feature in Crystal Reports X Standard which adds to the headache but I have found that using a Microsoft Data Link file to the ODBC system datasource gets around that for development, but other issues creep up when running it from the viewer software (Resort Data Processing [RDP]).&amp;nbsp; The issue when using something other than ODBC (even though RDP releases reports that work with Btrieve File Data Source) a Pervasive error about date conversion is thrown.&amp;nbsp; Depending on answers below this might become an issue again.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In this project I have found numerous errors with how PSQL ODBC &amp;amp; OLEDB drivers interprets Select commands when combined with Union Statements, User-Defined-Functions (UDF) etc.&amp;nbsp; For example, if a Select of a Select with union which calls UDF at first level just passes all null arguments to the UDF rather than actually processing the function, move it up to the outer select statement and it will work.&amp;nbsp; Or another.&amp;nbsp; Select of Select w/Where and then grouped to count or sum will ignore the where statement of the inner select.&amp;nbsp; Kind of makes it hard to get anything counted properly when you only want to count based on specific criteria.&amp;nbsp; Or yet another.&amp;nbsp; When attempting to use a temporary table or table variable it will crash the PSQL server all together.&lt;/p&gt;&lt;p&gt;One of the issues is I must union 2 tables to get to the data that needs to be reported.&amp;nbsp; Combined they are about 100 MB.&amp;nbsp; So I have gone the route of stored procedure (SP) to insert just the desired records to a structured table in the database I created then retrieve the desired result out as a table from the SP&amp;nbsp; This also gets me around some of the problems in paragraph 2.&lt;/p&gt;&lt;p&gt;Now I have interesting issues in Crystal.&amp;nbsp; I can add 1 stored procedure and it will execute in Crystal (not from RDP).&amp;nbsp; If I add a second stored procedure and relate appropriately Crystal simply closes generating and unexpected closer report.&amp;nbsp; I have tested the SPs in another application I created as well as the control center and get exactly the results I want.&amp;nbsp; The other application I created uses the Pervasive OLEDB provider.&lt;/p&gt;&lt;p&gt;This particular database is using Btrieve Classic Security &amp;amp; metadata version 1 as it has been updated from older PSQL versions.&amp;nbsp; There is only 1 user associated and any grant statements simply return a message saying they do not matter because the database does not have security. The DSN points to the Pervasive ODBC driver and is fully functional (set to Normal - NOT read only),&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is what I get when I try to call a stored procedure that does the insert to a different table and return the records:&lt;/p&gt;&lt;p&gt;Failed to open a rowset&lt;br /&gt;Details: ADO Error Code: 0x80040e09&lt;br /&gt;Source: Microsoft OLE DB Provider for ODBC Drivers&lt;br /&gt;Description: [Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager][SPEng][Pervasive][ODBC Engine &lt;br /&gt;&lt;br /&gt;Interface]Access denied to a READ-ONLY data source.&lt;br /&gt;SQL State: 42000&lt;br /&gt;Native Error: -5099 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This error is what occured from trying to run the created report in the RDP viewer that used the Microsoft Data Link file pointing to the system DSN all of which reside on the same server.&lt;/p&gt;&lt;p&gt;Logon Failed&lt;br /&gt;Details: ADO Error Code: 0x80004005&lt;br /&gt;Source: Microsoft OLE DB Provider for ODBC Drivers&lt;br /&gt;Description: [Microsoft][ODBC Driver Manager] Data Source name not found and no default driver specified&lt;br /&gt;SQL State: IM002 &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;From what I can tell, it appears that they Crystal crash relates to these two, because I can get them here and there with only 1 stored procedure within crystal as well. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am at a loss can anyone provide some best practices for PSQL 11 with crystal reports?&amp;nbsp; Or shed some light on the above problems.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Does PSQL Support an UPSERT / MERGE Statement</title><link>http://cs.pervasive.com/forums/thread/47655.aspx</link><pubDate>Wed, 27 Apr 2011 15:46:51 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47655</guid><dc:creator>mattwilkinson</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/47655.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47655</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have done a quick search in the docs for this but can&amp;#39;t find a mention of it - does such a command exist?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>please help me , how to use case ... when ... then...</title><link>http://cs.pervasive.com/forums/thread/47707.aspx</link><pubDate>Wed, 04 May 2011 04:04:28 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47707</guid><dc:creator>dc0106@126.com</dc:creator><slash:comments>4</slash:comments><comments>http://cs.pervasive.com/forums/thread/47707.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47707</wfw:commentRss><description>&lt;p&gt;There is a SQL ,&amp;nbsp;but it&amp;nbsp;has happend a error,&amp;nbsp;who can fix it? please helpe me!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Error : [LNA][Pervasive][ODBC Engine Interface][Data Record Manager][SPEng]34: &amp;#39;;&amp;#39; : Syntax error&lt;/p&gt;
&lt;p&gt;There is a syntax error, but&amp;nbsp;I do not know how to fix&amp;nbsp;it!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE SP_SetDrugMaster&lt;br /&gt;(&lt;br /&gt;&amp;nbsp;IN :ID CHAR(8),&lt;br /&gt;&amp;nbsp;IN :BPRICE CHAR(9),&lt;br /&gt;&amp;nbsp;IN :DIN CHAR(8),&lt;br /&gt;&amp;nbsp;IN :TRDNAM CHAR(26),&lt;br /&gt;&amp;nbsp;IN :GENNAM CHAR(26),&lt;br /&gt;&amp;nbsp;IN :DFRM CHAR(12),&lt;br /&gt;&amp;nbsp;IN :PRCDATE CHAR(8),&lt;br /&gt;&amp;nbsp;IN :STRNGTH CHAR(12),&lt;br /&gt;&amp;nbsp;IN :Type CHAR(50)&lt;br /&gt;);&lt;br /&gt;BEGIN&lt;br /&gt;&amp;nbsp;CASE :Type&lt;br /&gt;&amp;nbsp;&amp;nbsp;WHEN &amp;#39;Add&amp;#39; THEN&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;INSERT INTO DrugMaster &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(ID, BPRICE, DIN, TRDNAM, GENNAM, DFRM, PRCDATE, STRNGTH)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(:ID, :BPRICE, :DIN, :TRDNAM, :GENNAM, :DFRM, :PRCDATE, :STRNGTH);&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;WHEN &amp;#39;Update&amp;#39; THEN&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;UPDATE DrugMaster&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SET&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BPRICE = :BPRICE,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DIN = :DIN,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRDNAM = :TRDNAM,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GENNAM = :GENNAM,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DFRM = :DFRM,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PRCDATE = :PRCDATE,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;STRNGTH = :STRNGTH&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WHERE &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ID = :ID;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;WHEN &amp;#39;Delete&amp;#39; THEN&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DELETE FROM DrugMaster WHERE ID = :ID;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;END;&lt;br /&gt;END&lt;/p&gt;</description></item><item><title>Select statement returns no data</title><link>http://cs.pervasive.com/forums/thread/47660.aspx</link><pubDate>Thu, 28 Apr 2011 09:35:37 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47660</guid><dc:creator>hagen681</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/47660.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47660</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;My ddf for the table has two&amp;nbsp;fields&amp;nbsp;i&amp;nbsp;use as parameters for a selection. Both fields are separatly not uniqe, in field one is a object-number und field two is a option number. Each object&amp;nbsp;can have&amp;nbsp;various&amp;nbsp;&amp;nbsp;options. The sum of both fields&amp;nbsp;is uniqe. The&amp;nbsp;data definition&amp;nbsp;is from the original software manufdacturer, i can not ask him for help, and now my problem:&lt;/p&gt;&lt;p&gt;the select statement:&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;p&gt;&lt;font size="2"&gt;select * &lt;/font&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;from&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#5353ff" size="2"&gt;&lt;font color="#5353ff" size="2"&gt;&amp;quot;TEST.BTR&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;where&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (option=1 &lt;/font&gt;&lt;b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;and&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font color="#640032" size="2"&gt;&lt;font color="#640032" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ObjID=88809) &lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;p&gt;but there&amp;nbsp;are definitivly two records with the ObjectID 88809 one with the option=1 and one with the option 2. If i replace the option=1 by option&amp;gt;1 then the result contains both records, but i think option&amp;gt;1 is logical false for&amp;nbsp;the first roe (option=1). I have no idea&amp;nbsp;how to solve this. Is it possible that the ddf-declaration for the option-field is wrong? &lt;/p&gt;&lt;p&gt;best regards&lt;/p&gt;&lt;p&gt;Hagen Schloemer&lt;/p&gt;</description></item><item><title>status code 161</title><link>http://cs.pervasive.com/forums/thread/47549.aspx</link><pubDate>Fri, 15 Apr 2011 09:15:14 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47549</guid><dc:creator>bernard@kel.fr</dc:creator><slash:comments>1</slash:comments><comments>http://cs.pervasive.com/forums/thread/47549.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47549</wfw:commentRss><description>&lt;p&gt;2 PC use the same datas stored on one of them. A licence &amp;quot;Pervasive v11 Workgroup&amp;nbsp;1 user&amp;quot; is installed on each PC but the two users can&amp;#39;t access the datas at the same time. In this case, there&amp;#39;s a status code 161.&lt;/p&gt;
&lt;p&gt;Do I have to&amp;nbsp;replace my current installation from two &amp;quot;Pervasive v11 Workgroup&amp;nbsp;1 user&amp;quot; to one &amp;quot;Pervasive v11 Workgroup&amp;nbsp;1 user&amp;quot; and&amp;nbsp;one &amp;quot;Pervasive v11 Workgroup&amp;nbsp;user count increases 1 user&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Bernard&lt;/p&gt;</description></item><item><title>Equivalent ODBC statement for this ActiveX Control code</title><link>http://cs.pervasive.com/forums/thread/47494.aspx</link><pubDate>Mon, 11 Apr 2011 15:45:59 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47494</guid><dc:creator>mattwilkinson</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/47494.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47494</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We ship out product with just the .DDF files so that when the application starts for the first time the tables are created using the following code:&lt;/p&gt;&lt;p&gt;with VAccessCtl&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .TableName = FileName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .DDFPath = DDFLocl&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; .Location = DDFLocl &amp;amp; MKDName &amp;amp; &amp;quot;.MKD&amp;quot; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rfg = .Open &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Rfg=12 then &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .PageSize = 4096&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .RefreshLocations = True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rfg = .Create(True)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if &lt;br /&gt;&lt;/p&gt;&lt;p&gt;end with &lt;/p&gt;&lt;p&gt;&amp;nbsp;Can someone tell me what the equivalent SQL statement is for the above? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Read 70,000 records once into an array of structures. </title><link>http://cs.pervasive.com/forums/thread/47471.aspx</link><pubDate>Fri, 08 Apr 2011 13:32:16 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47471</guid><dc:creator>bob81947</dc:creator><slash:comments>8</slash:comments><comments>http://cs.pervasive.com/forums/thread/47471.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47471</wfw:commentRss><description>&lt;p&gt;I want to read all the records of a file into a memory array once, at the beginning of the program, and manipulate it there for an incremental listbox view. In another post get next extended was suggested and would be great for filtering etc but is somewhat overkill. I use PowerBasic and have handled upwards of a half million records in a listview. Speed is no problem for any string arrays manipulated in memory. Since the file I want is fairly static, I believe this would be a faster easier way.&lt;/p&gt;
&lt;p&gt;Also it seems that the size of the data buffer is limited to 65,000 or&amp;nbsp;bytes with Get Next Extended.&lt;/p&gt;
&lt;p&gt;With Powerbasic and the file I want was a random file with the same structure, I could read it in one get. The individual string limit is 2 gig.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bob&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Populate a listbox of 70,000 records. Fastest option</title><link>http://cs.pervasive.com/forums/thread/47457.aspx</link><pubDate>Thu, 07 Apr 2011 14:53:08 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47457</guid><dc:creator>bob81947</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/47457.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47457</wfw:commentRss><description>&lt;p&gt;A customer has requested a fuzzy search with incremental matching records loaded into a listbox as each letter is typed. They can use * before, after or not at all to indicate that the it needs&amp;nbsp;to be at the beginning of the field, somewhere in the middle or trailing the field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With every letter typed, the entire file has to be traversed in the case of the non-indexed field. I&amp;#39;m thinking it would be nice to read just certain fields into a memory array or string and search in memory for the records and&amp;nbsp;lookup the&amp;nbsp;partially matching records from the file based on finding the information in the memory array into the listbox. This would be an incremental search.&lt;/p&gt;
&lt;p&gt;Get Next is fine on smaller files but there is a noticeable, annoying wait on larger files..&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to use GET NEXT EXTENDED&amp;nbsp;and how to translate that into individual search array. The purpose&amp;nbsp;is to find just one record where the search criteria may be in any position within the non-indexed field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the fastest way to dump certain fields from a record of a 70,000 record file into a memory array. Doing it just once seems to&amp;nbsp;me to save a lot of time when the user isn&amp;#39;t&amp;nbsp;quite sure of what he is looking for. The field may be a long description of an inventory item or even a comment.&lt;/p&gt;
&lt;p&gt;The user may also be using the lookup several times in one session in a program so I&amp;#39;d probably keep the array till they left the program&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Memory management of the array is not an issue. Powerbasic has extremely fast in memory string handlng.&lt;/p&gt;
&lt;p&gt;With Random Files it&amp;#39;s easy. I just use a single Get and put the entire 70,000 records into a memory variable and search based on the known record size and position. Subgroups are almost instantaneous this way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SQL&amp;nbsp;statement is not an option here.&amp;nbsp;Only&amp;nbsp;btrieve operation code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bob&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Connecting to Pervasive .DTA files With .NET Provider</title><link>http://cs.pervasive.com/forums/thread/47420.aspx</link><pubDate>Tue, 05 Apr 2011 17:52:56 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47420</guid><dc:creator>HLeyes</dc:creator><slash:comments>1</slash:comments><comments>http://cs.pervasive.com/forums/thread/47420.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47420</wfw:commentRss><description>&lt;p&gt;Can someone direct me to the download that would install the .dll on my machine that would enable me to use the PervasiveODEDB provider for data access in a .NET 2008 project?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;HL&lt;br /&gt;Fort Myers, FL&lt;/p&gt;</description></item><item><title>User Function Troubles</title><link>http://cs.pervasive.com/forums/thread/47343.aspx</link><pubDate>Fri, 25 Mar 2011 21:27:39 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47343</guid><dc:creator>dpbouchard</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/47343.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47343</wfw:commentRss><description>&lt;p&gt;Can anyone tell me what is wrong with the below code?&amp;nbsp; Every time I try to run it by calling it with SELECT md(120199) I get the particularly non-helpful error &amp;quot;Expression evaluation error&amp;quot;.&amp;nbsp; The problem I am trying to solve is that my customer&amp;#39;s business app stores some of its dates as integer values with the month as the 1st 2 digits, the day as the next 2, and the year as the last 2.&amp;nbsp; This function taken from a successful SQL Server implementation is meant to return a correct date field.&amp;nbsp; Please don&amp;#39;t suggest that this integer field should be changed to a date field, I know that, but the app is not going to change just for me!&amp;nbsp; Also, I know the leap year functionality isn&amp;#39;t factually correct, but it is for this application.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks in advance for any help! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;CREATE FUNCTION &amp;quot;md&amp;quot; (IN :intDate INTEGER)&lt;br /&gt;RETURNS DATE AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARE :intMonth INTEGER;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARE :intDay INTEGER;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARE :intYear INTEGER;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARE :intCentury INTEGER;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECLARE :strDate CHAR(6);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intDate &amp;lt; 10000 OR :intDate &amp;gt; 123199 THEN &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :strDate = REPLACE(CONVERT(:intDate, CHAR(6)), &amp;#39; &amp;#39;, &amp;#39;0&amp;#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intMonth = CONVERT(SUBSTRING(:strDate, 1, 2), SQL_INTEGER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intDay = CONVERT(SUBSTRING(:strDate, 3, 2), SQL_INTEGER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intYear = CONVERT(SUBSTRING(:strDate, 5, 2), SQL_INTEGER);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intMonth &amp;lt; 1 OR :intMonth &amp;gt; 12 THEN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intDay = 0 THEN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intDay = 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intDay &amp;lt; 1 OR :intDay &amp;gt; 31 THEN &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intMonth = 2 AND :intDay &amp;gt; 29 THEN &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN NULL;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intMonth = 2 AND :intDay = 29 THEN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intDay = 28;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intCentury = 1900;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF :intYear &amp;lt;= 29 THEN&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intCentury = 2000;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET :intYear = :intCentury + :intYear;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN CONVERT(CONVERT(:intYear, CHAR(4)) + &amp;#39;-&amp;#39; + REPLACE(CONVERT(:intMonth, CHAR(2)), &amp;#39; &amp;#39;, &amp;#39;0&amp;#39;) + &amp;#39;-&amp;#39; + REPLACE(CONVERT(:intDay, CHAR(2)), &amp;#39; &amp;#39;, &amp;#39;0&amp;#39;), SQL_DATE);&lt;br /&gt;&lt;br /&gt;END; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Bind controls to a PervasiveOLEDB recordset</title><link>http://cs.pervasive.com/forums/thread/47350.aspx</link><pubDate>Sat, 26 Mar 2011 16:21:35 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47350</guid><dc:creator>DJJenkins99</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/47350.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47350</wfw:commentRss><description>&lt;p&gt;Does anyone know how to bind controls with VB or VBA on a form to a recordset created using PervasiveOLEDB?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I
 know how to create a unbound form but I need to create a subform which 
is harder to do with unbound controls.&amp;nbsp; I tried the ActiveX pervasive 
controls but the results were crude and not very compatible with the MS 
Access programming environment.&lt;/p&gt;&lt;p&gt;(I posted this once already by mistake because I now realize it should be a new thread)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>PervasiveOLEDB returns only one record to a recordset</title><link>http://cs.pervasive.com/forums/thread/47342.aspx</link><pubDate>Fri, 25 Mar 2011 20:33:08 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47342</guid><dc:creator>DJJenkins99</dc:creator><slash:comments>4</slash:comments><comments>http://cs.pervasive.com/forums/thread/47342.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47342</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can anyone tell me why this code is only returning one record from a table with 72 records?&lt;/p&gt;&lt;p&gt;cn.CursorLocation = adUseServer&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.ConnectionString = &amp;quot;Provider=PervasiveOLEDB;Data Source=SPORNTEST0311&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.Open&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rs.Open &amp;quot;POHDR&amp;quot;, cn, adOpenDynamic, adLockBatchOptimistic, adCmdTableDirect&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m using MS Access 2010, PSQL 11 Workgroup edition &lt;br /&gt;&lt;/p&gt;</description></item><item><title>PSQL 11 odbc Error</title><link>http://cs.pervasive.com/forums/thread/47334.aspx</link><pubDate>Fri, 25 Mar 2011 14:34:25 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47334</guid><dc:creator>DJJenkins99</dc:creator><slash:comments>4</slash:comments><comments>http://cs.pervasive.com/forums/thread/47334.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47334</wfw:commentRss><description>&lt;p&gt;I am using MS Access 2010 and PSQL 11 Workgroug edition connecting through ODBC running Windows 7 ultimate.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am trying to connect to a local PSQL 11 table using a PSQL ODBC connection and I am getting this error:&amp;nbsp; &amp;quot;Record is too large&amp;quot;.&amp;nbsp; The explination of the error is as follows:&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt; &amp;quot;You defined or imported a table with records larger than 4K. This error 
occurs when you enter data into the record&amp;nbsp;— not when you define the table 
structure. Redefine the table by making some fields shorter, removing unneeded 
fields, or moving some fields to other tables.&amp;quot; &amp;gt;&amp;gt; &lt;/p&gt;&lt;p&gt;This table belongs to a proprietary system that we have been using for years.&amp;nbsp; The table has less than 20,000 records.&amp;nbsp; When I export all the data to MS SQL Server with the identical table structure I don&amp;#39;t get the same error through ODBC.&lt;/p&gt;&lt;p&gt;Is there a workaround this?&amp;nbsp; Should I use a different method to connect to the table that doesn&amp;#39;t impede performance too much?&amp;nbsp; I cannot change the data or modify the records and I need real time access to the data.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem need 9 licence - buy 3*3 user Pervasive PSQL v11 Workgroup</title><link>http://cs.pervasive.com/forums/thread/47286.aspx</link><pubDate>Tue, 22 Mar 2011 16:59:18 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47286</guid><dc:creator>m.brylowski@jemar.eu</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/47286.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47286</wfw:commentRss><description>&lt;p&gt;&lt;span class="hps"&gt;&lt;span style="font-size:11pt;"&gt;We need&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt; &lt;span class="hps"&gt;9&lt;/span&gt; &lt;span class="hps"&gt;licenses&lt;/span&gt; &lt;span class="hps"&gt;pervasive&lt;/span&gt; &lt;span class="hps"&gt;client&lt;/span&gt;. &lt;span class="hps"&gt;We
bought&lt;/span&gt; &lt;span class="hps"&gt;3&lt;/span&gt; &lt;span class="hps"&gt;of “3&lt;/span&gt; &lt;span class="hps"&gt;user&lt;/span&gt; &lt;span class="hps"&gt;Pervasive&lt;/span&gt; &lt;span class="hps"&gt;PSQL&lt;/span&gt;
&lt;span class="hps"&gt;v11&lt;/span&gt; &lt;span class="hps"&gt;Workgroup”&lt;/span&gt; &lt;span class="hps"&gt;because&lt;/span&gt;
&lt;span class="hps"&gt;we did&lt;/span&gt; &lt;span class="hps"&gt;such as&lt;/span&gt; &lt;span class="hps"&gt;PSQL&lt;/span&gt;
&lt;span class="hps"&gt;v9&lt;/span&gt;.&lt;br /&gt;
&lt;span class="hps"&gt;We have&lt;/span&gt; &lt;span class="hps"&gt;a problem&lt;/span&gt; &lt;span class="hps"&gt;with the&lt;/span&gt; &lt;span class="hps"&gt;installation on&lt;/span&gt; &lt;span class="hps"&gt;SBS2008&lt;/span&gt; &lt;span class="hps"&gt;server or any machines,&lt;/span&gt; &lt;span class="hps"&gt;activates the&lt;/span&gt; &lt;span class="hps"&gt;license&lt;/span&gt; &lt;span class="hps"&gt;for
3&lt;/span&gt; &lt;span class="hps"&gt;users&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;do not&lt;/span&gt; &lt;span class="hps"&gt;want&lt;/span&gt; &lt;span class="hps"&gt;to add&lt;/span&gt;
&lt;span class="hps"&gt;another&lt;/span&gt; &lt;span class="hps"&gt;license&lt;/span&gt;. &lt;/span&gt;&lt;span class="hps"&gt;&lt;span style="font-size:11pt;"&gt;How&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt; &lt;span class="hps"&gt;do we&lt;/span&gt;
&lt;span class="hps"&gt;install that?&lt;/span&gt; &lt;span class="hps"&gt;what&lt;/span&gt; &lt;span class="hps"&gt;we do&lt;/span&gt; &lt;span class="hps"&gt;wrong&lt;/span&gt;?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Mayby I bought wrong what can i do? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Workgroup verus Client edition</title><link>http://cs.pervasive.com/forums/thread/47179.aspx</link><pubDate>Fri, 11 Mar 2011 21:14:03 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47179</guid><dc:creator>DJJenkins99</dc:creator><slash:comments>8</slash:comments><comments>http://cs.pervasive.com/forums/thread/47179.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47179</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;We just upgraded to PSQL 11 server edition from PSQL 10.&amp;nbsp;&amp;nbsp; I have been running PSQL 10 workgroup edition with a local test copy of our server tables on my desktop in order to do development without using server resources.&amp;nbsp; I installed the Client version of PSQL 11 so I can connect to the server.&amp;nbsp; Now my local test database is not accessible.&lt;/p&gt;&lt;p&gt;Do I have also have to install the Workgroup edition of PSQL 11 in order to have access to my local test database?&amp;nbsp; Is it wise to have the client edition and the Workgroup edition of on the same workstation?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Cache engine on W2k3 Terminal Client</title><link>http://cs.pervasive.com/forums/thread/47198.aspx</link><pubDate>Tue, 15 Mar 2011 13:48:01 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:47198</guid><dc:creator>OK-BBN</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/47198.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=47198</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;we&amp;#39;re running PSQL v11 on a Win 2008 64bit Server. A Win2003 Server (32 bit) acts as a Terminalserver. Users are working only on the terminalserver. On the terminalserver is PSQL Client 32 bit installed. (as a Service).&lt;/p&gt;&lt;p&gt;The Problem now is, that I have no acces to the settings in the control center. I want to turn on the cache engine. I check it on, and when restarting the controlcenter, it&amp;#39;s unchecked again. The cache engine really is not working.&lt;/p&gt;&lt;p&gt;Now I tried the setting direct in the registry. Now the cache engine is running, but my application says status code 94. Permission error. On the Server 2008 direct, the application is still running. All modifications I&amp;#39;ve done as adminstrator. Also starting the application.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Have anyone an idea, what I can do to turn the cache engine on the terminalserver on?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Many thanx.&lt;/p&gt;&lt;p&gt;Michael&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Set up a Connection to a Pervasive server on a network</title><link>http://cs.pervasive.com/forums/thread/46989.aspx</link><pubDate>Wed, 23 Feb 2011 09:31:44 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46989</guid><dc:creator>GvG-Consulting@telenet.be</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/46989.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46989</wfw:commentRss><description>Dear,

I always use &amp;quot;System DSN&amp;#39; to make a connection with a DB. (Programming in Visual Studio). Everything works fine.

Now I want to go further on and I am trying not to connect to a local DB but some DB on a network PC.
If i am doing the same, creating a Pervasive ODBC Engine DSN and I fill the Directory Location (for example \\fileserver\DB\001) the test blocks.

I can’t connect.

How do I have to make a connection to a network DB?


tnx

</description></item><item><title>How to get a list of existing databases?</title><link>http://cs.pervasive.com/forums/thread/46955.aspx</link><pubDate>Fri, 18 Feb 2011 19:37:41 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46955</guid><dc:creator>F.Gaudet@maestro.ca</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/46955.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46955</wfw:commentRss><description>Hi all, 

Using a SQL query or storedproc, is there a way to get the list of existing databases in PSQL, as listed in the PCC?

Is using the DTO the only way?

I thought I had read somewhere the DTO was to be deprecated - is this true or something I imagined?

Thanks, FG



</description></item><item><title>PDAC: Calculated fields in TPvQuery?</title><link>http://cs.pervasive.com/forums/thread/46927.aspx</link><pubDate>Thu, 17 Feb 2011 09:44:16 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46927</guid><dc:creator>SlawekT</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/46927.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46927</wfw:commentRss><description>&lt;p&gt;Has anybody noticed this?&lt;/p&gt;
&lt;p&gt;Delphi 2010, Turbo Delphi 2006&lt;/p&gt;
&lt;p&gt;PSQL v11 update 1&lt;/p&gt;
&lt;p&gt;Latest (I think) PDAC (drm.dll 11.1.12.0)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Calculated fields work as expected using PvTable.&amp;nbsp; Using PvQuery, integer fields seem to work, but setting the value in OnCalcFields has no effect.&amp;nbsp; With string fields, exceptions are raised...&amp;nbsp; &lt;/p&gt;
&lt;p&gt;This works with PDAC 9.50 &amp;amp; Turbo Delphi 2006, against PSQL v8.70 and v11 (same as above).&lt;/p&gt;
&lt;p&gt;Slawek&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Is there a separate 64 bit ODBC / OLEDB Driver Download</title><link>http://cs.pervasive.com/forums/thread/46873.aspx</link><pubDate>Mon, 14 Feb 2011 11:26:45 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46873</guid><dc:creator>mattwilkinson</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/46873.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46873</wfw:commentRss><description>&lt;p&gt;I have installed 32 Bit Pervasive v11 on a 64 Bit Windows 7 machine. Some of our applications are .Net Any CPU which means that they will run in a 64 Bit process on a 64 Bit OS, but they cannot find the 64 Bit Driver (as it is not installed by default on a 32 Bit Pervasive Install) so is there somewhere we can download a separate 64 Bit Driver for ODBC / OLEDB to install on this machine. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Enumeration tables &amp; Databases</title><link>http://cs.pervasive.com/forums/thread/46853.aspx</link><pubDate>Fri, 11 Feb 2011 07:45:40 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46853</guid><dc:creator>luc@scriptingit.be</dc:creator><slash:comments>3</slash:comments><comments>http://cs.pervasive.com/forums/thread/46853.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46853</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently working on a &amp;#39;proof of concept&amp;#39; for a new reporting tool based on pervasive databases,&amp;nbsp;to&amp;nbsp;have a generic approach for the user I need to have a list of all available databases + all available tables in a selected database generated during runtime&lt;/p&gt;
&lt;p&gt;Is a code snippet C# or Vb available which ennumerates databases and enummerates tables in a selected database?&lt;/p&gt;
&lt;p&gt;Thx for your quick response!&lt;/p&gt;
&lt;p&gt;Grtz,&lt;/p&gt;
&lt;p&gt;Luc&lt;/p&gt;</description></item><item><title>BTRV Error Code 10</title><link>http://cs.pervasive.com/forums/thread/46793.aspx</link><pubDate>Mon, 07 Feb 2011 17:27:15 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46793</guid><dc:creator>mgregory</dc:creator><slash:comments>1</slash:comments><comments>http://cs.pervasive.com/forums/thread/46793.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46793</wfw:commentRss><description>&lt;p&gt;I have a client with Btrieve 6.15.&amp;nbsp; They have been running fine up until a week ago.&amp;nbsp; They are now getting a BTRV Error 10 when they try to run this one report.&amp;nbsp; I do not have access to the workstations or server.&amp;nbsp; It happens at the same point on different workstations.&amp;nbsp; From what they tell me over the phone everything sounds correct.&amp;nbsp; They confirmed the settings are the same we have used for years.&amp;nbsp; Can anyone help me with what to look for or what to ask?&amp;nbsp; IT says nothing has changed and they do not have Pervasive or any programs requiring Pervasive on the server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item><item><title>Pervasive Client Install</title><link>http://cs.pervasive.com/forums/thread/46680.aspx</link><pubDate>Thu, 27 Jan 2011 15:41:40 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46680</guid><dc:creator>ken@thegeneralstore.com</dc:creator><slash:comments>4</slash:comments><comments>http://cs.pervasive.com/forums/thread/46680.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46680</wfw:commentRss><description>&lt;p&gt;Working with a client using Win 2008 Server (64 bit) and Windows 7 Pro workstations (64 bit).&amp;nbsp; They purchased the 32 bit Pervasive C/S.&amp;nbsp; Clients connect to the server fine (not domain members), and recognize the PSQL engine.&amp;nbsp; However....two issues:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; To make any changes at all in the Control Center on the workstations, we must navigate to the \Pervasive Software.....\..\..\bin folder, right click pcc.exe and &amp;#39;Run as Administrator&amp;#39;.&amp;nbsp; If this is not done, any changes made in the PCC will not be saved.&amp;nbsp; Is this by design?&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; To use the software that requires PSQL, we must have the option &amp;#39;Embedded Spaces&amp;#39; unchecked in the pcc.&amp;nbsp; However, even when we turn off the option, our software generates an &amp;#39;Error Code 11 - The specified filename is invalid&amp;#39;.&amp;nbsp; This is the same error we get if Embedded Spaces is left checked in the pcc....Again, pcc shows this option as OFF (we used the &amp;#39;run as administrator&amp;#39; option directly on pcc.exe.....yet we still get the error.&amp;nbsp; It almost appears as though PSQL Client is still looking for Embedded spaces even though we have turned it off.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;We did the server configuration in our offices, then shipped the server to the client.&amp;nbsp; We made the necessary changes to pcc in the server with no problems, and the software runs normally on the server with no errors.&lt;/p&gt;
&lt;p&gt;Users on the&amp;nbsp;workstations are Adminsitrator level.&amp;nbsp; All workstation users have unique server accounts, and are members of a security group that has full permissions to the shared resource.&lt;/p&gt;
&lt;p&gt;Pervasive server is installed to the defaults on the server, and client to the defaults on the workstations.&amp;nbsp; Network share is on a separate drive letter.&lt;/p&gt;</description></item><item><title>Enlist Transaction ADO.NET</title><link>http://cs.pervasive.com/forums/thread/46513.aspx</link><pubDate>Tue, 11 Jan 2011 21:05:17 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46513</guid><dc:creator>JimB</dc:creator><slash:comments>2</slash:comments><comments>http://cs.pervasive.com/forums/thread/46513.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46513</wfw:commentRss><description>&lt;p&gt;What are current plans concerning support for Enlist Transaction in the ADO.NET provider for Framework 4? If I create a connection for the Entity Data Model which allows enlist transaction, the connect() succeeds, but gives an error on the first access to the database. If the connection does not enlist, then I can access data, but I&amp;#39;m in the neverland of performing operations without transactions. Yuck!&lt;/p&gt;
&lt;p&gt;It is my understanding that you do not support Enlist at this time because you do not support distributed transactions, and the enlisted connection may be escalated to a distributed transaction by the .NET transaction manager. Do you plan to add support for distributed transactions in the future, and if so, what is the timeline?&lt;/p&gt;</description></item><item><title>Problem with Pervasive ADO.NET Provider and EntityFramework in VS 2010</title><link>http://cs.pervasive.com/forums/thread/46627.aspx</link><pubDate>Mon, 24 Jan 2011 13:48:46 GMT</pubDate><guid isPermaLink="false">3741b99c-ad24-4023-9eca-ddf558b8b674:46627</guid><dc:creator>krzewinski@sitstudio.pl</dc:creator><slash:comments>11</slash:comments><comments>http://cs.pervasive.com/forums/thread/46627.aspx</comments><wfw:commentRss>http://cs.pervasive.com/forums/commentrss.aspx?SectionID=120&amp;PostID=46627</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;ve installed Pervasive ADO .NET Provider 3.5 from pervasive website. the file name is PSQL-SDK-Dotnet3.5-11.00.263.000.exe&lt;/p&gt;&lt;p&gt;Unfortunatelly i can&amp;#39;t generate an EF proxy while there following error apears:&lt;/p&gt;&lt;p&gt;Unable to generate the model because of the following exception: &amp;#39;An error occurred while executing the command definition. See the inner exception for details.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pervasive.Data.SqlClient.Lna.k: [LNA][Pervasive][ODBC Engine Interface]Numeric value out of range. &lt;/p&gt;&lt;p&gt;I found you have a patch for dealing with that problem, but when i install it, the Pervasive provider disapears from the providers list in VS 2010.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How can I get this fixed?&lt;/p&gt;&lt;p&gt;Best regards&lt;/p&gt;&lt;p&gt;Peter &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>