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 / July 2007

Tip: Looking for answers? Try searching our database.

Data entry in a Form pt. 2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
austin - 25 Jul 2007 21:22 GMT
The form displays the last time we spoke with client.

However, I also need an empty box for both a date and comments that will go
into my call log table and be empty every time I open the form for a new
entry.

thanks
Wayne-I-M - 25 Jul 2007 21:36 GMT
Hi Austin

Open the form in design view and in the data column set the Data Entry t = Yes

Note - ensure you click outside the detail area so you are selecting the
form itself and not any controls

good luck

Signature

Wayne
Manchester, England.

> The form displays the last time we spoke with client.
>
[quoted text clipped - 3 lines]
>
> thanks
Wayne-I-M - 25 Jul 2007 21:42 GMT
Just had a thought - I'm not sure what you do with this form so you may be
better just open the form at a new record each time you load.

Open the form in design view
Right outside the details area (the grey section around the outside)
Open the properties box
In the Event column select OnLoad
Select the build option (...)
Select code
You will see this

Private Sub Form_Load()

End Sub

You need to put (paste this code if you want) just one line of code so that
it now looks like this

Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub

Close this page and go back to the form.  Now each time you load you will be
at a new record.

Good luck

Signature

Wayne
Manchester, England.

> The form displays the last time we spoke with client.
>
[quoted text clipped - 3 lines]
>
> thanks
 
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.