Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewId and database
Message
De
12/01/2005 12:08:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
NewId and database
Divers
Thread ID:
00976454
Message ID:
00976454
Vues:
57
I have created a new database without using the Mere Mortals framework.
I added the "id" table with the appropriate indexes, the stored procedures "NewId" and "Incrementbase10". I have filled out the required info in the id table and entered in "Newid()" for the default value of the table that is to have the unique identifier, table name IsoChanges.

When I enter a new record in IsoChanges everything runs fine except for the last line (well almost the last line)

If Eval(lcIdAlias + '.Type') == 'C'
Return Trim(luID)
ELSE
Return luID && Error "Data type Mismatch"
ENDIF

I get the good ole "Data Type Mismatch on the line "Return luID", luId is numberic... but I don't understand what luId is being returned too?

Thanks
daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform