PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Resetear campo autoincrementable
Resetear campo autoincrementable
Started by Corina, Jun., 09 2017 12:21 PM - 2 replies
Connect yourself…
Corina
#1
Posted on June, 09 2017 - 12:21 PM
Buenos días,
Alguien me puede indicar si es posible, como se puede inicializar un campo definido como autoincrementable.
Lo que intento hacer es que al eliminar los registros de una tabla, el valor del campo autoincrementable de la tabla vuelva a iniciar su valor en 1 y que no continue con el último valor +1. ¿Hay forma de hacerlo?
Gracias de antemano, un saludo
Corina
Report
0
0
Francisco Martos
#2
Posted on June, 11 2017 - 12:47 PM
Mira esto, espero que te sirva.
https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/42613-wd18-hfsql-how-reset-automaticid/read.awp
http://doc.pcsoft.fr/en-US/?3044147&name=hadd_function&q=hadd
http://doc.pcsoft.fr/en-US/?3044183&name=managing_the_automatic_identifiers_when_adding_record
http://doc.pcsoft.fr/en-US/?3044183&name=managing_the_automatic_identifiers_when_adding_record
Un Saludo.
Report
0
0
Corina
#3
Posted on June, 14 2017 - 5:47 PM
Gracias, me miro los enlaces
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text