Are you trying to create a link in a FoxWeb 1.29 script? If yes, try the following:
if begd > endda theerror='Check the beg date and end date for accuracy' html_out = html_out+ '<a href="https://iridium/lmca/error.htm">Error!</a>' retu endi |
If on the other hand you are trying to redirect the user to another page, you can use the following:
if begd > endda theerror='Check the beg date and end date for accuracy' html_out = 'Location: https://iridium/lmca/error.htm'+chr(10)+chr(10)
retu endi |
FoxWeb Support Team support@foxweb.com email |
Sent by TB on 05/31/2005 06:40:59 AM:
A bit rusty here, but how do I point to another web site from within a foxweb prg? I no longer wish to use the line that is commented out. For example:
if begd > endda
theerror='Check the beg date and end date for accuracy'
* html_out = html_out+mergetxt(readfile('anerror.htm'))
html_out = html_out+ '<a href=
https://iridium/lmca/error.htm' retu
endi
Obviously this syntax does not work, any ideas?