Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid values
Message
From
20/01/2003 09:30:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/01/2003 09:22:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00743057
Message ID:
00743451
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
>David,
>I think your code is more along the lines of what I am looking for. The problem is that when I try the .column1.controlsource the code errors off because column1.controlsource is not a property or unknown member. Do you have any other suggestions?

James,
ControlSource is a member of a grid column. Check if you wrote gridname and columnname correct.

lcField = justext( thisform.grid1.column1.ControlSource )

assumes your grid's name is 'Grid1' and the column you want is named 'column1' (and exists - grid is a member of form).

Alternatively you could directly put fieldname if you know it beforehand.
lcField = 'FieldName'
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
Reply
Map
View

Click here to load this message in the networking platform