Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

moving from VBA to VB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Winter Special - 13 Apr 2005 20:20 GMT
I'd like to move from VBA to VB.

What would I have to use to build forms and reports? Would the MS Visual
Studio be enough?

Thanks

Jack
Douglas J. Steele - 13 Apr 2005 21:09 GMT
If you don't mind me asking, why?

Development in Access is generally considered to be much faster than doing
the same in VB, as forms in Access are specifically designed for working
with databases.

Add to that the fact that Microsoft has just dropped support for VB, and I'm
not sure I'd recommend going that route.

However, if you're determined, then yes, MS Visual Studio should be
sufficient for Forms. VB isn't very good with reports, though: there is the
built-in DataEnvironment Report tool, but it's not spoken of too highly by
many people. You might look at the Crystal Reports add-in.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> I'd like to move from VBA to VB.
>
[quoted text clipped - 4 lines]
>
> Jack
John Webb - 13 Apr 2005 21:26 GMT
ugh Crystal Reports.  Sorry, feels like a jumper thats too sizes too small
(very restrictive).

I believe it has been said many times that Access is a RAD (rapid
development environment), and to that end is very good at what it does.
Unless you know that your database is going to be used by lots of users, or
if you know that there are some extremely complicated things you wish to do
with it, stick with Access.

With Access, you want to build a form that is related to a table, you
select that table as its datasource and drag controls onto the form - hey
presto.

With VB you need to create the recordset, and populate each control
yourself.

That is just one area where Access is simply faster and easier to mess
about with.

However, making the transition is fairly smooth to be fair - once you know
any VBA you get the gist of the layout of the language, the correct
syntax's and so forth.

What I suggest, and it is something I adopt all the time, is to build my
interim solution in Access, Excel, Word, whatever. Once the bugs have been
ironed out and you've found that the end user actually wanted something
other than what they asked for, then you look at whether you want to move
it into something else.

Hope that helps

John Webb
John Webb - 13 Apr 2005 21:27 GMT
oopsie, RAD <> Rapid Development Environment, though it pretty much means
the same thing...
Winter Special - 13 Apr 2005 21:53 GMT
> oopsie, RAD <> Rapid Development Environment, though it pretty much means
> the same thing...

Thanks John & Douglas. As for why, I have some interface work , reading in
flat files received from a remote location, and sticking the data into
Tables, VB would handle this better, don't you think?

Jack
Douglas J. Steele - 13 Apr 2005 22:40 GMT
>> oopsie, RAD <> Rapid Development Environment, though it pretty much means
>> the same thing...
>
> Thanks John & Douglas. As for why, I have some interface work , reading in
> flat files received from a remote location, and sticking the data into
> Tables, VB would handle this better, don't you think?

I see no reason why you can't do it with VBA. At that level, there really
isn't much of a difference between VBA and VB.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


Graham Mandeno - 13 Apr 2005 22:46 GMT
> Thanks John & Douglas. As for why, I have some interface work , reading in
> flat files received from a remote location, and sticking the data into
> Tables, VB would handle this better, don't you think?

Not at all.  There is not a lot that VB can do that VBA can't do.  There is
a hell of a lot that Access VBA can do that VB can't do.

Signature

Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand

Marshall Barton - 13 Apr 2005 23:22 GMT
>Thanks John & Douglas. As for why, I have some interface work , reading in
>flat files received from a remote location, and sticking the data into
>Tables, VB would handle this better, don't you think?

If your text files are even a little tricky to parse out the
fields, take a look at
http://www.mvps.org/access/modules/mdl0057.htm
for a VBA module that might be a big help.  If nothing else,
it provides a significant example of how to manipulate text
file input.

Signature

Marsh
MVP [MS Access]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.