benniesanders
Programmer
Hello, I have created a dynamic catering menu using an access database via asp. The user can create menus by creating two tables from an ASP page I've set up as an editor: the main table and the items table. i.e. menu and menu_items with a relationship. The create process works flawlessly, but how do I do the drop table and index syntax in ASP? I've looked everywhere and can't seem to find anything. Here's one bit of code I found in this forum but I get
errors.
Thanks a million for any thoughts.
Code:
Syntax error in DROP TABLE or DROP INDEX
Code:
sql = "DROP TABLE menu_items"
sql = "DROP INDEX menu_id"
objConn.execute(sql)