ian_j_albert
20th July 2010, 09:27
Hi Guys,
I've been testing out Exchange with Export Conditions. I'm having some issues and I'm not sure what is going on. this is with LN 6.1
I am trying to export out stuff from Activities (tdsmi200) table.
I can use the following script
IF
tdsmi200.bpid > "BPG000000"
AND
tdsmi200.bpid < "BPG999999"
THEN
test = true
ELSE
test=false
ENDIF
return(test)
Now this works fine. What I am actually need to do is to pull data of the tdsmi200.cact field which is the activity name. Basically the script below is used. I get no output. I am not able to retrieve data from any fields that is a string type. the activity table has a field that uses UTC (numeric) and I am able to pull out data from here... It seems that strings are giving an odd problem.
IF
tdsmi200.cact = "DEMO"
THEN
test = true
ELSE
test=false
ENDIF
return(test)
Would appreciate any help on this on how to create conditions for string fields.
I've been testing out Exchange with Export Conditions. I'm having some issues and I'm not sure what is going on. this is with LN 6.1
I am trying to export out stuff from Activities (tdsmi200) table.
I can use the following script
IF
tdsmi200.bpid > "BPG000000"
AND
tdsmi200.bpid < "BPG999999"
THEN
test = true
ELSE
test=false
ENDIF
return(test)
Now this works fine. What I am actually need to do is to pull data of the tdsmi200.cact field which is the activity name. Basically the script below is used. I get no output. I am not able to retrieve data from any fields that is a string type. the activity table has a field that uses UTC (numeric) and I am able to pull out data from here... It seems that strings are giving an odd problem.
IF
tdsmi200.cact = "DEMO"
THEN
test = true
ELSE
test=false
ENDIF
return(test)
Would appreciate any help on this on how to create conditions for string fields.