Why the last line in the following code causes error:
No fields defined - cannot append Tabledef of Index.
Set NewDB = CreateDatabase("c:\tem\try.mdb", dbLangGeneral)
Set NewTbl = NewDB.CreateTableDef("table1")
Set Ind1 = NewTbl.CreateIndex("index1")
Ind1.Primary = True
Set F1 = Ind1.CreateField("field1")
I’ve seen a number of people looking for examples of how to access web services from VB6. I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Here are a few simple, working, games that you can use as-is or as the basis for your own games.
This is one of the simplest of all games.
The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…