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

Check Microsoft Access Form Values before Save
Is there any way to destroy MDW reference
vba check if specific process task id is still running
Access exports only 1st column of query
make a table in MS Access
how to get this code into a access form as text label?
Event not Firing in MS Access VBA
SQL query in Ms-access
Loop through for all shortcuts in a given location and return the target path
access vba execute after inserting new record
MS Access: How to Supply Parameters to a Query-Based Subform Control
Avoid duplication without using Indexed fields and 'no duplication'
how do i build a website using access 2010? [closed]
Is there a NotIn(“A”,“B”) function in VBA?
Access VBA: If Form Value <> NULL then run query else, end if. - not doing anything
ms-access: file already in use ERROR

Categories

HOME
gitlab
coq
amazon-ec2
kde
homebrew
framework7
programming-languages
graphql
mvvmcross
slick-slider
iggrid
dax
u-sql
google-apps-marketplace
windows-azure-storage
vb.net-2010
karma-jasmine
amazonsellercentral
autocad-plugin
ml
php-openssl
microsoft-r
claims-based-identity
crosstab
wpfdatagrid
tooltipster
jaxb2
titanium-mobile
jspresso
azure-sql-database
host
swift3.0.2
gesture
neuroscience
vapor
xenforo
leading-zero
nand2tetris
arena-simulation
babel-core
pebble-watch
csound
magma
nsarray
bind9
gnome-shell-extensions
autorest
design-by-contract
msys
teamcity-8.0
sdhc
marching-cubes
fouc
quicklisp
android-listview
system32
bigbluebutton
offloading
asp.net-dynamic-data
phalanger
rdtsc
rdl
typeof
hyprlinkr
message-driven-bean
page-layout
geos
dir
selected
jquery-knob
first-responder
frameset
automount
cascalog
newtonscript
yetanotherforum
lang
createwindow
wise
ncqrs
defensive-programming

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