Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

WebArticlesForumsFAQs
JavaScript
ASP
ASP.NET
WCF

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

Operating SysArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Lounge
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

  View Other Microsoft Access Posts   Ask New Question  Ask New Question With Power Editor

Linking to the Two Combo Box
Mohd Ajaz posted at Tuesday, November 03, 2009 6:47 AM

Good morning sir,

Sir THis Ajaz I am working as MS ACCESS prorammer in a reputed company sir I Have a problem in Access please retify below is my Question

Sir ,

   I have creted a form in which Two Lookup(Combo Boc) The Fields names ae (Submuncipality ID and Name and District ID and Name). SO my problem is when a user click on a Submuncipality name in the other (District ID and Name) field all the Name of Concern district must be open.

Sir please by takein you owqn example please send me the reply sir I need you help sir I am waiting for yoou solution tnking you

Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0
re
firoz poil provided a rated reply to Mohd Ajaz on Thursday, November 05, 2009 8:40 AM

See the sample code here. here two list boxes when you selecting the first list box second will display the data as per your selection.Insert the code in the even of click/change etc. the following code is only for query second list box.(assume first list box having the data)

here 'cid' is the first column data of second list box

list67=first list box.

Dim strnewrecord As String
strnewrecord = "SELECT orderno,receiveddate FROM ord WHERE cid =list67"
List84.RowSource = strnewrecord

 

 

Reply    Reply Using Power Editor
  Rank Winnings Points
November 25 $0.00 10
October 0 $0.00 0