FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
How Do I Create Composite Keys in Code?
How Do I Create Composite Keys in Code?
Débuté par Droogans, 18 aoû. 2011 18:56 - 1 réponse
Connectez-vous…
Droogans
#1
Membre enregistré
25 messages
Posté le 18 août 2011 - 18:56
I want to GENERATE a composite key in code as I search through my files in code.
I'm not BUILDING the contents of a composite key, that's simple. I want a brand new one, on the fly, based on two values in the same table that I select. In essence, I want to HReadSeek() on two values without making a composite key in the HFSQL analysis. That way, I can modify the members of a composite key willy-nilly, without creating 2^n additional fields in my tables. That would be ridiculous.
Is this possible? Thanks!
//Syntax: HCreateUK(TableName, NewComposKeyName, Field1, Field2 [, FieldN...])
HReadSeek
(
TableName
,
NewComposKeyName
, [
"FirstName"
,
"LastName"
]
)
//WinDev...What's in store in Ver17?
Signaler
0
0
Fabrice Harari
#2
Posté le 18 août 2011 - 19:42
Hi Droogans
no it's not
Best regards
--
Fabrice Harari
International WinDev, WebDev, WinDev Mobile consulting
http://www.fabriceharari.com
On 18/08/2011 12:05, Droogans wrote:
I want to GENERATE a composite key in code as I search through my files in code.
I'm not BUILDING the contents of a composite key, that's simple. I want a brand new one, on the fly, based on two values in the same table that I select. In essence, I want to HReadSeek() on two values without making a composite key in the HFSQL analysis. That way, I can modify the members of a composite key willy-nilly, without creating 2^n additional fields in my tables. That would be ridiculous.
Is this possible? Thanks!
//Syntax: HCreateUK(TableName, NewComposKeyName, Field1, Field2 [, FieldN...])
HReadSeek
(
TableName
,
NewComposKeyName
, [
"FirstName"
,
"LastName"
]
)
//WinDev...What's in store in Ver17?
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte