Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Issues Generating Dynamic RichText Datawindow using SyntaxFromSQL

$
0
0

Hi,

 

I am running into issues/crashing when attempting to generate a dynamic richtext datawindow using the SyntaxFromSQL function.

 

I am using PowerBuilder 12.5 Build 2551.

 

Below is the code I am using to generate the datawindow:

 

ls_presentation_style = "style(type=form) datawindow(Processing=7)"

ls_datawindowdef = sqlca.SyntaxFromSQL(l_sql_statement, ls_presenation_style, ls_err)

 

My sql syntax is sound and if I do not include the 'datawindow(Processing=7" the datawindow is generated correctly.

 

I have attempted to modify the datawindow after the syntax is created either using the Modify statement or editing the syntax directly and assigning the value 7 but I always get a crash when attempting to access the syntax after assigning the Processing property to the datawindow.

 

I am looking for guidance or ideas on what I may be doing wrong trying to generate a dynamic RichText datawindow.

 

Thanks,

 

Karen


Viewing all articles
Browse latest Browse all 2935

Trending Articles