Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying the content of a memo field in a grid
Message
From
30/11/2005 08:45:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01073150
Message ID:
01073179
Views:
15
>Hi Hilmar,
>
>I erased my grid, to start all over again.
>First I do a query on a sql table on a MS SQL server, the reslut is saved into a cursor. This cursor is being used to set the recordsource of my columns. If I set the recordsource to padr(mycursor.memo,50), I get following error : "the data source for this object must be a variable reference". What am I doing wrong ?

Not the Grid.RecordSource - that one must point to the table or cursor.

The idea is to change Column.ControlSource.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform