Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NewId and database
Message
From
12/01/2005 12:08:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
NewId and database
Miscellaneous
Thread ID:
00976454
Message ID:
00976454
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform