Re: Populating the data of two Textboxes into One textbox



What does "not working" mean?

Do you get an error? If so, what is it? If you don't get an error, are you
getting some value, just not the value you're expecting? If you are getting
some value, how does it differ from what you're expecting?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"FA" <October.April@xxxxxxxxx> wrote in message
news:1136914287.883289.6070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I have created the following funtion and but its not working,
>
> Public Function CalculateFindingNo(Val1 As String, Val2 As Date) As
> String
> CalculateFindingNo = Val1 & Val2
> End Function
>
> I have txtbox1 (providing Val1) , txtbox2 (providing Val3) and txtbox3
> showing the result of the function.
>
> I am calling in the AfterUpdateEvent of txtbox2
> Me.txtbox3 = CalculateFindingNo(Me.txtbox1, Me.txtBox2)
>
> Its not working folks
>
> Pleae help
>
> Moe
>


.



Relevant Pages

  • RE: Date calculations and daylight saving
    ... If you're expecting it to be ... >> string to seconds and then localtime and strftime to ... We get penalised if we pass this target completion time so the script ... > the local time to GMT, which is a function of the time zone. ...
    (perl.beginners)
  • Re: Static typing aint so bad, after all...
    ... The problem is that dynamic typing, while very powerful, also hid the ... type the method was expecting. ... the answer to this is simply better documentation. ... that it's a (string or an object that should be able to ducktyped to a ...
    (comp.lang.ruby)
  • Re: Protecting MySQL Injection from PHP form
    ... you should be checking against type (expecting a number? ... If someone is posting a string of 8000 ... if all you do is check to see if it's empty implements isset, ... What you need to do is check for SQL injections, ...
    (php.general)
  • recordselection formula woes
    ... tblLact with 3 records - the values for the fields in question are ... If I change the 129 to 27 I will receive nothing, though expecting the ... If I drop the date part of the string and just have =129 (or ...
    (microsoft.public.vb.crystal)
  • Re: Need VBA Code
    ... Public Function CalculateFindingNo(Val1 As String, Val2 As Date, RecNo As ... in txtbox1 and check the result and then add txtbox2 and then recno etc. ... > Dim Val1 As String ...
    (microsoft.public.access.forms)