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 / May 2005

Tip: Looking for answers? Try searching our database.

how do i add a record (not at end of doc)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
seraph - 31 May 2005 01:30 GMT
Hi... I need to add a couple records into my file...

Should I use my table? form? or report?

I have about 50 forms... I do not want to add the record at the end, it
needs to go within the 50- not to become #51 but rather, for example #17- can
I do add this with my record # reflecting where I inserted the new form and
the subsequent forms adjusting their # to, for example 18-51 rather than the
previous 17-50???
Rick Brandt - 31 May 2005 01:34 GMT
> Hi... I need to add a couple records into my file...
>
[quoted text clipped - 5 lines]
> the subsequent forms adjusting their # to, for example 18-51 rather than the
> previous 17-50???

There is no "order" to stored records.  Any time you need to see or process them
in a specific order you need to use a query that imposes that sort order on
them.  If your records include a numeric field that you can sort on then it
doesn't matter where the *table* happens to store that record as you can always
create a query sorted on that numeric field.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

seraph - 31 May 2005 23:32 GMT
I clicked to sort according to the record # I gave each file and that is
fine. I can add another file giving it any record # I want... but the problem
is, if I want to add it between files and give it a # corresponding to where
I place it... then all the subsequent files' record #s need to each be
increased by 1 or by how many files I add. Is there a way to add a file/row
to a table and then automatically adjust all following record #s up by one?

So if I have files/rows 1 through 50 and I find I need to add a file/row
that needs to be 17th in the record, I can click to make a new record, I can
give it the record # of 17, but then I need to make the original 17 become 18
and then 18 to 19 and then 19 to 20 and so on until 50 becomes 51. Is there a
way to do this without manually changing each file?

> > Hi... I need to add a couple records into my file...
> >
[quoted text clipped - 11 lines]
> doesn't matter where the *table* happens to store that record as you can always
> create a query sorted on that numeric field.
 
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.