I have a version 7 procedure which I am converting to a version 9 process. It uses a Server-Side VB Script to write data into a word document. The script uses the 'ework.' syntax to access ework variables and functions. For example:
'Get ework variable called NumItems and assign it to VB variable called NoOfLines
NoOfLines=Cint(ework.NumItems)
'Initiate ework SQL Select statement contained in the ework variable called SelectDataCommand and assign the results to a VB variable called datastring
datastring=ework.SelectSQL(ework.SelectDataCommand)
'Perform ework substring command to extract part of datastring
extractstring=ework.substring(1,x,datastring)
Please can someone tell me what the v9/c# replacement for these functions are?
Many Thanks,
Rick.