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 / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

Schedule

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pietro - 23 Jan 2008 01:30 GMT
Hi,

  I'm trying to make staff scheduling through MS Access,I need to have a
form or query that shows me the date ( in the Column Heading) and the shifts
( in the Row Heading),same time, i need this form or query to be updateable.
Can you suggest ?
Allen Browne - 23 Jan 2008 14:35 GMT
Pietro, I take it that you have a correctly normalized table design, and you
are using a crosstab query where the dates are Column Headings and the
shifts are row headings.

Crosstab queries summarize the data, so they are never updatable.

It is possible (though not trivial) to design a form that has an unbound
text box where the user can enter a value. You use the Enter event of each
of the other text boxes to copy the value to the unbound box, SetFocus to
it, and set its Left and Width so that it overlies the box that the user
entered. Then in its AfterUpdate event, you write to the appropriate record
in the table (execute an Update, Append, or Delete query statement as
needed), Requery the form (so it hears about the new data), and find your
place again.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>   I'm trying to make staff scheduling through MS Access,I need to have a
> form or query that shows me the date ( in the Column Heading) and the
> shifts
> ( in the Row Heading),same time, i need this form or query to be
> updateable.
> Can you suggest ?
 
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



©2009 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.