Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table buffering error
Message
From
06/11/2001 16:15:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00577587
Message ID:
00578213
Views:
33
If _tally returned 0, that is means no invoice lines were found. One of the cool things about VFP is the ability to test code right in the development environment, and in the command window. Test the query in the command window (with the database open):
lnInvoice_ID = 31984
Select * from InvoiceDetail Where Invoice_ID = lnInvoice_ID ;
    into cursor InvLinesCursor
browse
By screen, I don't mean the form. I mean a white (usually) area behind (or underneath) the form. I wouldn't think there would be much activity going on there. Maybe there is not a VFP screen behind the form. What is the ShowWindow property of the form set to?

>The screen is a pretty busy one so if it is printing results, I'm not seeing them. Remember, I'm having to run the EXE file, not the form interactively.
>(I think I mentioned that to you and not Tom)
>
>I added your changes and because I did not see the reslults of the "?" I added another message box to just before the Scan command:
>MessageBox(str(_tally),0,"Records Selected")
>It returns 0. That should work too right?
>
>Because I am running the EXE file, I'm not sure what I would enter in the command window. I tried
>
>select invLinesCursor
>
>And it says "ALIAS 'INVLINECURSOR' is not found. I think that would probably be right though since I made the cursor using the EXE file, but I thought I'd give it a try.
>
>Doing this:
>
>? indexseek (94, .t., 'product', 'product_id')
>
>In the command window returns .T.
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform