Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spreadsheet functions
Message
 
 
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:
01162621
Views:
15
>>>>>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

Thanks, I got it few seconds earlier when I saw Dawa's reply. I think, it's a way to go. Originally I didn't understand you were talking about SUM in Excel.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform