Knowledge Base

Welcome to The Carlisle Group's Knowledge Base.

Search or Ask a Question

This is a keyword search that looks for matching articles that contain one or more words specifically by a user in articles’ tags, title and content. Admin writes brief intro content here via admin end. If you are unable to find an answer to your issue, please submit an issue here.

Back to Articles List

Sample Script - Create a RecordSet from scratch. | CAS

Added: 01/30/2015; Last Modified: 11/19/2015; Visits:1,768

 SL1←StringList.New''

 SL1.Add CharString.New'OWNOCC in ''P'''
 SL1.Add CharString.New'OWNOCC in ''C'''
 SL1.Add CharString.New'all'
 SL1.Show''

 SEL←SL1.ToField''
 SEL.Name←'SELECTION'

 SL2←StringList.New''
 SL2.Add CharString.New'''A'''
 SL2.Add CharString.New'''B'''
 SL2.Add CharString.New'''C'''
 SL2.Show''

 EXP←SL2.ToField''
 EXP.Name←'EXPRESSION'

 rs←RecordSet.New''
 rs.AddColumn SEL
 rs.AddColumn EXP
 rs.Show''