|  | Posted by RS200Phil on 10/18/05 11:16 
Thanks for that, Trevor.
 The passthrough was originally in place, but it failed with error 3416.
 I thought I was getting more info when I went through Jet.
 
 However, you've hit the nail on the thumb!  I found the following in the
 Jet manual:
 
 "Note   The Microsoft Jet database engine doesn't support the use of
 CONSTRAINT, or any of the data definition language (DDL) statements,
 with non-Microsoft Jet databases. Use the DAO Create methods instead."
 
 So it's back to the drawing board, then!
 
 BTW - I am converting about 100 quite large tables from a legacy Access
 97 back end to SQL 2k.  DTS doesn't do a brilliant job of the
 conversion, but it did create the initial vb5 code for me.  I just had
 to bodge it for the index creation (no good there, then!) and to change
 some of the field types (rather than do it manually for about 1000
 fields!).
 
 Thanks for your help, I'm optimistic that I can resolve it now.
 
 Cheers
 
 Phil
 
 
 *** Sent via Developersdex http://www.developersdex.com ***
  Navigation: [Reply to this message] |