Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spreadsheet functions
Message
From
17/10/2006 12:24:24
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01162592
Message ID:
01162614
Views:
12
>>>>Thanks a lot, Nadia. I'll have a look at that in detail presently. Just one thing: I'm still on VFP7 and thus don't have the Try ... Catch facility (and not sure what it's all about, for that matter).
>>>>
>>>>Terry
>>>
>>>What about your second question? Instead of TRY/CATCH you may use your general Error Handler.
>>
>>What about my second question?
>>
>>So try ... catch is about error trapping?
>
>In your original message you asked two questions, but I don't understand the second and therefore have to ask you the third time to elaborate <g>

Oh, you just said "What about your second question?" which didn't indicate anything to me :-)
OK, the thing is, I have a cursor of classes, within bus routes, for different bus operators, within a countywide scheme.
My users want a s/s with totals for bus classes/route/operator/overall, route/operator/overall, and operator/overall.
I jig the cursor into whichever format is requested, putting in the totals for each category.

Now they want it so that the s/s/ approp. SUM() function is put in the cursor, in place of the totals, so that, if they should add/delete row(s) the totals will be taken care of by Excel, instead of having to alter them manually.

>
>Yes, you got it. Try/catch is a nice error handler mechanism. You have it in other programming languages as well, C++, for example.

Thank you
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform