blade1981m
10-26-2004, 03:10 PM
Ok, I have a few questions.
1. When I create a new Data control on a VB form I look at the properties and the Connect property says it is Access 2000, yet I know I converted the database to Access 2002. When I try to key in Access 2002 in the Connect property and I try to run my application I get the error unable to find installable ISAM. Now when I have it set to Access 2000 it seems to work fine, so I am just wondering if this will be an issue as my database gets more and more complex
2. I am sure I know the answer to this one, but I just cant seem to bring it to mind. When I have the data control Data1 on my form I then want a combobox to control the table in the database that Data1 is tied to. So I create a combobox and set Datasource to Data1 and Datafield to Field1. When I run my application I see the first record already selected in the combobox, but when I click the arrow at the end of the combobox I dont get a list of all the other records in the table. Is there something real simple I am missing or is it actually a lot more complex than just tying the field to the combobox.
3. This is more a VBA than VB, but I am sure the answer is the same if not very similar for both. Trying to get a database form to concentate a field from a record with a + before it. For example if the field has the numeric value of 4 I tried =Str$("+" & [Field1]) and when I open the form the textbox where I am expecting to see +4 just says #Error.
Any help on these 3 issues would be much appreciated
-Colin
1. When I create a new Data control on a VB form I look at the properties and the Connect property says it is Access 2000, yet I know I converted the database to Access 2002. When I try to key in Access 2002 in the Connect property and I try to run my application I get the error unable to find installable ISAM. Now when I have it set to Access 2000 it seems to work fine, so I am just wondering if this will be an issue as my database gets more and more complex
2. I am sure I know the answer to this one, but I just cant seem to bring it to mind. When I have the data control Data1 on my form I then want a combobox to control the table in the database that Data1 is tied to. So I create a combobox and set Datasource to Data1 and Datafield to Field1. When I run my application I see the first record already selected in the combobox, but when I click the arrow at the end of the combobox I dont get a list of all the other records in the table. Is there something real simple I am missing or is it actually a lot more complex than just tying the field to the combobox.
3. This is more a VBA than VB, but I am sure the answer is the same if not very similar for both. Trying to get a database form to concentate a field from a record with a + before it. For example if the field has the numeric value of 4 I tried =Str$("+" & [Field1]) and when I open the form the textbox where I am expecting to see +4 just says #Error.
Any help on these 3 issues would be much appreciated
-Colin