Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF params, return values & data conversion
Message
From
14/04/2004 11:45:28
 
 
To
14/04/2004 11:38:37
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00891543
Message ID:
00894808
Views:
17
>Hi Sergey,
>
>Yes, well, it's a shame though.
>
>BTW, if one uses a function as a formula in a calculated field and then later for some reason has to change something (bugs maybe <g>), the thing won't recompile because of dependencies.
>
>Short of removing the formula, saving the table, editing the function and then putting the formula back in, which is kind of tedious, is there a way around this?
>
No, unfortunately not. It's a big pain but that's what we are stuck with.

BTW what exactly are you trying to do with the UDF? If you always want a money value, you can CONVERT within the function. On the other hand, as Sergey pointed out you can't make it generic like you tried.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform