Good idea on examining the view. Why didn't I think of that? The field is
a character but it's only 36 long, not 38. That must have some
significance.
DBSetProp(ThisView+".gid","Field","DataType","C(36)")
DBSetProp(ThisView+".gid","Field","UpdateName","Houses.GID")
DBSetProp(ThisView+".gid","Field","KeyField",.T.)
DBSetProp(ThisView+".gid","Field","Updatable",.F.)
I'll try just widening it to 38 and see if that changes anything.
> What is the data type in the Access table? A GUID is simply a number,
> which is commonly represented by a string of hex digits, with or without
[quoted text clipped - 45 lines]
>>>>>
>>>>> - Rush
Olaf Doschke - 07 Oct 2008 14:29 GMT
> DBSetProp(ThisView+".gid","Field","DataType","C(36)")
> I'll try just widening it to 38 and see if that changes anything.
Do that.
With SQL Server it works with C(36) fields, as
SQL server also accepts such queries:
select * from sometable where
uniqueidfield = 'dec2868a-1234-abcd-4321-0f59abcd96ff'
You may be successful by storing back data
through updatable views or spt cursors,
the problem may be due to bypassing ODBC
on the way back to Access, reading in free DBF
tables, where access needs curly braces, while
those fields are autoconverted by ODBC.
Bye, Olaf.