ms-access


MS access : how to add 1 row between 2 rows?


I have an access database with these tables:
- sequences: it describes the sequences of a movie : ex: boy kicking ball (1) , boy hitting ball(2), boy speaking(3) etc..
movie: it is composed of sequences above.
ex: 3 - 2 - 1 - 2
My problem is : how can I insert a new sequence because access always inserts it to the end.
ex: I would like to get (I would like to insert sequence 3 between 2 and 1)
3 - 2 - 3 - 1 - 2
and Access will give me
3 - 2 - 1 - 2 - 3 (added to end)
Any clue ?
The order of inserting data in a database is inconsequential, what is important is the order of retrieval which you manipulate by the ORDER BY substatement you provide your SELECT statement with.
So you'll need to identify the field by which you can order things, e.g. a sequence id and then order on that field. like thus
SELECT * FROM movie_sequences ORDER BY movie_sequence_id ASC;

Related Links

Data type for currency values in Access
Update top rows in Access table that match condition
Data type in access 2007
How to specify a custom format for a text pattern in Microsoft Access?
Many to Many in Access
MS Access (2010) VBA filter not working on one subform
Using a derived field
How to lock vertical scrollbar in MS Access
Need Help regarding this IIF statement
How to enable 1 user to update the database while allowing others to only read in Microsoft Access?
Operation is not allowed when the object is open
Single prompt parameter for shared parameter in sub-reports' queries
Don't show corresponding field items
VBA traversing through recordset via button
Add new Items in a combo box in access
Generate an ID from different column choices in Microsoft Access 2013

Categories

HOME
cakephp
vim
webpack
onedrive
vmware
react-router
at-command
infragistics
microservices
sqlite3
c#-2.0
umd
fancybox
ios-charts
synchronization
applepay
dax
modx-revolution
mapserver
qt-creator
caml
iolanguage
django-simple-history
foselasticabundle
google-static-maps
reactive-cocoa
alpine
nodatime
scriptcs
graphicsmagick
web-sql
facet
chromebook
brunch
linkerd
web-api-testing
fifo
buck
ejabberd-module
saas
windows-server-2000
gitignore
primitive
phonegap
twilio-api
airconsole
create-table
siesta-swift
phpfreechat
xmlreader
hexo
sqlite2
dynamic-reports
jsch
flickr-api
apache-fop
paxos
idisposable
nstextview
colorama
jxcore
feeds
lift-json
font-size
sonarlint-vs
topbeat
visual-c++-2008
libpng
radtreelist
dstu2-fhir
gstreamer-0.10
superstack
oauth2client
ptrace
freelancer.com-api
freedesktop.org
spim
ora-00900
endeca-workbench
sframe
map-projections
system32
fscommand
file-copying
fpml
googlemock
code-access-security
mesa
mysql-error-1062
mechanize-ruby
braille
jboss-weld
message-driven-bean
imdbpy
mysqltuner
quantlib-swig
dir
excel-2003
sharp-repository
html-editor
drools-planner
angularjs-controller
twrequest
code-cleanup
subscript
adk
spyware
coercion
asp.net-mvc-areas
getresponsestream
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App