Visual Basic
-
27. april 2012 15:49
1) How do I code spaces between strings? [example: need extra spacing between "CX.ATC.CB1.TEXT" and "CX.DT.UW.CREDITFILE.EXPIR"?]
2)How do I create an extra line feed so that my two conditions have an extra line field between them? [example: between "CX.DT.UW.CREDITFILE.EXPIR" and "CX.ATC.CB2.TEXT"]
I have searched high and low for this and can't find the answers. Any help would be greatly appreciated since I'm such a newbie.
Here is some of my code:
'GENERAL CONDITIONS - CREDIT FILE EXPIRATION DATE
If Macro.GetField("CX.ATC.CB1")="X" THEN
CCV = Macro.GetField("CX.ATC.COND.VIEW")
Macro.SetField("CX.ATC.COND.VIEW", CCV+vbCrLf+Macro.GetField("CX.ATC.CB1.TEXT"))
End If
If Macro.GetField("CX.ATC.CB1")="X" THEN
CCV = Macro.GetField("CX.ATC.COND.VIEW")
Macro.SetField("CX.ATC.COND.VIEW", CCV+Macro.GetField("CX.DT.UW.CREDITFILE.EXPIR"))
End If
'GENERAL CONDITIONS - BORROWER TO SIGN
If Macro.GetField("CX.ATC.CB2")="X" THEN
CCV = Macro.GetField("CX.ATC.COND.VIEW")
Macro.SetField("CX.ATC.COND.VIEW", CCV+vbCrLf+Macro.GetField("CX.ATC.CB2.TEXT"))
End If
If Macro.GetField("CX.ATC.CB2")="X" THEN
CCV = Macro.GetField("CX.ATC.COND.VIEW")
Macro.SetField("CX.ATC.COND.VIEW", CCV+Macro.GetField("CX.ATC.CB2.TEXT1"))
End If- Flyttet af Mike KinsmanMicrosoft Contingent Staff 27. april 2012 18:26 off topic (From:TechNet Website Feedback)
Alle besvarelser
-
27. april 2012 16:48
Ask this question in the Visual Basic General Forum at the following address
http://social.msdn.microsoft.com/Forums/en-us/vbgeneral/threads
Luigi Bruno - Microsoft Community Contributor 2011 Award
-
27. april 2012 18:26
Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.
You may want to try asking your question at http://answers.microsoft.com.
For more information about where to post your question please see this thread: http://social.technet.microsoft.com/Forums/en-US/tnfeedback/thread/24ee65e4-0f35-403c-9bf7-41333cd13cb5
Moving to off topic.
Thanks, Mike
MSDN and TechNet Subscriptions Support
Read the Subscriptions Blog!