Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form design question

Status
Not open for further replies.

GAORR

Programmer
Nov 22, 2001
48
CA
I have a form where the user will enter 'Invoice Data'. I need to allow for up to 12 lines of invoice description, each line being a maximum of say 100 characters each. What would you use ? - 12 text lines ? rich text box control ?
Doesn't have to be anything fancy - just be able to capture 1 to 12 lines of which will later be printed on the invoice.
Anyone suggestions ?
Thanks in advance
 
Use a text box, change the properties of Multiline to True and Scrollbars to 2-Vertical



Rob
 
I might be inclined to use a grid and then mess around with the properties until it looks like 12 lines of a page. It would also reduce completely on having to parse the string in a textbox as each row would represent one line on the invoice details screen.

Mark

The key to immortality is to make a big impression in this life!!
 
How is that data stored in the database (assuming it is)? If it is one text field then a multiline text box would be easiest. If the 12 lines are stored in separate fields then separate controls may be simpler. This would also depend on how you are accessing your data (bound controls vs. unbound for example).

Take Care,

zemp

"Show me someone with both feet on the ground and I will show you someone who can't put their pants on."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top