Insert Date Userid Button

I'm going to probably place this on a few different existing and new comment fields, but to test I was working on Order Entry -> Comments -> Pack.

In my testing I was attempting to build a string of the date and userid and then basically append it to the field on the form because on RMA's it doesn't actually insert it where the cursor is, it only appends to the comment field.

But for my purposes, I'd take either location (cursor or end of field) though the cursor location seems to provide more function.

--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> actually you can use the ActiveControl from Me. or this to know where the
> cursor is, not sure if that's what you are trying to do....
> but if it is that will do it.
>
> You can easely replicate that functionality where are you trying to
> replicate it at? I may be able to put something together for you
>
> Thanks
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *checkout my new blog <http://www.usdoingstuff.com> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
>
>
> On Fri, Jan 27, 2012 at 1:38 PM, Kevin Simon <simstrak@...> wrote:
>
> > **
> >
> >
> > Once you click the button, the cursor isn't in the comment field, so how
> > would any code you write know where it was?
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> > Of
> > pbparker
> > Sent: Friday, January 27, 2012 11:04 AM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Insert Date Userid Button
> >
> >
> > Anyone ever try to duplicate the button that exists on the RMA Processing
> > where you click a button and it inserts into the comment field the current
> > Date and UserId.
> >
> > It looks like it appends it to the end of the field and not at the cursor
> > location.
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
Anyone ever try to duplicate the button that exists on the RMA Processing where you click a button and it inserts into the comment field the current Date and UserId.

It looks like it appends it to the end of the field and not at the cursor location.
Once you click the button, the cursor isn't in the comment field, so how
would any code you write know where it was?



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
pbparker
Sent: Friday, January 27, 2012 11:04 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Insert Date Userid Button





Anyone ever try to duplicate the button that exists on the RMA Processing
where you click a button and it inserts into the comment field the current
Date and UserId.

It looks like it appends it to the end of the field and not at the cursor
location.





[Non-text portions of this message have been removed]
actually you can use the ActiveControl from Me. or this to know where the
cursor is, not sure if that's what you are trying to do....
but if it is that will do it.

You can easely replicate that functionality where are you trying to
replicate it at? I may be able to put something together for you

Thanks

*Jose C Gomez*
*Software Engineer*
*
*
*checkout my new blog <http://www.usdoingstuff.com> *
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*



On Fri, Jan 27, 2012 at 1:38 PM, Kevin Simon <simstrak@...> wrote:

> **
>
>
> Once you click the button, the cursor isn't in the comment field, so how
> would any code you write know where it was?
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> pbparker
> Sent: Friday, January 27, 2012 11:04 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Insert Date Userid Button
>
>
> Anyone ever try to duplicate the button that exists on the RMA Processing
> where you click a button and it inserts into the comment field the current
> Date and UserId.
>
> It looks like it appends it to the end of the field and not at the cursor
> location.
>
> [Non-text portions of this message have been removed]
>
>
>


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