Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF function in SQL
Message
From
12/09/2004 16:30:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941478
Message ID:
00941482
Views:
14
>What error do you get? VFP calls UDF one extra time at the beginning to determine field size. It may use either the first record in the table or empty record. You shoud account for that in UDF code.

Ok, if it calls the function at first to check field size, then, the initialization is needed as no parameter would be passed from our selected records.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform