marchello51nl
Programmer
SELECT connection_in_process.process_nr, custommers.client_nr, custommers.organization_name, member_status.status_description, connections.port_status_nr, connections.connection_nr, slots.slot_nr, port.port_nr, port_types.port_description, vlans.vlan_type, connection_order.ipv4_number, connection_order.ipv6_number, connection_order.fqdn, connection_order.as_number, connection_status.port_status_description, switch_names.switch_name, switch_types.switch_description, switch_port.location
FROM vlans INNER JOIN (switch_types INNER JOIN (switch_status INNER JOIN (switch_port INNER JOIN (switch_names INNER JOIN (slots INNER JOIN (port INNER JOIN (port_types INNER JOIN (member_status INNER JOIN (custommers INNER JOIN ((connection_status INNER JOIN connections ON connection_status.port_status_nr = connections.port_status_nr) INNER JOIN (connection_in_process INNER JOIN connection_order ON connection_in_process.process_nr = connection_order.process_nr) ON connections.connection_nr = connection_order.connection_nr) ON custommers.client_nr = connection_in_process.client_nr) ON member_status.member_status = custommers.member_status) ON port_types.port_type = connections.port_type) ON port.port_nr = connections.port_nr) ON slots.slot_nr = connections.slot_nr) ON switch_names.switch_name_nr = connections.switch_name) ON switch_port.switchport_nr = switch_names.switchport_nr) ON switch_status.switch_status = switch_names.swich_status) ON switch_types.switch_type = switch_names.switch_type) ON vlans.vlan_nr = connection_order.vlan_nr
WHERE :?
Well i have this complex select query and five comboboxes
witch i want to use to filter data on this select query
the problem is that if i use 4 comboboxes i can filter fine
but when i come to 5 ms access conciders the query to complex
i have used [Forms]![FRM_QueryForm]! [Listbox_name] or [Forms]![FRM_QueryForm]! [Listbox_name] is null in the criteria field
But i think it would be better in vba code
Any sugestions
Marcel
FROM vlans INNER JOIN (switch_types INNER JOIN (switch_status INNER JOIN (switch_port INNER JOIN (switch_names INNER JOIN (slots INNER JOIN (port INNER JOIN (port_types INNER JOIN (member_status INNER JOIN (custommers INNER JOIN ((connection_status INNER JOIN connections ON connection_status.port_status_nr = connections.port_status_nr) INNER JOIN (connection_in_process INNER JOIN connection_order ON connection_in_process.process_nr = connection_order.process_nr) ON connections.connection_nr = connection_order.connection_nr) ON custommers.client_nr = connection_in_process.client_nr) ON member_status.member_status = custommers.member_status) ON port_types.port_type = connections.port_type) ON port.port_nr = connections.port_nr) ON slots.slot_nr = connections.slot_nr) ON switch_names.switch_name_nr = connections.switch_name) ON switch_port.switchport_nr = switch_names.switchport_nr) ON switch_status.switch_status = switch_names.swich_status) ON switch_types.switch_type = switch_names.switch_type) ON vlans.vlan_nr = connection_order.vlan_nr
WHERE :?
Well i have this complex select query and five comboboxes
witch i want to use to filter data on this select query
the problem is that if i use 4 comboboxes i can filter fine
but when i come to 5 ms access conciders the query to complex
i have used [Forms]![FRM_QueryForm]! [Listbox_name] or [Forms]![FRM_QueryForm]! [Listbox_name] is null in the criteria field
But i think it would be better in vba code
Any sugestions
Marcel