Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing memo field in browse window
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01523120
Message ID:
01523122
Views:
52
>I need to be able to show the contents of a MEMO field along with other fieldsin a simple browse window.
>I don't want to use a grid and form. Just a simple browse window as follows:
>
>
>BROWSE window browse2 FIELDS TRANS_NO :H='Time Stamp' :W =.F., vOrder.MEMO :90 :H='On_Hold Message' ;
>
>I guess I could add an additional TEXT field to the table, and copy the contents of the MEMO field into that each time, and then browse, but that does not seem very efficient coding.
>
>Thanks in advance.


Try
BROWSE window browse2  FIELDS  TRANS_NO :H='Time Stamp' :W =.F.,  onHoldMsg = LEFT(vOrder.MEMO, 90) :90 :H='On_Hold Message' ; 
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform