#INCLUDE "AlnStandard.Inc" FUNCTION MainProgram() AS LONG DEFSNG a-z DIM fp$(20) fp%=0:perm$="":temp$="" SQLResult& = SQL_OpenDB ("Driver={SQL Server};Server=192.168.131.50;Database=ALNUberBob;Uid=AlnData;Pwd=dr1ver;PORT=1433") IF SQLResult&=%SQL_ERROR THEN STDOUT "Content-type: text/html STDOUT STDOUT "
| The notes to the right are temporary notes on this property that you will print only for this one specific customer. Simply type anything (up to 200 characters) that you want to print only STDOUT " for this customer concerning this one specific property and then click on the 'SAVE' button to the right. STDOUT " STDOUT " | ||
perm$="" sql$="select * from locatornotes where oldaccount="+QuotedStr(AccountBase$) sql$=sql$+" and notetype='P' and propertyid="+FORMAT$(VAL(l1$)) SQLResult& = SQL_Stmt(%SQL_STMT_IMMEDIATE,sql$) SQL_FETCH %NEXT_ROW IF NOT SQL_EOD THEN perm$=dbfield("mynote") END IF IF perm$="" OR LEFT$(perm$,10)<=" " THEN perm$="" REPLACE " " WITH CHR$(13)+CHR$(10) IN perm$ STDOUT " | ||
| The notes to the right are permanent notes on this property that you will always print whenever you print this property for your client. Simply type anything (up to 200 characters) that you want to STDOUT " always give to your customer concerning this one specific property and then click on the 'SAVE' button to the right. STDOUT " STDOUT " | ||
STDOUT " | ||