Chatroom
 

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Bad Astronomy and Universe Today Forum > General Interest > Off-Topic Babbling
Register FAQ Members List Calendar Mark Forums Read

   

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 20-May-2006, 02:40 PM
Robert Andersson's Avatar
Robert Andersson Robert Andersson is offline
Established Member
 
Join Date: Jul 2004
Location: Gothenburg, Sweden
Posts: 462
Send a message via ICQ to Robert Andersson
Question MS Access Application pointers

First, my apologies for bringing such an off-topic issue here. But, BAUT is the only board I'm currently semi-active in, and since I know there are a few programmers around, I thought I would give it shot.

A client/friend of mine uses an Access database in his business, and have severe performance problems (lock-ups, crashes) when many people work simultaneously. He asked me if I could convert it to an SQL database, but nevermind that for now.

Having very little experience with Access, but from what I understand, you define tables etc and then you can slap an interface + logic on it with Visual Basic (*shudders*). When I open the "application", Access gives me the interface but I can for the life of me not see where I can see the source or make any changes to it; it appears locked. My client says many different people have extended the application over the years, but he claims to have no other files.

I've looked for some quick overview of how "Access applications" of this kind are made up, but found nothing useful. Can someone see my problem here, and perhaps point me in the right direction?
Reply With Quote
  #2 (permalink)  
Old 20-May-2006, 03:49 PM
Argos's Avatar
Argos Argos is offline
Order of Kilopi
 
Join Date: Oct 2001
Location: 22°20'42"S / 49°03'14"W
Posts: 7,818
Default

I would strongly recommend an upgrade to SQL (especially if it is used as a web back-end).

Access can export a db as SQL. Try: Tools > database utilities > upsizing wizard.

As for applications, you need a VB editor to view the source code. You can launch an instance of the editor from the Access environment for macros, but you won´t be able to see the source for a compiled application.

A tutorial on VBA/Access: http://www.functionx.com/vbaccess/

Hope that helps.
__________________
What brings us together is stronger than what pulls us apart
Reply With Quote
  #3 (permalink)  
Old 20-May-2006, 04:05 PM
Robert Andersson's Avatar
Robert Andersson Robert Andersson is offline
Established Member
 
Join Date: Jul 2004
Location: Gothenburg, Sweden
Posts: 462
Send a message via ICQ to Robert Andersson
Default

Thanks, Argos. I also found that "wizard", but haven't been able to investigate it. I don't run Windows, so I have to use VNC to a Windows box at my office, and that Access version don't have it installed (and it's hard to remotly give it the CD etc ).

It is not currently a web back-end, but maybe in the future.

Quote:
As for applications, you need a VB editor to view the source code. You can launch an instance of the editor from the Access environment for macros, but you won´t be able to see the source for a compiled application.
Yeah, the file given to me seems to be "compiled", there is no menues etc. I suspected that, but wasn't sure, so I couldn't press my client to find the sources.

The tutorials seem good and I will read up on them, and hopefully I will get a grip on this Access mess.

Thanks again!
Reply With Quote
  #4 (permalink)  
Old 21-May-2006, 01:07 AM
tofu tofu is offline
Established Member
 
Join Date: Nov 2003
Location: florida, USA
Posts: 2,566
Default

download openoffice.org and see if you can open it with the database program that comes with that. Then maybe you can dump the data and import it into a proper SQL database.
Reply With Quote
  #5 (permalink)  
Old 21-May-2006, 10:20 AM
Robert Andersson's Avatar
Robert Andersson Robert Andersson is offline
Established Member
 
Join Date: Jul 2004
Location: Gothenburg, Sweden
Posts: 462
Send a message via ICQ to Robert Andersson
Default

The problem isn't the data (that's easy), but the application built in Access. But I tried it before, OpenOffice Base failed to do anything useful to the file.

I put my hope to the "upsize to SQL" feature for now, but am unable to test it right away. Thanks anyway.
Reply With Quote
  #6 (permalink)  
Old 21-May-2006, 12:45 PM
PhantomWolf's Avatar
PhantomWolf PhantomWolf is offline
Order of Kilopi
 
Join Date: Mar 2004
Location: Lost Deimos Moon Base
Posts: 5,663
Send a message via ICQ to PhantomWolf Send a message via AIM to PhantomWolf Send a message via MSN to PhantomWolf Send a message via Yahoo to PhantomWolf
Default

Without seeing the application itself I can't help much, but VBA works very similarly to VB where you create the application about the forms. Most of it is hidden in the background and not really accessible outside of them. Converting Access to MySQL or SQL server generally involves porting over the data and then reconstrusting the application with a new front end.
__________________
Howling from the Shadows

It must be fun to lead a life completely unburdened by reality. --- JayUtah

You can't reason an irrational person out of an irrational belief. --- Noclevername

Apollo: The History and the Hoax
Enter the World of Athran
Reply With Quote
  #7 (permalink)  
Old 22-May-2006, 03:35 AM
Darasen Darasen is offline
Established Member
 
Join Date: Jan 2002
Location: Tampa FL
Posts: 125
Default

Couple of points.
The lack of menu's etc does not mean that it is compiled. They are very easy to turn off actually. Given that you are using a VNC connection to a windows box I do not know if this will work or not but holding down the shift key while starting an access application will bypass the start up options. (though that is simple to disable as well.)

If the app is an exe file then it is compiled otherwise it is not. Given that you stated the app has multiple users then I am going to assume it is running on a client/server model. wherever the back end resides may well have a copy of the front end as well.

Personal sode note: Access can be a very robust platform for a small busines. Though it is not a great web back end. A well programmed Access (both front and back end) app can have 50 concurrent users and run pretty smooth. But, I am biased since I am a professional access developer. Access is alos a wonderful RAD tool. IMHO

Almost forgot to add www.dbforums.com has a wonderfull and helpfull base of users.
Reply With Quote
  #8 (permalink)  
Old 22-May-2006, 09:18 AM
paulie jay's Avatar
paulie jay paulie jay is offline
Established Member
 
Join Date: May 2004
Location: Sydney, Australia
Posts: 1,624
Default

I've given up on Access. I was able to teach myself File Maker Pro (including scripts) without a manual, but Access just has me stumped - and with two books specialising on the subject.
__________________
The plural of "anecdote" is not "data".
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 01:08 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
©  2006 Bad Astronomy and Universe Today