Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Continuous Form data entry problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boz - 27 May 2008 18:23 GMT
I've created an Attendance Tracking database.  There are 3 tables

tbl_Associates
    Clock Number
    Last Name
    First Name

tblAttendance
    Attendance Code
    Hours Used
    Date of Infraction

The form for entering the information uses a query:
   Clock Number (Associate Table)
    Combo Box for Last Name ***code below***
    Combo Box for First Name ***code below***
    Attendance Code (Attendance Table)
    Hours (Attendance Table)
    Date (Attendance Table)

***Code for combo box***

Private Sub Clock___AfterUpdate()
   Me.LastName = Me.Clock__.Column(1)
   Me.FirstName = Me.Clock__.Column(2)
End Sub

The form I've designed is in a continuous form format to allow the clerk to
enter all data for the previous day.  The clock # uses a lookup for the
associate clock number, then fills in the last name and first name.  
Everything works fine until I go to the next record to enter a different
associate.  Although I change the clock number, the last name and first name
changes to the new name on all records.

What simple, stupid thing am I doing wrong this time?

THanks,

Linda
luan - 28 May 2008 04:01 GMT
> I've created an Attendance Tracking database.  There are 3 tables
>
[quoted text clipped - 35 lines]
>
> Linda

Hi, Linda !
I guess LastName and FirstName control in your form are unbound
control, Right ?
If so, this is the trouble come from.
HTH
Luan
Boz - 28 May 2008 15:12 GMT
> > I've created an Attendance Tracking database.  There are 3 tables
> >
[quoted text clipped - 42 lines]
> HTH
> Luan

Yes they are, they question is, how do I fix it?
luan - 29 May 2008 03:35 GMT
> > > I've created an Attendance Tracking database.  There are 3 tables
>
[quoted text clipped - 46 lines]
>
> - Show quoted text -

Hi !
I think u want to show LastName and FirstName beside ClockNumber for
decription.
if so then try this recommend:
In Rowsource of ClockNumber use SQL: "Select
tbl_Associates.ClockNumber, [Last Name] & " ," & [First Name] As NAME
From tbl_Associates Group by tbl_Associates.ClockNumber;"

Properties of ClockNumber combo:
Bound column: 1
Column Width: 0";2"

HTH
Luan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.