把Form转换成TXT格式的文件

本文介绍了一种将Form格式文件转换为TXT格式的方法,通过特定命令实现转换,便于内容对比。转换后的TXT文件包含了Form中各项配置参数的具体内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

把Form转换成TXT格式的文件

命令:frmcmp_batch INVIDITM.fmb apps/apps@md0yd201 Compile_All=yes Forms_Doc=yes

Form格式的文件可以转换成TXT,转换后可读性其实并不好,只不过在某些特别的情况有点用,比如一个Form内容发生了变化,因为Form不好比对,可以考虑转换成TXT的格式再进行比对

转换后的文件内容类似于


     * Name                                          ENTRY_STATE
     - Item Type                                     Text Item
     * Subclass Information                          
       ----------
       - Location                                    File
       - Source File                                 
       - Source Path                                 
       - Source Module                               
       - Source Owner                                
       - Source Level                                
       ----------
     - Comments                                      
     - Help Book Topic                               
     - Enabled                                       Yes
     - Justification                                 Start
     - Implementation Class                          
     - Multi-Line                                    No
     - Wrap Style                                    Word
     - Case Restriction                              Mixed
     - Conceal Data                                  No
     - Keep Cursor Position                          No
     - Automatic Skip                                No
     - Popup Menu                                    
     - Keyboard Navigable                            Yes
     - Previous Navigation Item                      
     - Next Navigation Item                          
     ^ Data Type                                     Number
     - Data Length Semantics                         Null
     - Maximum Length                                30
     - Initial Value                                 
     - Required                                      No
     - Format Mask                                   
     - Lowest Allowed Value                          
     - Highest Allowed Value                         
     - Copy Value from Item                          
     - Synchronize with Item                         
     - Calculation Mode                              None
     - Formula                                       
     - Summary Function                              None
     - Summarized Block                              
     - Summarized Item                               
     - Current Record Visual Attribute Group         
     - Distance Between Records                      0
     - Number of Items Displayed                     0
     ^ Database Item                                 No
     - Column Name                                   
     - Primary Key                                   No
     - Query Only                                    No
     - Query Allowed                                 Yes
     - Query Length                                  0
     - Case Insensitive Query                        No
     - Insert Allowed                                Yes
     - Update Allowed                                Yes
     - Update Only if NULL                           No
     - Lock Record                                   No
     - List of Values                                
     - List X Position                               0
     - List Y Position                               0
     - Validate from List                            No
     - Editor                                        
     - Editor X Position                             0
     - Editor Y Position                             0
     - Visible                                       Yes
     - Canvas                                        
     - Tab Page                                      
     - X Position                                    0
     - Y Position                                    0
     ^ Width                                         1.1
     ^ Height                                        .23
     - Bevel                                         Lowered
     - Rendered                                      Yes
     ^ Show Vertical Scroll Bar                      No
     ^ Visual Attribute Group                        DEFAULT
     - Prompt Visual Attribute Group                 DEFAULT
     - Foreground Color                              
     - Background Color                              
     - Fill Pattern                                  
     - Font                                          
     - Font Name                                     
     - Font Size                                     0
     - Font Weight                                   Medium
     - Font Style                                    Plain
     - Font Spacing                                  Normal
     - Prompt                                        
     - Prompt Display Style                          First Record
     - Prompt Justification                          Start
     - Prompt Attachment Edge                        Start
     - Prompt Alignment                              Start
     - Prompt Attachment Offset                      0
     - Prompt Alignment Offset                       0
     - Prompt Reading Order                          Default
     - Prompt Foreground Color                       
     - Prompt Font                                   
     - Prompt Font Name                              
     - Prompt Font Size                              0
     - Prompt Font Weight                            Medium
     - Prompt Font Style                             Plain
     - Prompt Font Spacing                           Normal
     - Hint                                          
     - Display Hint Automatically                    No
     - Tooltip                                       
     - Tooltip Visual Attribute Group                
     - Initial Keyboard State                        Default
     - Reading Order                                 Default
     - Keyboard State                                Any
     - Triggers                                      
     ----------
     * Name                                          QUERY_DONE
     - Item Type                                     Text Item
     * Subclass Information                          
       ----------
       - Location                                    File
       - Source File                                 
       - Source Path                                 
       - Source Module                               
       - Source Owner                                
       - Source Level                                
       ----------
     - Comments                                      
     - Help Book Topic                               
     - Enabled                                       Yes
     - Justification                                 Start
     - Implementation Class                          
     - Multi-Line                                    No
     - Wrap Style                                    Word
     - Case Restriction                              Mixed
     - Conceal Data                                  No
     - Keep Cursor Position                          No
     - Automatic Skip                                No
     - Popup Menu                                    
     - Keyboard Navigable                            Yes
     - Previous Navigation Item                      
     - Next Navigation Item                          
     ^ Data Type                                     Number
     - Data Length Semantics                         Null
     ^ Maximum Length                                2
     ^ Initial Value                                 0
     - Required                                      No
     - Format Mask                                   
     - Lowest Allowed Value                          
     - Highest Allowed Value                         
     - Copy Value from Item                          
     - Synchronize with Item                         
     - Calculation Mode                              None
     - Formula                                       
     - Summary Function                              None
     - Summarized Block                              
     - Summarized Item                               
     - Current Record Visual Attribute Group         
     - Distance Between Records                      0
     - Number of Items Displayed                     0
     ^ Database Item                                 No
     - Column Name                                   
     - Primary Key                                   No
     - Query Only                                    No
     - Query Allowed                                 Yes
     - Query Length                                  0
     - Case Insensitive Query                        No
     - Insert Allowed                                Yes
     - Update Allowed                                Yes
     - Update Only if NULL                           No
     - Lock Record                                   No
     - List of Values                                
     - List X Position                               0
     - List Y Position                               0
     - Validate from List                            No
     - Editor                                        
     - Editor X Position                             0
     - Editor Y Position                             0
     - Visible                                       Yes
     - Canvas                                        
     - Tab Page                                      
     - X Position                                    0
     - Y Position                                    0
     ^ Width                                         1.1
     ^ Height                                        .23
     - Bevel                                         Lowered
     - Rendered                                      Yes
     ^ Show Vertical Scroll Bar                      No
     ^ Visual Attribute Group                        DEFAULT
     - Prompt Visual Attribute Group                 DEFAULT
     - Foreground Color                              
     - Background Color                              
     - Fill Pattern                                  
     - Font                                          
     - Font Name                                     
     - Font Size                                     0
     - Font Weight                                   Medium
     - Font Style                                    Plain
     - Font Spacing                                  Normal
     - Prompt                                        
     - Prompt Display Style                          First Record
     - Prompt Justification                          Start
     - Prompt Attachment Edge                        Start
     - Prompt Alignment                              Start
     - Prompt Attachment Offset                      0
     - Prompt Alignment Offset                       0
     - Prompt Reading Order                          Default
     - Prompt Foreground Color                       
     - Prompt Font                                   
     - Prompt Font Name                              
     - Prompt Font Size                              0
     - Prompt Font Weight                            Medium
     - Prompt Font Style                             Plain
     - Prompt Font Spacing                           Normal
     - Hint                                          
     - Display Hint Automatically                    No
     - Tooltip                                       
     - Tooltip Visual Attribute Group                
     - Initial Keyboard State                        Default
     - Reading Order                                 Default
     - Keyboard State                                Any
     - Triggers                                      
     ----------
     * Name                                          HOLDER_FIELD
     - Item Type                                     Text Item
     * Subclass Information                          
       ----------
       - Location                                    File
       - Source File                                 
       - Source Path                                 
       - Source Module                               
       - Source Owner                                
       - Source Level                                
       ----------
     - Comments                                      
     - Help Book Topic                               
     - Enabled                                       Yes
     - Justification                                 Start
     - Implementation Class                          
     - Multi-Line                                    No
     - Wrap Style                                    Word
     - Case Restriction                              Mixed
     - Conceal Data                                  No
     - Keep Cursor Position                          No
     - Automatic Skip                                No
     - Popup Menu                                    
     - Keyboard Navigable                            Yes
     - Previous Navigation Item                      
     - Next Navigation Item                          
     ^ Data Type                                     Number
     - Data Length Semantics                         Null
     - Maximum Length                                30
     - Initial Value                                 
     - Required                                      No
     - Format Mask                                   
     - Lowest Allowed Value                          
     - Highest Allowed Value                         
     - Copy Value from Item                          
     - Synchronize with Item                         
     - Calculation Mode                              None
     - Formula                                       
     - Summary Function                              None
     - Summarized Block                              
     - Summarized Item                               
     - Current Record Visual Attribute Group         
     - Distance Between Records                      0
     - Number of Items Displayed                     0
     ^ Database Item                                 No
     - Column Name                                   
     - Primary Key                                   No
     - Query Only                                    No
     - Query Allowed                                 Yes
     - Query Length                                  0
     - Case Insensitive Query                        No
     - Insert Allowed                                Yes
     - Update Allowed                                Yes
     - Update Only if NULL                           No
     - Lock Record                                   No
     - List of Values                                
     - List X Position                               0
     - List Y Position                               0
     - Validate from List                            No
     - Editor                                        
     - Editor X Position                             0
     - Editor Y Position                             0
     - Visible                                       Yes
     - Canvas                                        
     - Tab Page                                      
     - X Position                                    0
     - Y Position                                    0
     ^ Width                                         1.1
     ^ Height                                        .23
     - Bevel                                         Lowered
     - Rendered                                      Yes
     ^ Show Vertical Scroll Bar                      No
     ^ Visual Attribute Group                        DEFAULT
     - Prompt Visual Attribute Group                 DEFAULT
     - Foreground Color                              
     - Background Color                              
     - Fill Pattern                                  
     - Font                                          
     - Font Name                                     
     - Font Size                                     0
     - Font Weight                                   Medium
     - Font Style                                    Plain
     - Font Spacing                                  Normal
     - Prompt                                        
     - Prompt Display Style                          First Record
     - Prompt Justification                          Start
     - Prompt Attachment Edge                        Start
     - Prompt Alignment                              Start
     - Prompt Attachment Offset                      0
     - Prompt Alignment Offset                       0
     - Prompt Reading Order                          Default
     - Prompt Foreground Color                       
     - Prompt Font                                   
     - Prompt Font Name                              
     - Prompt Font Size                              0
     - Prompt Font Weight                            Medium
     - Prompt Font Style                             Plain
     - Prompt Font Spacing                           Normal
     - Hint                                          
     - Display Hint Automatically                    No
     - Tooltip                                       
     - Tooltip Visual Attribute Group                
     - Initial Keyboard State                        Default
     - Reading Order                                 Default
     - Keyboard State                                Any
     - Triggers                                      
     ----------
     * Name                                          QUERIED_TOTAL
     - Item Type                                     Text Item
     * Subclass Information                          
       ----------
       - Location                                    File
       - Source File                                 
       - Source Path                                 
       - Source Module                               
       - Source Owner                                
       - Source Level                                
       ----------
     - Comments                                      
     - Help Book Topic                               
     - Enabled                                       Yes
     - Justification                                 Start
     - Implementation Class                          
     - Multi-Line                                    No
     - Wrap Style                                    Word
     - Case Restriction                              Mixed
     - Conceal Data                                  No
     - Keep Cursor Position                          No
     - Automatic Skip                                No
     - Popup Menu                                    
     - Keyboard Navigable                            Yes
     - Previous Navigation Item                      
     - Next Navigation Item                          
     ^ Data Type                                     Number
     - Data Length Semantics                         Null
     - Maximum Length                                30
     - Initial Value                                 
     - Required                                      No
     - Format Mask                                   
     - Lowest Allowed Value                          
     - Highest Allowed Value                         
     - Copy Value from Item                          
     - Synchronize with Item                         
     - Calculation Mode                              None
     - Formula                                       
     - Summary Function                              None
     - Summarized Block                              
     - Summarized Item                               
     - Current Record Visual Attribute Group         
     - Distance Between Records                      0
     - Number of Items Displayed                     0
     ^ Database Item                                 No
     - Column Name                                   
     - Primary Key                                   No
     - Query Only                                    No
     - Query Allowed                                 Yes
     - Query Length                                  0
     - Case Insensitive Query                        No
     - Insert Allowed                                Yes
     - Update Allowed                                Yes
     - Update Only if NULL                           No
     - Lock Record                                   No
     - List of Values                                
     - List X Position                               0
     - List Y Position                               0
     - Validate from List                            No
     - Editor                                        
     - Editor X Position                             0
     - Editor Y Position                             0
     - Visible                                       Yes
     - Canvas                                        
     - Tab Page                                      
     - X Position                                    0
     - Y Position                                    0
     ^ Width                                         1.1
     ^ Height                                        .23
     - Bevel                                         Lowered
     - Rendered                                      Yes
     ^ Show Vertical Scroll Bar                      No
     ^ Visual Attribute Group                        DEFAULT
     - Prompt Visual Attribute Group                 DEFAULT
     - Foreground Color                              
     - Background Color                              
     - Fill Pattern                                  
     - Font                                          
     - Font Name                                     
     - Font Size                                     0
     - Font Weight                                   Medium
     - Font Style                                    Plain
     - Font Spacing                                  Normal
     - Prompt                                        
     - Prompt Display Style                          First Record
     - Prompt Justification                          Start
     - Prompt Attachment Edge                        Start
     - Prompt Alignment                              Start
     - Prompt Attachment Offset                      0
     - Prompt Alignment Offset                       0
     - Prompt Reading Order                          Default
     - Prompt Foreground Color                       
     - Prompt Font                                   
     - Prompt Font Name                              
     - Prompt Font Size                              0
     - Prompt Font Weight                            Medium
     - Prompt Font Style                             Plain
     - Prompt Font Spacing                           Normal
     - Hint                                          
     - Display Hint Automatically                    No
     - Tooltip                                       
     - Tooltip Visual Attribute Group                
     - Initial Keyboard State                        Default
     - Reading Order                                 Default
     - Keyboard State                                Any
     - Triggers                                      



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值