Access As Courier Between 2 Non-Access Applications

Mar 14, 2007

The environment

I have 1 application that runs on dBASE4
I have another application we subscribe to that runs online and requires tab delimited text file input nightly
The only front end we have to dBASE4 is through the application and they don't support scheduling queries with joins

Proposed solution

Since Access links to and imports from dBASE4 and we do have a front end to Access, it made sense to use it as a courier, so to speak, between the 2 applications.
One assumption here is that no programming would be required, just clicking on Access functions (I haven't programmed for many years)
All of this needs to be done automatically overnight

The problems are numerous, based on my lack of experience with Access

We are a school and have limited speed on our network. To minimize traffic and time there are a couple of options I wanted to consider
Question 1: Should I run this before or after the dBASE4 database is backed up and cleaned up? What factors should I consider?

Question 2: Should I link to the original tables, link to copies of the tables, import to the original tables, or import copies of the original tables? The database is not being used at night, but I thought the advantage of working with copies of the tables might be that, once the copies are made, the rest can process while the dBASE4 clean up is being done.

Question 3: Does it matter where the input tables, copied tables, Access application, output files are in relation to each other? Which must be in separate folders, which should be in separate folders, how far apart should they be and why? The output files need to be put on another server. Does Access have a problem with that or do I need another DOS step?

The rest of my questions are about fixing things done wrong...

Question 4: I created a macro to import the tables to Access using TransferDatabase actions.
But I keep on getting the message “The Microsoft Jet database engine cannot open the file ‘C:xxxxyyyy’. It is already opened exclusively by another user, or you need permission to view its data.”
Where ‘C:xxxxyyyy’ is the Database Name, i.e. the folder where the dBASE4 files for tables are found.
I can successfully import the tables by clicking File > Get_External_Data > Import using the same folder specifications and file names, however this would not be automatic and defeats the whole purpose of this effort.
How do I get around this problem?

Question 5: I created a macro to run the queries and file the results into a text file using TransferText actions.
The queries were all tested and were successfully run independently of the macro.
I specify the filename ‘C:xxxxyyyyzzzz.txt’
When the macro is run I get the message “Query must have at least one destination field”.
What is a destination field?
How do I get around this problem?

Question 6: Also, I can't figure out how to specify the SpecificationName to make the file tab delimited and not comma delimited. The file also has quotes which I don't want, but that may be the same problem.

I will probably find more problems once I get this part working.
I intend to go to the Control Panel Scheduled Tasks to invoke the macro once it works with a commands something like:
"c:program filesmicrosoft officeoffice11msaccess.exe" "c:xxxxAppIF.mdb" /x Run_Queries
First one delete the old tables in Access, second one to import or link to the new tables, third one to run the queries & update the output files

I hope this posting did not break too many rules
Thanks for your help
Bill@cunyprep

View Replies


ADVERTISEMENT

Applications And Access

Jan 25, 2006

I am new to databases as you may of seen if you have seen some of my other posts. I have seen this done on a database that is used in my school. When the user double clicks on the access file it opens but it doesn't open like a normally access database, it opens up and shows the switchboard straight away and also hides the dialog box that lets you view the design of everything, so it stops you from seeing the information apart from through the front end that you provide.

Do any one have any idea how do to this, as i have said i have seen it done in school but the person who created the database has now left and I'm a little stuck.


Thanks in advanced!

View 12 Replies View Related

Access Applications

Nov 17, 2006

Is there a website that contains pre-built access applications?

View 1 Replies View Related

Program That Document Access Applications

Jul 3, 2007

I have seen advertised a number of programs whose developers claim the program will document an application for you.

They're relatively expensive - several hundred $ as I recall. But if they work, it could save many days of headaches.

I was wondering if anyone had used them, if you'd recommend them etc.

View 3 Replies View Related

Access 2000 And 2003 Applications

Aug 10, 2007

I have developed quite a few Access 2000 applications for clients and continue to maintain and update these applications. I am starting a new position with a client using Access 2003 at the client's location. I would like to upgrade to 2003 but I still need to service my 2000 clients. Can I install and run both versions of Access or can I still maintain the 2000 apps under 2003? Help!

View 4 Replies View Related

Table Structure Problem For Courier Db

Apr 12, 2006

My database as per the table/relationship structure attached (& below) works fine as far as capturing data goes & displaying certain queries, however the crucial part doesn't work & I suspect it's the table design structure that may be the culprit.

I therefore need someone to please advise & help me to normalise my table structure.

(Rates Table)
RateID (PK) -> Customers Table RateID
Overnight by 08h30 (Different values per RateID)
Overnight by 11h00 ( " )

(Customers Table)
CustID (PK) -> Shipment Details CustID
RateID
Cust Name etc..

(Shipment Details)
ShipmentID (PK)
CustID
ServiceTypeID (from Combo Box-populated from field headings from Rates Table)
WaybillNo etc..

With the structure as it is I can't seem to pull a value for a selected service type by customer.

Thanks in advance for your advice on this.

View 2 Replies View Related

Applications Width And Height

Jan 20, 2006

Hi,
Does anyone know how to set the application's width and height? I have an access application and I want to resize the applicatoins' with and height, NOT the forms!
is this possible?

greetings
nelleh

View 1 Replies View Related

Need Help With System Tables And Front-end/back-end Applications

Oct 29, 2007

I currently have a front-end/back-end database, but at some point in time one of the tables has been modified and whenever the front end connects it comes up with a parameter request for a field that no longer exists. I have narrowed it down to MSysQueries, where there is a reference to this field. Is there anyway I can avoid this or change/repair the system table?

Compact and repair doesn't work unfortunatly.

Thanks

View 3 Replies View Related

Can Office Access 2003 Runtime-Based Solutions Applies To Access 2007?

Jan 29, 2007

Hello,

I have installed Microsoft Access 2003 and Microsoft Access 2003 Developer Extensions. I can create Access application by using the Package Wizard.
But after I upgrade from Microsoft Access 2003 to Microsoft Access 2007.
I can't use the Package Wizard.

How can I do to solve this?

Thanks.

View 1 Replies View Related

Automated Access Launch Causing Access Window To Fail To Hide

Jul 10, 2006

Hi,
I have been using "fSetAccessWindow (SW_HIDDEN)" in the open event of my
main switchboard to hide the grey Access screen from being visible behind
forms, reports, etc in this db. But when I started using a .vbs script file
to launch the db, the Access window stopped being hidden. (The reason I use
the script for launching is that it temporarily sets the db's security level
to 1 which stops the macro security warning from coming up.) Apparently MS
knows about this happening and released a technique to rectify the situation,
but I don't understand their instructions. It looks like they expect one to
have more understanding than I have. Could someone help me get this
impliemented? Here is the article:
http://support.microsoft.com/kb/167659/en-us
Thanks!

View 2 Replies View Related

How To Access Ms-Access WorkGroup Tables To Change Database Login Password

Apr 13, 2007

Hi!
This is Kishore, working on VB Project which is using MS-Access95 as backend.
Now, i want to change the Database login Password.
Could anyone guide me in this context.

Regards,
Kishore

View 4 Replies View Related

Using Access's User And Group Accounts Or Using A Login Form To Access Database?

Sep 9, 2005

Using Access's User and Group Accounts or Using a Login Form to access database?

I've been researching on how to make a database secure. How to create User and Group Accounts on access, I see the step by step instructions and tried it out myself.

I also saw some sites where they give an example of a Login Form and how to create one.

My question is do you need to create both. First create the users and groups to permit or deny access to certain forms and then have a login form?

But would that mean that they'd have to login twice? Once when the database opens because it activates the db security that was created and then login again in the login form that was created?

Also when the user logins in and clicks on the cmd button on the form which opens up another from, frmWorkLog, I have an Employee field. This field I want it to have the user's name entered automatically and "locked". So that info, employee name, is extracted from the user's login. So then the user can only see his or her records only and no one elses.

How would I go about creating that. Hope I made my explanation clear.

Thanks in advance.

View 3 Replies View Related

Locking User Access To Database Objects (MS Access 2000 And 2003)

Apr 15, 2007

I have two database applications and they are:
- the (A) application is for administration use.
- the (B) application is for normal users use.

the idea is that: I made the (A) application for administrators who have full control over the database objects (tables, forms, queries, and so on ...).

the (B) application I have created for normal users who will have only to use forms to insert some data and display data only.

but the two applications has a respective table called "vacation request" table. where I linked them, so the both administrators and users can share the data.

The real question is that: How can I prevent the users from seeing the database objects in their application. I used the database options which have helped me in hidding the database objectives when the users open the application, but unfortunately they managed to access to the database objects by pressing the special keys.

I would like to have an access to the (B) application when I want to make some modifications to the forms and then lock it from users where they only have to use the forms for requesting vacations and view the vacations.

View 1 Replies View Related

Remove Access Parameters Request For Simple Access Search Form

May 3, 2014

I have a simple access search form , that's based on a query that fill parameters from the form textboxes, when the access form loads its keeps prompting for parameters value which looks ugly .. I want to open the form, displaying all the records in the table and filter when i click search ..

I have a data entry entry form, that i want to generate success message after successful insert in database. I have done it in the button event if no error happens, still if i left all fields blank and clicked save, it displays the message ..

I need to change that to display please fill the textboxes then click save , and display success message when the row is actually inserted ..

Check the following attachment for sample.

View 14 Replies View Related

Forms :: Multi Select Listbox Access 2003 Code Gives Syntax Error In MS Access 2010

Oct 24, 2013

I've been using the following code successfully in Access 2003 & now I need to migrate to Access 2010. The purpose of the code is to use the items that the user selects in the list box to build the criteria of a query. Access 2010 keeps giving me a syntax error when I try to run the query & I don't know why:

My code is:

On Error GoTo Err_Command151_Click

' Declare variables
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim varItem As Variant
Dim strCriteria As String
Dim strSQL As String

[Code] .....

The syntax error I get in Access 2010 is:

Syntax Error in query expression 'SELECT * FROM
qryContractListSummarybyDateContract3TYPEBREAK WHERE
qryContractListSummarybyDateContract3TYPEBREAK.Rep ortableName IN('Adbri
Masonry NSW');'

View 12 Replies View Related

Table Problems Moving From Access 2003 -> Access 2007

Jun 19, 2007

Attached is a screenshot of the relationships in a database I built a couple of years ago. It's worked absolutely fine in Access 2003 and currently has over 18,000 customers with associated information in it.

However, when I open the database in Access 2007 the performance is awful. All the forms are very slow to respond when tabbing between form elements. I've experimented by reducing the number of form elements calling on related data on a given page and whilst this improves performance it reduces usability - something I don't want to compromise on especially since Access 2007 should be able to cope with this.

My next question is therefore whether I've got the most efficient underlying table design and I can't see any other way of doing it than my current method so I'd be grateful for any feedback or advice anyone has.

View 2 Replies View Related

Importing Excel To Access Keeping Relationships In Access Tables

Sep 13, 2007

I have a stock control database which i have nearly completed. This has Manufacturer, which is linked to products, which is linked to Sub Product(which also has field partCode). i.e. Manufacturer1 can have 3 products, and each of these products could have 5 subsystems and partcodes. Each partcode is unique to that subsystem/product/manufacturer.

I then have a pricing spreadsheet in excel, which has many tabs. A new column has been added for each item for Manufacturer,Product,Subsystem and Partcode.

I need to import these manufacturers,products,subsystems and partcodes, but into the tables with the correct relationships, i.e. product1 and product2 are products of manufacturer1 and so cannot come under manufacturer2, and so on.

I hope this makes sense, Thanks in advance for any help you can give!

Emily

View 14 Replies View Related

Subform Referenceing Problem Between Access 2000 And Access 2003

Apr 19, 2005

I am working on a massave aplication that has been running in Access 2000, but recently several of the file sharing users have installed Access 2003 because of the limited availability of Access 2000. All the users are using the same file off the server.

The problem we are having is that when we reference a subform in the "[Forms]![FormName]![SubformName]![FeildName]" Access 2003 does not recognize it and returns an error. I have found that if I will modify it to "[Forms]![FormName]![SubformName].[Form]![FeildName]" it is recognized in both 2000 and 2003.

To try and change every instance of a subform reference will take forever and I am garuteed to overlook something. We reference subforms all over our program, missing any one of them would be a disaster. Before I went to the tedious task of looking through everything I just wanted to throw the situation out there and see if any of you had any great ideas on how to get it fixed efficiently. I would apreciate any ideas.

View 5 Replies View Related

General :: Only Open MS Access Form Without Access Running In Background?

Aug 7, 2013

I have made a form on access which will be used by other employees within the company, however they have never used access before and they are wanting to access only just the form as I feel with Access and all the tools in the background will confuse them, plus I don't want them editing the data base its self.

Is there a way to only bring up the form, unless I obviously need to edit the date base.

I've done some research on Google and it seems I need to use:

SW_SHOWMINNOACTIVE

However I can not seem to find how I would use this or where?

and also if i did find a way to only bring up the form, how would I be able to switch it from that veiw to the veiw I edit in?

View 2 Replies View Related

Upgrade From Access 2000 To Access 2003 Problem

Jun 6, 2005

I upgraded a 2000 db to 2003 recently. When I ran the function below it gave me an error on the line in green. Any thoughts? Thanks.
Const FIRSTROW = 13

Dim wsp As Workspace, dbv As DAO.Database, tblResolve As DAO.Recordset
Dim tblVchs As DAO.Recordset, tblImpTmp As DAO.Recordset
Dim ObjXLApp As New Excel.Application
Dim FileToOpen As String, WhereCriteria As String, ImportTemp As String, tmpVch As String
Dim TotalDupes As Integer, TotalGood As Integer, TotalRejects As Integer
Dim TotalBlank As Integer, R As Integer, C As Integer
Dim BadSheet As Boolean, ImpFail As Boolean
Dim tmp, tmpType, tmpCtr, tmpRsn


If Forms![Import Block Vouchers]![Import Program] = "0" Then
MsgBox ("You must select a Program to load.")
ObjXLApp.Quit 'Exit from MS Excel
Exit Function
End If

View 5 Replies View Related

Problems When Using A DB Created In Access 2002 (XP) In Access 2003

Jun 17, 2005

I have an Access DB that I created in Access XP. It works perfectly when used in Access XP. When used in an Access 2003 environment some of the functions don't work anymore. I have users who use Office XP and users who use Office 2003. Does anybody know how to make this DB work in Access 2003 without having to do wholesale code changes?

I have already changed the security to "Low" to bypass the security feature built in in Jet 4.0 but it didn't help. I might have to uninstall Windows XP SP2 to make it work because I know that the application works in an Office 2003 environment with Windows XP SP1 only. But I'm trying to avoid having to uninstall XP SP2 because it's a pain. Any ideas would be greatly appreciated.

Thank you.

My workstation environment is as follows:

OS: Windows XP SP2
Office: Office 2003 SP1
Jet: 4.0

Raneil

View 2 Replies View Related

Access 2003 Buttons Not Working In Access 2000

Sep 14, 2005

Hi,

I've created a database in access 2003 with the default file format being Access 2000. Everything works fine on my computer and many others, all of whom are running different versions of access (2000, 2002 & 2003).

I have not had any problems with this database until recently and in the last few weeks we have had 2 users, both of them being Access 2000 users who have had the same problem.

The problem they are having is that when they click on any of the switchboard items, the buttons depress an then come back up again when the cursor is moved away, but nothing else happens - no action, no error message - nothing!!! Its the same for all of the buttons on the switchboard.

Does anyone know what is causing this? I have another computer with Access 2000 on it and this works fine, as it does on several other computers runiing Access 2000, I just cannot understand why it is not working on these 2 particular machine.......

Many thanks in anticpation.

Steve

View 3 Replies View Related

Access 2003 Saves DB In Access 2000 Format?

Sep 20, 2005

I have recently installed access 2003 w/access 97 installed both are on my hard drive. When I create a new db in access 2003 it saves it in an access 2000 format. Does any one know why it does this?

Thanks--Appreciate any help

View 2 Replies View Related

Access 2000 Database Not Working Under Access 2003

Dec 7, 2005

i am trying to use access 2000 database onto to access 2003. When i try to click design mode to change something it gives me this message:

You dont have permissions to modify.

If i run it on access 2000 it runs fine.

Someone please help.

View 5 Replies View Related

Deploying Access 2003 Project In Different Access Versions

Dec 28, 2005

Hello,

I have two questions related to deplying an Access project I have been working on.

1. I started developing the project in Access 2000, but midway upgraded to Office 2003 and so the remainder of the project has been developed in Access 2003. Things seem to be fine, except that in the top most title bar, after the project name, there appears the following text:

xxxxx: Database (Access 2000 file format)

where xxxx is the name of the .mdb file.

Why is this appearing and should I have done something or do something to make it a Access 2003 format?

2. I am at the point of deplying the db to a small group of users (about 5). Some of them may have Access 2000 or Access 2002. Should I be doing something in particular to make sure things work in their machines.
Any pointers to what may be problems or what I should do will be much appreciated.

Thank you.

View 2 Replies View Related

User Access Denied In Access 2000 Runtime

Mar 11, 2006

We have two computers in a work group. On computer1 I have the back-end and front-end database files in the shared folder and 2 users out of 4 can access the database no problem. When the other users try to access the database they receive the error message "Microsoft Access can't Find The Database 'C:Documents and SettingsAll UsersDocumentsdb.mdb' Make sure you entered the correct path and filename" On computer2 I have the front-end database files in the shared folder and pointing to the same back-end database on computer1. Again 2 users out of 4 can access the database no problem. When the other users try to access the database they receive the same error described above.

I expect that this is some sort of windows permissions issue?
There are some clues to this fact ..
The two users that can't access the database are limited accounts, but I tried making them administrators and this had no affect.
Their shared documents folder does not have a hand underneath it?

Any help on this appreciated as it's really starting to annoy me now!

Thanks.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved