Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table buffering error
Message
 
À
06/11/2001 16:15:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00577587
Message ID:
00578224
Vues:
35
That code in the command window worked and the record was at the right product.

When I first took over this system from the guy who left the company I used "?" to help debug and it showed up on the form itself. I soon switch to messageboxes. The only time I get anything on the screen is when I enter things in the command window.

The ShowWindow property of the form is "1 - In Top-Level Form".

BTW - I really do appreciate all this help.

>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.
>>
___________________________
Kenneth Wonderley
http://www.wonderley.com


...the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness and self-control.
Galatians 5:22 & 23
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform