combo box question

mifee

Registered User.
Local time
Today, 19:36
Joined
Jun 19, 2012
Messages
10
hi..

i had form like in pic..

what i want to do is..when user select product code in combobox,the serial num combo box only show that serialnumber base on productcode cbo

thanks for yur helps
 

Attachments

  • form.JPG
    form.JPG
    27.4 KB · Views: 76
after searching & trying..still cannot get the solution...

let me breif more...

i have this tbl..

tblProductCode
- ProductCode
- Product Description

tblStockIn
- productID
-productcode
- Quantity
- SerialNumber
- Invoice Number
- Price
- Date In

tblStockOut
- outID
-productcode
-serial number
-quantity


so..at frmStockOut..(attached before)

there productcode user will select using combo box..
now.. im try todo cascading cbo..
after trying many code..it seems not working..

pls help me..
 
mifee the answer is out there, honestly:rolleyes:.

Ok, option 1, add a where statement to your serial num combo box rowsource, to restrict the entries according to a linkeed field in combobox.[product code]

option 2, use the afterupdate event of combobox.[product code] to restrict the entries in serial num combo box
 
i tried opt 2 before maybe wrong code...hmmm...
 

Users who are viewing this thread

Back
Top Bottom