PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → AutomaticID
AutomaticID
Débuté par guillermo, 10 sep. 2005 17:17 - 5 réponses
Posté le 10 septembre 2005 - 17:17
Hi forum:
It is possible to suspend by programming the AutomaticID?
I am converting files from Clarion and I need to assign the value of the Clarion tables avoiding the AutomaticID of Windev.
Momentarily I have solved it, modifying in the analysis the AutomaticID for Numeric.
Any idea is welcome, thanks
Guillermo
Posté le 10 septembre 2005 - 18:02
G'day Guillermo
There is an HForceIdAuto option for Hadd() and Hmodify()
Regards
Al
Posté le 10 septembre 2005 - 22:55
Guillermo,
Use the WD autoID. Create a new field - to hold the TPS id. Then as you update your apps you can start using the many features that the WD autoID makes possible.
I did the same as you are trying to do when I switched my TPS files but every time I upgraded or redid a app I used the WD autoID.
Just my 2 cents.
Bert

Hi forum:
It is possible to suspend by programming the AutomaticID?
I am converting files from Clarion and I need to assign the value of the Clarion tables avoiding the AutomaticID of Windev.
Momentarily I have solved it, modifying in the analysis the AutomaticID for Numeric.
Any idea is welcome, thanks
Guillermo
Posté le 11 septembre 2005 - 07:29
Thanks Al !!!!

It is exactly what I needed.
Guillermo

G'day Guillermo
There is an HForceIdAuto option for Hadd() and Hmodify()
Regards
Al
Posté le 11 septembre 2005 - 07:32
Thanks for your tip Bert !!
Guillermo
Guillermo,
Use the WD autoID. Create a new field - to hold the TPS id. Then as you update your apps you can start using the many features that the WD autoID makes possible.
I did the same as you are trying to do when I switched my TPS files but every time I upgraded or redid a app I used the WD autoID.
Just my 2 cents.
Bert

Hi forum:
It is possible to suspend by programming the AutomaticID?
I am converting files from Clarion and I need to assign the value of the Clarion tables avoiding the AutomaticID of Windev.
Momentarily I have solved it, modifying in the analysis the AutomaticID for Numeric.
Any idea is welcome, thanks
Guillermo
Posté le 12 septembre 2005 - 11:44
HI Guillermo,
I want to add that automatic ID in WD differs from clarion in the way it
works.
In clarion, the last record is readed and added 1 to the value of the field,
but in WD is a secuence value in the file.
If you delete all the records in a file and create 1 record you can see that
the secuence continues where it was.

Saludos ;)

"guillermo" <glsaavedra@adinet.com.uy> escribió en el mensaje
news:4325319f$1@news.pcsoft.fr...

Thanks Al !!!!

It is exactly what I needed.
Guillermo

G'day Guillermo
There is an HForceIdAuto option for Hadd() and Hmodify()
Regards
Al