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 / New Users / February 2008

Tip: Looking for answers? Try searching our database.

how do i copy and fill down duplicate info in cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
trisha - 04 Feb 2008 19:32 GMT
This is so easy in excel and I cannot figure out how to do it in access
Klatuu - 04 Feb 2008 20:08 GMT
There are no cells in Access.  In Access they are fields.
Where are you trying to do this?  In a form?  It makes a difference.
Signature

Dave Hargis, Microsoft Access MVP

> This is so easy in excel and I cannot figure out how to do it in access
Arvin Meyer [MVP] - 04 Feb 2008 22:05 GMT
> This is so easy in excel and I cannot figure out how to do it in access

Databases do not have cells. You can use an Update query to fill a number of
rows with the same data within a set of parameters. Usually, the same data
in every row is an indication of poor design, but there are some instances
where you might want to like the same City, State, and zip in multiple rows.
For that, we normally set a default value for the field, which can be
changed if the data is different.

If you are working in a datasheet form (not the table ... do not work
directly in tables) you can use Ctrl+" to copy the data in the row directly
above to the field you are entering data. You can use code to set the
default value to the value just entered:

Sub txtMyField_AfterUpdate()
   txtMyField.DefaultValue = """" & txtMyField & """"
End Sub

That's 4 double quotes on each side.
Signature

Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

 
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.