Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table buffering error
Message
 
À
06/11/2001 14:40:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00577587
Message ID:
00578171
Vues:
34
Done, it worked just fine too. Both records changed, no errors.

I have not set a break point and I don't really know how.
I suspect to do that you have to run the form interactively.
I've never been able to do that. I always have to build and run the exe file.
If I try to run the main screen directly I get the error.
"Variable STARTDIRECTORY not found."
The creator of this sytem does all sorts of stuff with an INI file.
It may have to do with that.
I could probably create some variables first and then run the main form interactively.

>Okay, try it again with the change below (to change 2 records).
>
>When your code crashes, does it error out on the first line of the invoice detail? Have you set a breakpoint in your form and stepped through it in the debugger?
>
>>That did update the first record of the Product file fine.
>>BTW - UseSeason is numeric.
>>
>>>Kenneth,
>>>I'm going to go on the assumption that your form is opening a table, and not a view. Also, I hope you are doing this on practice data.
>>>
>>>Can you drop a commandButton on the form and put the following code in the click() method? Then run the form, and click on the button. Close the form, and manually open the table, and browse it. Did it work? Or did you get an error when you clicked on the button?
>>>
>
>select product
>goto top
>replace useSeason with 5
>skip
>replace useSeason with 5
>>>
>>>
>>>
>>>>In the data envirnoment of the Invoice Header form are 16 tables.
>>>>The product table is one of them.
>>>>There is no links between the tables in the data environment window.
>>>>I did not know the data envirnment opened the table, but I'm not surprised - thanks for that info.
>>>>
>>>>The code in the init procedure of the data environment is:
>>>>
>>>>Set Deleted On
>>>>SET CENTURY TO 19 ROLLOVER 50
>>>>DoDefault()
>>>>
>>>>
>>>>There is no code in any of the procedures for "Cursor9". That is what gets opened when I right click on the "Product" table and select code.
>>>>
>>>>Does this shed any light?
>>>>
___________________________
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