Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save command
Message
 
 
À
07/03/2006 01:02:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01101936
Message ID:
01102042
Vues:
13
Mohammed,

I overlooked the fact that ShipNo is a character field. Basically, you may have ShipNo as a character field and have a regular index on it and have an Integer PK in the table. If you do need to have ShipNo as unique identifier, you need to maintain its uniqueness by yourself.

>hi,
>
>after change to AutoInc, i got error message Function argument value, type, or count is invalid
>at this line,
>
>but i need to insert it by hand (it must be character type),
>
>cAlias = THISFORM.DATAENVIRONMENT.INITIALSELECTEDALIAS
>SELECT (cAlias)
>if act_flag="1"
>LOCATE FOR UPPER(shipno) =ALLTRIM(thisform.text1.Value)&& error message
>IF FOUND()
>=MESSAGEBOX("DUPLICATED")
>
>
>>>hi,
>>>thank you for reply,
>>>
>>>what that mean AutoInc field ,
>>>
>>It's a new type for integer fields.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform