Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upsizer and uniqueidentifiers
Message
From
09/09/2013 12:13:41
 
 
To
05/09/2013 15:15:40
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01582231
Message ID:
01582599
Views:
63
Hi Charles.

>Thanks a lot Doug, I will give all this a try. Since I have about 400 columns that are c(36) nocptrans can you think of a good way to set the default for those to uniqueid rather than changing the mapping by hand on each one?

You could temporarily set TYPEMAP.DEFAULT to .T. for the uniqueidentifier record and .F. for the other records with LOCALTYPE = 'C', but then you'd have the same issue with your other non-ID character fields: having to manually change the default.

>And do you know anything about the data type mismatch that I get just trying to use bulkxmlload into a table with uniqueidentifiers when the VFP cursor column is c(36) nocptrans (I'm assuming I'll get the same problem if the upsizer creates a UID column and I have bulk insert checked in the wizard)

I suggest tracing the code in BulkXMLLoad.PRG to see what's going on.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform