Using customization - button to add text to a text box

Thanks!

This is what the completed code looks like:

Dim edv As EpiDataView = CType(oTrans.EpiDataViews("QuoteHed"), EpiDataView)

edv.dataView(edv.Row)("QuoteComment") = vbCrLf & vbCrLf & "Thank you for the opportunity to quote on the below and for the inquiry." & vbCrLf & vbCrLf & "Looking forward to receiving your purchase order." & vbCrLf & vbCrLf & "Have a great day!" & vbCrLf & vbCrLf & "Thanks,"



--- In vantage@yahoogroups.com, Karen Schoenung <kschoenung@...> wrote:
>
> Dim edv As EpiDataView = CType(oTrans.EpiDataViews("QuoteHed"), EpiDataView)
>
> Above should work to declare your table...While in the script editor you can then go to Tools, test code to see if you get the message
> ** Custom Code Compiled Successfully. **
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of ppipaulz
> Sent: Monday, February 07, 2011 4:14 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Using customization - button to add text to a text box
>
>
>
> hey guys I'm trying to create a button (succeeded at this :)) in the Vantag 8.4 Quote Entry screen that will (when pressed) add some canned text to the Quote Entry - Header - Comments - text field.
>
> I went into customization, added the button, when through the event wizard and setup a new click event. Then for the code section
>
> I tried this:
> QuoteHed.QuoteComment.Text = "Test test test"
>
> and
>
> txtQuoteComment.Text = "Test test test"
>
> I get thsi error message: Error: BC30451 - line 65 (319) - Name 'QuoteHed' is not declared.
>
> Any ideas how I can access the Text property of a text field to then alter it?
>
> thank you
>
>
>
> [Non-text portions of this message have been removed]
>
hey guys I'm trying to create a button (succeeded at this :)) in the Vantag 8.4 Quote Entry screen that will (when pressed) add some canned text to the Quote Entry - Header - Comments - text field.

I went into customization, added the button, when through the event wizard and setup a new click event. Then for the code section

I tried this:
QuoteHed.QuoteComment.Text = "Test test test"

and

txtQuoteComment.Text = "Test test test"



I get thsi error message: Error: BC30451 - line 65 (319) - Name 'QuoteHed' is not declared.


Any ideas how I can access the Text property of a text field to then alter it?

thank you
Dim edv As EpiDataView = CType(oTrans.EpiDataViews("QuoteHed"), EpiDataView)

Above should work to declare your table...While in the script editor you can then go to Tools, test code to see if you get the message
** Custom Code Compiled Successfully. **

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of ppipaulz
Sent: Monday, February 07, 2011 4:14 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Using customization - button to add text to a text box



hey guys I'm trying to create a button (succeeded at this :)) in the Vantag 8.4 Quote Entry screen that will (when pressed) add some canned text to the Quote Entry - Header - Comments - text field.

I went into customization, added the button, when through the event wizard and setup a new click event. Then for the code section

I tried this:
QuoteHed.QuoteComment.Text = "Test test test"

and

txtQuoteComment.Text = "Test test test"

I get thsi error message: Error: BC30451 - line 65 (319) - Name 'QuoteHed' is not declared.

Any ideas how I can access the Text property of a text field to then alter it?

thank you



[Non-text portions of this message have been removed]