Display Question requires simple string, not concatination

If you think that something doesn't work in Aware IM post your message here
Post Reply
BLOMASKY
Posts: 1490
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Display Question requires simple string, not concatination

Post by BLOMASKY »

This works:

SessionVars.promptString = 'Please Confirm that you want to delete the <br><b>' + SessionVars.noRecs + ' ' +
PromptFor.AMorPM + '</b> records for <b>' + PromptFor.tripDate + '</b>'

DISPLAY QUESTION SessionVars.promptString

This does NOT and displays a blank form:
DISPLAY Question 'Please Confirm that you want to delete the <br><b>' + SessionVars.noRecs + ' ' +
PromptFor.AMorPM + '</b> records for <b>' + PromptFor.tripDate + '</b>'


Bruce
himanshu
Posts: 729
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Re: Display Question requires simple string, not concatination

Post by himanshu »

Bruce, try to concat using AS_STRING(' ' + ' ')
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Post Reply