By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

Lookup textbox within form ( Parameter Value error )

P: n/a
Hi

Very novice sorry. Trying to add a simple query to a textbox...I am
getting Enter Parameter Value

I have a Form called (frm_tbl_RR_Datacapture). With a series of
Textboxes.

I am wanting to look at a textbox in the form
called(RR_Adjusted_GB_Piece_Size_Input)and lookup the corresponding
value in a table called (tbl_RR_GB_Piece_Size)and give me a result in
the column called (Daily_Production).

And place the result from (Daily_Production)into another text box on
my Form called (RR_Adjusted_GB_Piece_Size_Production_Adjustment).

Does this make sense...?

I have tried a query
Criteria:
[Forms].[frm_tbl_RR_datacapture].[txtRR_Adjusted_GB_Piece_Size_Input]

within a query using the tbl_RR_GB_Piece_Size in column Piece_Size. To
give me a Daily Production number?????But gives me Parameter Value
Error

Please Help Anyone.

Thanks Tyson.
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi, thought I would try something different with this code...
Private Sub RR_Adjusted_GB_Piece_Size_Production_Adjustment_Ex it(Cancel
As Interger)

DoCmd = DLookup("[Daily_Production]", "tbl_RR_GB_Piece_Size",
"[Piece_Size] = " _&
Forms!frm_RR_Datacapture!RR_Adjusted_GB_Piece_Size _Input)

End Sub

Why wont this work for me? I am feeling rather hopeless!!!!

Cheers
Tyson.
ty**********@hotmail.com (Tyson) wrote in message news:<7f**************************@posting.google. com>...
Hi

Very novice sorry. Trying to add a simple query to a textbox...I am
getting Enter Parameter Value

I have a Form called (frm_tbl_RR_Datacapture). With a series of
Textboxes.

I am wanting to look at a textbox in the form
called(RR_Adjusted_GB_Piece_Size_Input)and lookup the corresponding
value in a table called (tbl_RR_GB_Piece_Size)and give me a result in
the column called (Daily_Production).

And place the result from (Daily_Production)into another text box on
my Form called (RR_Adjusted_GB_Piece_Size_Production_Adjustment).

Does this make sense...?

I have tried a query
Criteria:
[Forms].[frm_tbl_RR_datacapture].[txtRR_Adjusted_GB_Piece_Size_Input]

within a query using the tbl_RR_GB_Piece_Size in column Piece_Size. To
give me a Daily Production number?????But gives me Parameter Value
Error

Please Help Anyone.

Thanks Tyson.

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.