Hi Scott,

Hi,

Dumb question number 103...

I have a Scrolling List Field that I need to update
programmatically.  The code to populate the line is

put "29/01/2006" && Tab && "Full Shed" && Tab && "12" && Tab && "Full
Shed" into fld "fldShed"

This works fine, except of course, it overwrites the current
line with new data.  I tried adding a return to the end
of the line above, but that doesn't seem to do it.  Note
that I will not know how many lines there will be at runtime.

Thanks in advance...
Do this:

...
put "29/01/2006" && Tab && "Full Shed" && Tab && "12" && Tab && "FullShed" into temp_var
if fld "fldShed" <> empty then
  put CR before temp_var
end if
put temp_var AFTER fld "fldShed"
...

Just another smart Rev solution for a problem :-)

Scott

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to