R
Richard Lee
Hi,
I'm working with VS.NET 2003 and Access (all variants).
I've designed the Access DB first, and I have PKeys in
Access defined as Replication ID types. FKeys in the DB
are defined as Text(38) to correpsond with the actual
values the DB auto-enters. (BTW I've also tried defining
FKeys as Long Integer)
Problem is that using the VS .NET DataSet wizard, and
defining relationships in the dataset causes an
error "Parent and Child columns don't have type-matching
columns". Both types show in the designer as
simple 'string', although looking at the Server Explorer
shows the PKey type is a aGUID, and the Fkey type is
adWChar.
Question is: can I use the dataset wizard to help me
here, & if so what types should I use in Access? (I need
Replication Ids on the PKeys) Otherwise can anybody point
me to any resources that provide type info about the
various Access data types so I can be sure to do the
right casts in my code? Yeugh!
PS I know I should be using SQL Server , but my clients
don't have the capability. What advice on using MSDE
instead to better support multiple users? I've been
unable to find any decent MSDE resources, so I'm nervous
about making a move.
Thanks in advance
Big Rich
I'm working with VS.NET 2003 and Access (all variants).
I've designed the Access DB first, and I have PKeys in
Access defined as Replication ID types. FKeys in the DB
are defined as Text(38) to correpsond with the actual
values the DB auto-enters. (BTW I've also tried defining
FKeys as Long Integer)
Problem is that using the VS .NET DataSet wizard, and
defining relationships in the dataset causes an
error "Parent and Child columns don't have type-matching
columns". Both types show in the designer as
simple 'string', although looking at the Server Explorer
shows the PKey type is a aGUID, and the Fkey type is
adWChar.
Question is: can I use the dataset wizard to help me
here, & if so what types should I use in Access? (I need
Replication Ids on the PKeys) Otherwise can anybody point
me to any resources that provide type info about the
various Access data types so I can be sure to do the
right casts in my code? Yeugh!
PS I know I should be using SQL Server , but my clients
don't have the capability. What advice on using MSDE
instead to better support multiple users? I've been
unable to find any decent MSDE resources, so I'm nervous
about making a move.
Thanks in advance
Big Rich