Drop down form

lokfu

New member
Local time
Today, 15:07
Joined
Mar 22, 2014
Messages
7
Hi, I am a new access 2010 user. I would like create a form which has two tables
Bank_name table & Products, their has relation as attachment. for example, I select CUSTID "South" from drop list. How can I make products drop list show South_1 & South_2 only in dropdown list? If I select CustID to other, the products drop down list will show other for selection. Hope some one can help me to solve it.

Thanks a lot.
 

Attachments

  • form_1.jpg
    form_1.jpg
    72 KB · Views: 73
  • table_1.jpg
    table_1.jpg
    50.6 KB · Views: 68
Thanks a lot!

But if the state is blank, Can I show all cities in drop drown list?

Thank you for your help!

Best Regards,
LokFu
 
Thanks!

Sorry for bother you again. I would like make a field in the form for print no of pages and printing button. How can I make press button and printing out as same as many I want as pages field?

Thanks a lot.
 
One way would be this type of thing:

Code:
Dim x As Integer
For x = 1 To Me.TextboxName
  DoCmd.OpenReport...
Next x
 
Re: delete msg

I would like delete the record automatic and no message as attachment when I press button in form button. How can I do it?

Thanks a lot!
 

Attachments

  • msg.jpg
    msg.jpg
    28.7 KB · Views: 65
I create a button in the form for print my report, but when I press the print button, it printing out the form not the report. Could you help me for print current record to report not the form?

Thank you so much.
 
Try

DoCmd.OpenReport

with the appropriate arguments.
 
I have try "DoCmd.OpenReport" , but it is still print the form. Could you give me the details about the event process?
 
What is the code behind the button?
 

Users who are viewing this thread

Back
Top Bottom