If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Passing HTP.PRINT statements into a variable

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-03, 15:55
feign3 feign3 is offline
Registered User
 
Join Date: Jan 2003
Posts: 19
Passing HTP.PRINT statements into a variable

I'd like to assign an HTP.PRINT statement to a variable to use in an IF/THEN statement. Does anyone know the proper way to do this? I want to assign something like HTML_V := MYHTMLCODE

Then I want to call that variable to print the HTML using HTP.PRINT in my IF/THEN clause... something like:

IF ORD_QTY_V IS NULL
THEN
ORD_QTY_V := REQ_QTY_V;
htp.print (HTML_V);
ELSE
BO_QTY_V := ORD_QTY_V - SHIP_QTY_V;
htp.print (HTML_V);

What's the proper syntax for passing the HTML into that variable? I'm sure I already have my IF/THEN correct (I think)...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On