furnitureheaven
Registered User.
- Local time
- Today, 10:10
- Joined
- Aug 5, 2008
- Messages
- 36
Hi,
I am stuck in this, I have a form with combo box and ref no( text field), I want to concat the value of Combo box with 0 and concat it with Refno. In my table combo box field is in number and RefNo field is in Text.
Could any one tell how I can set this, My code is this.
I am stuck in this, I have a form with combo box and ref no( text field), I want to concat the value of Combo box with 0 and concat it with Refno. In my table combo box field is in number and RefNo field is in Text.
Could any one tell how I can set this, My code is this.
Code:
[SIZE=3][FONT=Times New Roman]Dim it as string[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]it = (" & [Forms]![LegFile].[Combo8] + 0 + [Forms]![LegFile].[frmRefNo] & ")[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]DoCmd.FindRecord acDataForm, acEntire, "it", acSearchAll, , acCurrent[/FONT][/SIZE]