R RandWald Registered User. Local time Yesterday, 21:41 Joined Jun 20, 2004 Messages 11 Feb 23, 2005 #1 Hi. Using Access 2003. What is the syntax for a VB command that would create an single-field index on a dbc database? Thanks, Randy
Hi. Using Access 2003. What is the syntax for a VB command that would create an single-field index on a dbc database? Thanks, Randy
J Jacob Mathai Registered User. Local time Today, 03:41 Joined Sep 6, 2001 Messages 546 Feb 23, 2005 #2 DoCmd.RunSQL "CREATE index act01 on actualsmaster(product_cd)" For Unique index : DoCmd.RunSQL "CREATE unique index act01 on actualsmaster(product_cd)"
DoCmd.RunSQL "CREATE index act01 on actualsmaster(product_cd)" For Unique index : DoCmd.RunSQL "CREATE unique index act01 on actualsmaster(product_cd)"
R RandWald Registered User. Local time Yesterday, 21:41 Joined Jun 20, 2004 Messages 11 Feb 23, 2005 #3 Thank you! Jacob, thanks for your reply. All day, I have been surfing, the internet, f1 help and even guessing at what the command should be. Randy
Thank you! Jacob, thanks for your reply. All day, I have been surfing, the internet, f1 help and even guessing at what the command should be. Randy