PC Review


Reply
Thread Tools Rate Thread

Automatic filling fields

 
 
mroks via DotNetMonster.com
Guest
Posts: n/a
 
      19th Jul 2007
Hi guys,

could you please help me on my problem.

>>>> --------------- <<<<<<<<<

Datasource: MS Access 2003
Table1: Tbl_Employee
Field1: Emp_name
Field2: Position
Field3: Contact#
Field4: Address
Table2: Tbl_Salary
>>>> --------------- <<<<<<<<<

Windows Form of Visual Basic.net
i have a field Employee on the form, the problem is, i when i type the name
of employee, i want the position, contact# and address to automatically fill
my other fields and will save on my database Tbl_Salary.

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...o-net/200707/1

 
Reply With Quote
 
 
 
 
shatrughna
Guest
Posts: n/a
 
      24th Jul 2007
you can use join query and retrive the data from master table i.e.
Tbl_Employee to Your Tbl_Salary or You can Set Relation by using same field
Emp_name in both The Table

suppose
Table1: Tbl_Employee
Field1: Emp_name
Field2: Position
Field3: Contact#
Field4: Address
Table1: Tbl_Salary
Field1: Emp_name
Field2: Basic
Field3: Hra
Field4: Da

Query
Select Tbl_Employee.Emp_name,Tbl_Salary.Basic,Tbl_Salary.Hra,Tbl_Salary.da
from Tbl_Employee join on Tbl_Employee.Name = Tbl_Salary.Emp_Name

You Can get the Result
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Automatic filling of form fields BillCo Microsoft Access Getting Started 0 1st Dec 2006 04:27 PM
Automatic Filling =?Utf-8?B?TXItUmUgTWFu?= Microsoft Access Forms 7 11th Oct 2006 01:13 PM
Set up automatic tabbing when filling in form fields? =?Utf-8?B?Sm9leVI=?= Microsoft Word Document Management 1 11th Nov 2004 01:42 PM
Automatic filling of fields in table two from table one =?Utf-8?B?SmltIEtlbGx5?= Microsoft Access Database Table Design 1 27th Sep 2004 10:16 PM
automatic name filling Microsoft Outlook 1 8th Nov 2003 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:07 PM.