Home > database >  Using the create dynamically created data window field how to adjust the display style
Using the create dynamically created data window field how to adjust the display style

Time:09-15

Me with the following statement dynamically created data window, but inside such as the name (f, m) how this data will be able to use the original editorial style (male, female)??
 
S_syntax=SQLCA. SyntaxFromSql (ls_sql, 'style (type=grid)', ls_error)

Dw_1. Create (ls_syntax ls_error)//Create the data window

CodePudding user response:

refer to the original poster jiang396 response:
with the following statement I dynamically created data window, but inside such as the name (f, m) how this data will be able to use the original editorial style (male, female)??
 
S_syntax=SQLCA. SyntaxFromSql (ls_sql, 'style (type=grid)', ls_error)

Dw_1. Create (ls_syntax ls_error)//Create the data window



If you just change the where condition, the original data window format editor is still there, there is no the problem

If you have updated the select, you need to be set dynamically edit format, suggested editorial style for the radiobutton

CodePudding user response:

reference 1st floor lzp_lrp response:
Quote: refer to the original poster jiang396 response:

Me with the following statement dynamically created data window, but inside such as the name (f, m) how this data will be able to use the original editorial style (male, female)??
 
S_syntax=SQLCA. SyntaxFromSql (ls_sql, 'style (type=grid)', ls_error)

Dw_1. Create (ls_syntax ls_error)//Create the data window



If you just change the where condition, the original data window format editor is still there, there is no the problem

If you update the select that you want to edit format for dynamic setting, it is recommended that the editorial style of radiobutton


The moderator, I am the latter, update the select, how to dynamically set editor format? How to adjust the editorial style as the radiobutton, give an example of trouble, thanks a lot

CodePudding user response:


(1) switch to DDDW:
Dw_1. Modify (" # 1. DDDW. Name='dddw_jg' ")
Dw_1. Modify (" # 1. DDDW. DisplayColumn='name_jg' ")
Dw_1. Modify (" # 1. DDDW. DataColumn='id_jg' ")
(2) switch to DDLB:
Dw_1. Modify (" # 1. DDLB. Case='any' ")
Dw_1. Object. The # 1. Values="red ~ t1/white - t2"
(3) switch to the EDIT:
Dw_1. Modify (" # 1. Edit. Case='any' ")
Dw_1. Modify (" # 1. Edit. AutoSelect='Yes' ")
(4) for current style:
Dw_1. The Describe (# 1. Edit. "Style")
(5) if not yet, may be the following:
Dw_1. Modify (" # 1. DDDW. Name='");

CodePudding user response:

refer to the second floor jiang396 response:
Quote: refer to 1st floor lzp_lrp response:

The
Quote: refer to the original poster jiang396 response:

Me with the following statement dynamically created data window, but inside such as the name (f, m) how this data will be able to use the original editorial style (male, female)??
 
S_syntax=SQLCA. SyntaxFromSql (ls_sql, 'style (type=grid)', ls_error)

Dw_1. Create (ls_syntax ls_error)//Create the data window



If you just change the where condition, the original data window format editor is still there, there is no the problem

If you update the select that you want to edit format for dynamic setting, it is recommended that the editorial style of radiobutton


The moderator, I am the latter, update the select, how to dynamically set editor format? How to adjust the editorial style as the radiobutton, give an example of trouble, thank you very much


If you are the listed as sex_id, you can
Dw_1. Modify (" sex_id values='male/female 0 1/")
Dw_1. Modify (" sex_id. Radiobuttons. Columns=2 ")
Dw_1. Modify (" sex_id. Radiobuttons. Scale=yes ")
Dw_1. Modify (" sex_id. Radiobuttons. Threed=yes ")

Has been under the pb10 test pass, no problem
  • Related