powerfinger
Posts: 5
|
Posted: 08/08/2004, 10:12 AM |
|
Hello,
I'm having a little trouble... I've got 3 text boxes, and I'd like the user to fill in two of them, then have the third one "autofill" (using Record-Insert)
Textbox1 = FirstName
Textbox2 = LastName
Textbox3 will be FirstName & space & Lastname when the "Insert" button is pressed. (and all three fields should be recorded in the DB (currently tb1 and tb2 are)
I've been trying to put the following code in the "Before Insert" command (using ASP (&VB)) with no success...
fldFirstnLast = fldFirstName & " " & fldLastName
I'm sure it's something simple that I'm missing... I just need to get off on the right foot...
(Maybe I don't even need the third textbox!?!?)
Thanks!
Pf
|
|
|
Nicole
Posts: 586
|
Posted: 08/31/2004, 5:16 AM |
|
Hello,
If no table fields are assigned to TextBox1 and TextBox2 try to obtain their value using GetParam() function in Before Insert event:
fldFirstnLast = GetParam("FirstName") & " " & GetParam("LastName")
_________________
Regards,
Nicole |
|
|
|