dbTalk Databases Forums  

How can I display text block in a textbox?

comp.databases.filemaker comp.databases.filemaker


Discuss How can I display text block in a textbox? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LifeNT
 
Posts: n/a

Default How can I display text block in a textbox? - 02-10-2011 , 11:52 PM






I have a portal on a layout, and the portal have two field which contain
many characters(hundreds),
so it's not fine when I want to show content of the two field in portal.I
want to show the contents of the two fields in
a single textbox by the side of the portal, I'm not good at script, please
help me!

--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

Reply With Quote
  #2  
Old   
LifeNT
 
Posts: n/a

Default Re: How can I display text block in a textbox? - 02-10-2011 , 11:56 PM






ps: I mean show each field's content in each textbox, not combine them into
one textbox.

--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: How can I display text block in a textbox? - 02-11-2011 , 04:17 AM



"LifeNT" schreef in bericht news:ij2j22$5e6$1 (AT) adenine (DOT) netfront.net...

ps: I mean show each field's content in each textbox, not combine them into
one textbox.

--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

You have two related tables. tableA tableB
create two global text fields in tableA. gOne (text) gTwo (text)
create a script (Fill fields)
with two steps
Set field TableA::gOne = tableB::firstField
Set field TableA::gTwo = tableB::secondField
Place the globals on your layout
Create a small button on the first row of your portal. be careful: don't
make it too large.
let this button fire the Fill Fields script

Reply With Quote
  #4  
Old   
LifeNT
 
Posts: n/a

Default Re: How can I display text block in a textbox? - 02-12-2011 , 02:48 AM



aha~~ I fixed it, with global variable! then creat a script to give the
global variable a value which is just the field you want to show, then make
a button on the portal's record line,and give it the script, finally put a
combine global variable on the layout, drag it as big as you want,

--- news://freenews.netfront.net/ - complaints: news (AT) netfront (DOT) net ---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.