Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: VFP 9: Filt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 823 of 861
Post > Topic >>

Re: VFP 9: Filters Implemented with SQL

by "Stefan Wuebbe" <stefan.wuebbe@[EMAIL PROTECTED] > Jan 15, 2008 at 10:35 AM

"Gene Wirchenko" <genew@[EMAIL PROTECTED]
> schrieb im Newsbeitrag 
news:7d03o35qfe3vt9sjlb4obdtm82qrscgn80@[EMAIL PROTECTED]
>
>>Then I'd have a look at all involved tables and their CDX files.
>
>     They seem to be fine though I really do not know what to do to
> check them.  I opened the table and listed it with each of the tags in
> effect.  I saw nothing odd.

I'd probably try to (backup the real table files and) create a new
test.DBF (and CDX) from scratch, adding only a few lines of test
content first and later the entire content step by step.
Beyond that, I'd try a DBF Repair tool like Abri "Recover" or "FoxFix".


>     Sometimes, the code works, and sometimes, it does not.  One point
> that I have not mentioned previously.  When the code fails, it fails
> at the beginning of the browse.  First, the browse grid appears, then
> the contents do.  I usually get some of the contents, then boom!  I do
> not recall a case where the browse has blown up after it has completed
> its initial display.

So you've got a quite complex Browse statement but do not use the
"Last" clause (because Set Resource is Off), right?
Can you track down the error to some data dependencies, e.g.
suspicious content like say filter results containing .Null. values or not
or Length() of certain content exceeding some limits like the 120/240
difference depending on Set Collate?


>     I have not been able to figure out a pattern.  In following your
> suggestions, I finally did get an error indicating a statement in the
> browse function method.  (Previously, they have been for the browse
> statement.)  It turned out to be the SQL-select.  That did not help.

Do you use Cast() for all calculated columns to avoid truncation of
fields in subsequent rows depending on the first line found by the SQL
engine?


>     I think that I have some sort of Heisenbug here.  For example, I
> tried set coverage, and it changed the behaviour of the program!

Hu! <s>



hth
-Stefan



-- 
 |\_/| ------ ProLib - programmers liberty -----------------
 (.. ) Our MVPs and MCPs make the Fox run....
  - /  See us at www.prolib.de or www.AFPages.de
 -----------------------------------------------------------
 




 6 Posts in Topic:
VFP 9: Filters Implemented with SQL
Gene Wirchenko <genew@  2008-01-03 17:45:59 
Re: VFP 9: Filters Implemented with SQL
Gene Wirchenko <genew@  2008-01-05 23:30:39 
Re: VFP 9: Filters Implemented with SQL
"Stefan Wuebbe"  2008-01-06 13:24:46 
Re: VFP 9: Filters Implemented with SQL
Gene Wirchenko <genew@  2008-01-06 17:56:44 
Re: VFP 9: Filters Implemented with SQL
"Stefan Wuebbe"  2008-01-15 10:35:07 
Re: VFP 9: Filters Implemented with SQL
Gene Wirchenko <genew@  2008-01-15 18:22:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 1:31:04 CDT 2008.