Need Urgent Help!

G

Guest

I have a form with fields like -

Order No.
.....
OrderPackList, etc.

I want to enlist records from a table into combo box using query like -

select recno, OrderPackList from OrderList where OrderNo = <user entered
ORder OrderNo on this form>

How can I use this query for the list since orderno is a variable?

Thank you,
-Me
 
J

John Vinson

I have a form with fields like -

Order No.
....
OrderPackList, etc.

I want to enlist records from a table into combo box using query like -

select recno, OrderPackList from OrderList where OrderNo = <user entered
ORder OrderNo on this form>

Use a criterion

=[Forms]![Name Of Your Form]![Name Of Your Order No Textbox]


John W. Vinson[MVP]
 
G

Guest

John,

Thank you very much, I was looking for this!

-Me


John Vinson said:
I have a form with fields like -

Order No.
....
OrderPackList, etc.

I want to enlist records from a table into combo box using query like -

select recno, OrderPackList from OrderList where OrderNo = <user entered
ORder OrderNo on this form>

Use a criterion

=[Forms]![Name Of Your Form]![Name Of Your Order No Textbox]


John W. Vinson[MVP]
 
G

Guest

Hi Someone,

Maybe perhaps I didn't get what the writer intended to convey, neverthless,
John's reply is on the dot and that's what I was looking for.

Thank you for your help!

-Me
 
G

Guest

John,

See if you know the answer to this one -

How can I open an access form conditionally for group of users. Someone
posted a link, its lengthy, I was wondering if you knew an easier way.

Thank you,
-Me

John Vinson said:
I have a form with fields like -

Order No.
....
OrderPackList, etc.

I want to enlist records from a table into combo box using query like -

select recno, OrderPackList from OrderList where OrderNo = <user entered
ORder OrderNo on this form>

Use a criterion

=[Forms]![Name Of Your Form]![Name Of Your Order No Textbox]


John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top