April 1st, 2003, 12:57 PM
Join Date: Mar 2001
Time spent in forums: 2 h 18 m 18 sec
Reputation Power: 13
you could use any one of a number of options ... textbox, list box, grid and so on
textbox is simplest but not the most visually appealing
for textbox just keep appending the next row data as follows:
dim tableStr as string, i as integer, mn as integer, mx as integer
let mn=cInt(tMin.value): let mx=cInt(tMax.value)'maybe add some validation ... ensure mn<mx, for example
for i=mn to mx
tableStr=tableStr & cStr(i)
tableStr=tableStr & " ---- "
tableStr=tableStr & cStr((i-32)/1.8) 'from the top of my head ... probably not right!
tableStr=tableStr & vbNewLine
let tableStr=left$(tableStr,len(tableStr)-len(vbnewline)) 'optionally remove trailing new line