Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo Field in a Grid
Message
From
16/10/2001 09:52:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568983
Message ID:
00568988
Views:
26
>I've got a form that we use in our program to get a raw look at the table (ie, as if you just type USE TABLE, and BROW). Well, we are using the basic Grid control, and found a small problem. You can't view Memo fields with it.
>
>We have the exact same functionality in the DOS version of our program, but there we just use a BROWSE command, which lets you do a CTRL+HOME to view a memo field.
>
>Since our Grid is used to view whatever files we want, it's very generic, and has no pre-defined columns (so I can't put code in the double click or key press of the textbox control that will display the contents on the memo field).
>
>Has anyone ran into this before? I'd imagine it's a rather rare problem, seeing as how you usually wouldn't use a grid to display memo data.
>
>TIA!

To view-only (not edit) a memo field in a grid, use padr().
.ControlSource = "padr(MyMemo, 100)"
padr() will assure a constant width - otherwise, you get intro trouble.

Hilmar.
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