![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
In VB I'd have a form level ADO connection |
|
populate the combo box in the Form_Load event |
|
then populate the various text boxes in the combo box click event. |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I'm an experienced VB programmer trying to do some volunteer work for a non-profit organization that has an Access application. I'm having difficulty creating a simple data entry form. I think it may be that my VB mindset is wrong for Access. For example, I've created a new table called "Courses" that contains course information (Course name, Instructor, start and end date, active flag, etc.) In my form, I placed a drop-down combo box that contains a list of records from Courses where the active flag is "True". The Recordset points to a Query I created for active courses. That part works fine. The combo box is populated with active courses. But I want to add text boxs or labels for such fields as Instructor, start and end dates, etc. that are automatically filled in when the user selects a particular course from the combo box. In VB I'd have a form level ADO connection, populate the combo box in the Form_Load event, and then populate the various text boxs in the combo box click event. I'd appreciate any help. |
#4
| |||
| |||
|
|
"Software can be developed for about 1/3 the cost as compared to VB (ie: a $8,000 project in access will cost $24,000 in VB, a $12,000 project in access will cost $36,000). However, these gains only occur *after* the complexity is mastered." I certainly don't want to say otherwise, but I can't help wondering why so many people are using VB with all this coding for often no reason.. I still develop with ACC97 / ODE97 for runtime / Sagekey scripts / Wise Installer and this package rocks! 90% people don't have a clue what programming language I am using anyway. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I'm an experienced VB programmer trying to do some volunteer work for a non-profit organization that has an Access application. I'm having difficulty creating a simple data entry form. I think it may be that my VB mindset is wrong for Access. For example, I've created a new table called "Courses" that contains course information (Course name, Instructor, start and end date, active flag, etc.) In my form, I placed a drop-down combo box that contains a list of records from Courses where the active flag is "True". The Recordset points to a Query I created for active courses. That part works fine. The combo box is populated with active courses. But I want to add text boxs or labels for such fields as Instructor, start and end dates, etc. that are automatically filled in when the user selects a particular course from the combo box. In VB I'd have a form level ADO connection, populate the combo box in the Form_Load event, and then populate the various text boxs in the combo box click event. I'd appreciate any help. |
#7
| |||
| |||
|
|
I certainly don't want to get into one of the my language VS the other guys language (those arguments stopped being cool many years ago in high school!). However, the real problem is that ms-access is often viewed as a 2nd rate tool, and one for only amateurs. In fact, it is a very good tool. It is also likely one of the most productive tools out there. The tight interaction of the forms and report builder can't be beat. The real problem comes when you need to assemble a team of developers. Then things like source code control, and things like the developers using objects as a means of the development process to "connect" the resulting parts of the application thus tends to leave out ms-access as a tool of choice. Further, those first rate developers from those highly skilled teams thus generally don't use ms-access. These developers don't use access because the jobs and development environment for the type of projects they *usually* work on don't warrant using ms-access. We are talking primality non database windows type applications. In that envorment, we are talking about teams, and OO stuff all the way. So, much of access's lack of respect is due to the above. Plus the fact that ms-access is shipped with office and not visual studio development tools also contriubtes to this lack of respect. Access is genearlly FAR better then is VB for most small business applications. Further, most would agree that distribution of ms-access applications is not very good. However, with the ODE for a97 along with sagekey scripts then you have one killer development platform. Probably the best combo ever made for one person database development. |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
I certainly don't want to say otherwise, but I can't help wondering why so many people are using VB with all this coding for often no reason.. |
#10
| |||
| |||
|
|
RE/ I certainly don't want to say otherwise, but I can't help wondering why so many people are using VB with all this coding for often no reason.. - Divisibility among large project teams - IT likes VB, tends to look down on MS Access - Once the app is deployed, the user doesn't have to worry about IT pushing down a newer version of MS Access and breaking their app - Users with big budgets either don't know about or don't care about the 1:3 cost ratio. Having said all that, I'm still doing 100% MS Access....because my nich is that of the guy who can do "quick-but-not-too-dirty". ----------------------- PeteCresswell |
![]() |
| Thread Tools | |
| Display Modes | |
| |