Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on grid column's ControlSource
Message
From
22/06/2006 08:35:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/06/2006 08:17:13
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01130779
Message ID:
01130785
Views:
16
>Hi All
>I've Noticed that if i have a column on a grid that it's controlsource is an expression like "MyFunction(table.Field)", where Table.Field is a numeric type (MyFunction returns a character type). If i run my form i'll receive this error:
>"Error loading file - record number xx. Grid or one of its members. ControlSource : Variable is not found"
>
>My tricky to solve the problem was assign a minus before the parameter (with plus don't work):
>"MyFunction(-table.Field)"
>
>and i must treath the parameter correctly in MyFunction ....
>
>AnyOne can explain me why ?? There is another way ? is a Bug ?
>
>By all

Emanuele,
Would you try this:
myGrid.myColumn.controlsource = "(MyFunction(table.Field))"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform