Help Or Suggestions On How To Change Path
Sep 6, 2006
Hello,
I have almost ultimate my database which works with forms that export their data to word documents.
The code behind the forms indicates that path to which it will find the word documents.
As I will be sharing my program with several offices, I will need that each Office will have to change the path based on their server name.
Examples of path: \ABC123shared emplatesmydoc.dot
Is there a way each office or better on person which will be the database administrator can change the ABC123 in all forms without having to open each one in design view and manually make the change?
I was thinking of some kind of text box where to write the path and a cmd that will do it for us.
Appreciate any help. Thanks.
View Replies
ADVERTISEMENT
Apr 3, 2013
I have copied our company access database onto my lap top and linked the front end to the back end. My problem now is that when I open the switchboard it is looking for the data and tables on the G drive, this was where it was on our server. How do you change the path for the switchboard.?
View 10 Replies
View Related
Jan 10, 2013
I am new to Microsoft access. I have a database moved from another computer. it is split into the backend and the front end..
However, when i click on the forms in the front end, I get an error message. It is trying to use a path from the old computer, to the database, but its on a different computer.
So, this brings me to my question, how do i change the path, to the new location
View 1 Replies
View Related
Mar 18, 2008
Hello. I've searched and read a few threads concerning image controls on forms and haven't been able to find a solution to my problem (yet). Anyway, I have a form with two image controls (imgOK1 & imgOK2). The previous and current setting of the "Picture" property for both images is set to "C:MOMGraphicsfilename.bmp". The location of my images has changed and will change for each user which is "C:Documents and Settingsuser.nameMOMGraphicsfilename.bmp". I'm using the following code to set the .Picture property on form load:
Dim ImgPath
ImgPath = "C:Documents and Settings" & Environ("username") & "My DocumentsMOMGraphics"
Me.imgOK1.Picture = ImgPath & "imgButton-OK1_25%.bmp"
Me.imgOK2.Picture = ImgPath & "imgButton-OK2_25%.bmp"
When the form is opened, an error stating that the image located at "C:MOMGraphicsfilename.bmp" cannot be found; once for each image control. Then the form loads and .Picture properties appear to be set correctly as they are displayed fine. I've tried to clear the .Picture properties for both image controls using the properties editor but the original path returns as soon as the property loses focus. Is there a way to programatically set this property and make it stick so the errors are not displayed?
View 7 Replies
View Related
May 26, 2014
Till now I managed to publish and save all in C:Reports. What I'm trying to do is Save to path specified in Path. DB attached.
Private Sub PrintAll_Click()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim MyPath As String
Dim MyFileName As String
[Code] ....
View 6 Replies
View Related
May 20, 2005
I wonder if someone can give a suggestion on how to start this database. I am doing a material list database, but i've come across a situation where certain materials require a lot of text entry as opposed to some of the others where you simple enter data such as " density, grade, strength, etc" values. Because the layout/fields would be so different for the different materials (eg. plastics, metals, elastomer, etc.) it possibly might be a good idea to just separate them into different table groupings altogether? what do you think? Originally they were entered in Word and i was thinking of putting in access to standardize it. But what I'm trying to get at is the format in word was much like a one page report with headings and short paragraphs for this section of materials. Is it worth it and how should I go about having large text and heading entry, form use, report layout?
Thanks!
View 3 Replies
View Related
Jun 2, 2006
I am starting a new database today at work. I need some suggestions.
First of all, we will be having people enter data into many sections of the database at the same time...should I create seperate databases for these sections and link them together somehow so that it doesnt freak out with multiple users or being saved while open in different computer on the server?
Will it freak out anyways? What happens exactly if you open same database on two different computers.
Next, I would like to know if anyone has any further ideas about creating this database the right way in a server setting with multiple users!
Thanks.
View 5 Replies
View Related
Nov 8, 2004
Ok a bit of back ground. I'm building a access front end to a sql database. The end user will access the information in the database via asp pages on the Internet. They will only be viewing and not changing this information.
Now from the asp will be links to other pages within the same site. So they only have to be relative links eg .../folder/page.htm. But I want the person who inputs the information in the access front end to be able to test that the link works before saving the record.
I would prefer them to be able to press a button, then have access grab the link from the text box, add the relevant other bits eg http:// and load the page.
Any suggestions how I should go about it?
View 1 Replies
View Related
Jun 21, 2006
Hey all, I am currently looking to make a great database system for use within my community. What I currently have is a mdb with just 3 tbls but will be building from there. I have the normalization down thus far, but wanted to put things out there for any suggestions or ideas to make this a useful system. This is not a profit situation, and will generally be used only by myself or possibly one or two others.
What I have is a database that tracks the homeowners within our community (subdivision) and their properties. So far I have 3 tbls
tblOwners
- OPkey (autonumber)
- OFname
- OLName
- OStAddress
- OCity
- OState
- OZip
tblUnits
- UnitPKey
- StNum
- Street
- PIN
- Check2005
tblJct
- UnitPKey
- OPKey
Structurally this works great so far. I can easily relate properties to their owners and link multiple properties to those who own more than 1 (landlords). I structured it this way since the two tbls had many to many relationships, so the junction tbl made the most sense.
Now I am looking to add information from a tract search (mortgage holder information) which technically relates to both of these tbls (Unit & Owner) as well. I already know that most of the owners with multiple properties will most likely have the same mortgage holder, but that is not definitive. Since the same mortgage holder could easily be associated to multiple properties within the community, I know I have to have an independent tbl for that information as well.
What I would like to head for is something that will allow me to send notifications, letters, flyers and the likes to either the owners, residents, mortgage holders, or any combination of the three. I have attempted to create a few thus far but have issues with getting all of the required data output to Word, so I am thinking I may need to design these items in a Form instead.
Any thoughts or comments would be appreciated. I know I am heading in the right direction, but just putting it out here for the Access community to put in their 2 cents.
View 3 Replies
View Related
Jan 4, 2007
Hi, I'm afraid I am unable to be overly technical with my question as i've only really had a 2 day access course, sorry in advance!!!
Problem
I am trying to create a skills Matrix, it will need to include approximately 400 different skills which a staff member my or may not be trained on. I started by trying to do the lot on one table and an one input form but hit the 255 field limit. So now i'm messing around splitting it down into approx 7 sections. So, now i have 7 tables of skills and 7 input forms for the user to fill the table with, each table with a duplicated list of ID numbers for the staff. This seems really inefficient to me and i'm basically wondering if someone might give me a couple of tips structure wise. Also, could i just have one table for the staff ID's seperately? I tried to do this but cannot find a way of relating the skills input on the form to the specific ID if they are not on the same table. I know this is all probably really basic (and probably poorly explained and confusing too) but i've scoured the net as per usual and came up with nothing (i got some lovely code online which disabled the scroll button from moving records yey! :p ), so ive taken the brave step of joining a forum.
Thankyou for your time everyone.
View 9 Replies
View Related
Mar 10, 2008
I have a databse that i want to perform some analysis on to identify some trends. The database consists of album sales of a year. I have availble all details of orders, customers and albums. All tbales are joined with one to many relationships. Can anyone suggest some queries that i could do to perform some meaniful analysis to identify some trends in the data. :confused:
View 10 Replies
View Related
Mar 12, 2008
I am developing an app for a small medical office that requires a way of tracking periodic health testing for their patients. They are ultimately requesting a report that informs them of upcoming required tests for their patients.
Most periodic tests for a given patient will be manually assigned by the user in the frmPatient form via a combo box that lists available tests (for example, Mr. Smith is assigned a prostate exam with a frequency of every X months). However some tests need to be automatically assigned depending on the age of the patient (for example, when a male patient turns 50 years of age he needs to have a prostate exam every 12 months).
My Question:
What is the best approach to the automatic requirement of adding/flagging/indicating in a report that there are tests that are needed for patients that is determined solely by their age, eventhough this test has not been previously assigned manually?
View 3 Replies
View Related
Mar 2, 2005
Can anyone suggest a good form layout for my database below?
I have also included the database in access 2002 version!
tblEvent
EventID (int autonumber not null primary key)
RaceID (int foreign key to tblRace.RaceID)
EventName
EventTrack
EventDate
tblCar
CarID (int autonumber not null primary key)
CarName
tblCarSetup
CarSetupID (int autonumber not null primary key)
CarID (int foreign key to tblCars.CarID)
TyreType
TyreSize
GearBox
DiffRatio
tblDriver
DriverID (int autonumber not null primary key)
FirstName
LastName
tblEngine
EngineID (int autonumber not null primary key)
EngineMake
EngineModel
tblEngineSetup
EngineSetupID (int autonumber not null primary key)
EngineID (int foreign key to tblEngine.EngineID)
EngineCompression
Carburetor
FrontJets
RearJets
FuelPressure
BaseTiming
TotalAdvance
tblRaceVariables
RaceMasterID (int foreign key to tblRaceMaster.RaceMasterID)
RaceTime
TrackTemperature
RelativeAltitude
Milibars
Humidity
AirTemperature
TyrePressureHot
TyrePressureCold
StageRPM
ShiftRPM
Reaction
60ftTime
330ftTime
660ftTime
660ftMPH
1000ftTime
ElapsedTime
ElapsedMPH
Coments
tblRaceMaster
RaceMasterID (int autonumber not null primary key)
EventID (int foreign key to tblEvent.EventID)
CarID (int foreign key to tblCar.CarID)
EngineID (int foreign key to tblEngine.EngineID)
DriverID (int foreign key to tblDriver.DriverID)
All relationships will be RI Link with delete cascade.
Thanks,
Dean
View 2 Replies
View Related
Sep 8, 2005
I needs some advice on how to proceed.
Our company is devolving some operations to a sub office for 3 out of 11 business units. we have a central DB that we use to record monthly events the problem is that the parent group has to be able to update records for all units but the sub office is only allowed to see and edit their records
At the moment the data is all stored in one table and we use a Front end back end with local front ends for access I have a table to say if a unit is part of the sub office or not and in the sub office front end i have a Query which links the 2 tables together and filters the records to show only sub office
SELECT tbldatatable.*, tblShipName.Manager
FROM tblShipName RIGHT JOIN tbldatatable ON tblShipName.ShipName = tbldatatable.Ship
WHERE (((tblShipName.Manager)="nv"));
the remainder of the forms and querys all run from this query rather than the tables
the problem is the join makes it a non updatable record set
what is the advice on how to achieve what i need as i cant see a simple way to proceed
thanks
ND
View 9 Replies
View Related
Jul 24, 2006
Hi everyone,
I'm creating databases that houses information of the different software versions my company offers. This way they can easily keep track of updates, obsolete info, etc.. I'm trying to decide what way would be most benifcial. I've been leaning more towards creating multiple databases and having a dropdown box in the beginning to open what database(version) you would like to view. Is this the only way, or does anyone have any suggestions on how to make my idea better?? Just trying to Brainstorm, also, I'm only an intern so my experience is limited.:D
Thanks in advance!!
View 1 Replies
View Related
Nov 20, 2007
Hi,
I'm doing a database for a CD, DVD, Game website could you take a second to review it and give me suggestions to improve things.
I've included my old and revised database to see what if done
View 8 Replies
View Related
Feb 9, 2005
I am creating a database where the user can import data from a number of spreadsheets (one spreadsheet for each company). Currently I have one table for each company with the year being the primary key. Each year when a rolled over spreadsheet needs to be generated for a certain company I have Access import the data to a blank template in excel which will display the prior 4 years of data (for informational purposes) and leave a column blank for the end user to fill in the current year data. When returned the current year data is imported into the database.
My problem is that I cannot see a way to do this without having a seperate table for each company. If I have one table with all company data I cannot use the year as the primary key. Any suggestions on how I can reduce the amount of tables I need. Setting up the rest of the tables wont be a problem, but future users of the database will have to go through the process of creating tables for new companies and creating all the queries and macros associated with that table.
View 2 Replies
View Related
Dec 31, 2005
I am converting a log book over to MS Access. The log book contains information on inspection results for a metallurgical lab. I have one problem w/ my “inspection table” which I will explain later in the post.
This is the plan I am using to figure out my entities and attributes for the database. I wrote a short description about the hand written log book we use at work.
A log book is an array individual fields.
Each field is made up of 11 columns
(date, initial, log #, sent to customer, customer, dept, part #, load #,
results, acc/rej, and defect code).
The date pertains to the time a particular part was inspected.
Initial indicates who checked the part.
Log # starts at “1” Jan 1st and increments for each check throughout the
year
Sent to cust asks if “inspected” samples are sent back with finished product.
Customer displays owner of finished product.
Dept indicates the processing area of plant.
Part # distinguishes the part type.
Load # may display what furnace and run count for the year to date.
Or, tub number in an array of tubs processed through a continuous furnace.
Results give a list of values on test results.
Acc/rej is a simple “yes/no” question asking if finished product is
acceptable to ship to customer.
Defect Code represents a particular defect found during inspection
Tables
Log -- *LOGNum, LOGDate, &LOG_TECId, &LOG_CUSTId, &LOG_FURId &LOG_PARTId, &LOG_INSPId, LOGaccept, &LOG_DEFCode
Customer -- *CUSTId, CUSTName,
Part number -- *PARTNum, &PART_CUSTId,
Technician -- *TECHId, TECHName
Defects -- *DEFCode, DEFType
Furnace -- *FURId, FURType
Inspection type -- *INSPid, :confused:
* Primary key
& Foreign key
One problem with the Inspection table; we have different inspections for each part number. Some require 10 RC punches others only require 5 RC punches. Some Require a Total Case inspection. Others Require an Effective Case inspection or both TC & EFF Case.
Some part #s require all tests (i.e. Crush, Total Case, Effective Case, RC, & R15N)
Once I figure out the basic table setup I can use a query to build the final log. And develop a forum for the data entry. I’ll worry about the CPK reports later :)
Here is a sample database Let me know what you think. I still need help on the INSP table :)
Your Download-Link: http://rapidshare.de/files/10087240/SampleTable.zip.html
View 14 Replies
View Related
Jan 4, 2008
I have a products file in csv format including their category, subcat, and brand name.
Now I want to take that file and split it up into 2 tables in Access. One table will contain the product data only: name, description, price, etc, etc - with a primary key (of course) and a category number. The 2nd table will be the categories for each.
The formatting of the categories table needs to be:
Code:Cat ID | Category Name | Parent ID 1 Tools 0 2 Hammer 1 3 Pliers 1 4 Hardware 0 5 Nails 4
Does that make sense?
My real problem with this is finding a suitable number format for the categories. I imported the file as a table, then I run a query on it to get the ID's for each of the category, subcat, and brand, but of course in the above table format I'll end up with duplicates.
Also, how would I then assign the final number to the product itself?
View 2 Replies
View Related
Jan 15, 2008
anyone have any suggestions for getting around the error on the attached picture?
thanks
sportsguy
View 1 Replies
View Related
Dec 28, 2007
All -
I have just about finished up a Split DB that I plan on deploying in a LAN environment. The goal of course is to turn what looks like an Access Application now into a non-access looking application where the Front End can be distributed and run on any computer within the LAN.
I have several questions that I may need some help on.
How does one go about hiding the Access Shell and/or Ribbon/Nav in 2007?
How would I add a form that allows for a user to navigate to and connect to the back-end without having them check all of the appropiate tables and then browse to the back-end file if they have a different drive letter mapped to the location of the back-end files for example?
Any tips on how to sign the DB so the pesky Trust Center question can be bypassed?
Any other tips on how to simply distribute this for a LAN environment and/or make it look NOT like an Access DB with access to view the Forms, Tables, Queries, etc. This is my first Access DB project, let alone a LAN distributable one.
Thanks!
View 7 Replies
View Related
Jul 29, 2005
After some help from one of the threads here I managed to install a Browse button in a form that inserts a file path to a text box. What I need is the folder path from that file path in another text box. For example if the file path is
C:Documents and SettingsmixupSketchesowl.jpg
I would like to get either
C:Documents and SettingsmixupSketches
Or,
C:Documents and SettingsmixupSketches
in my second text box.
I do not have much experience with Access; therefore please give a little detail on how to accomplish this.
Thanks.
View 9 Replies
View Related
Apr 5, 2014
I am trying to change the button color on a subform if a related form data changes.Main form is products with a continuous subform with serial numbers of products i.e, serial number, location, price and a button to add addtional issues if there are any for this particular serial number (this will open up another form related to the serial number so I can add an issues if there are any).The reason I would like the button to be a different color is so I can quickly see if there are any additional notes been added to the serial number. Just in case you may ask why not add the field to the continuos form is that the issues and be quite lengthy and there may be lots of serial numbers on the form
2346 location warehouse price 29.99 (button - green)
2347 location shop price 29.99 (button - red)
View 1 Replies
View Related
Aug 28, 2006
I have a split dbase and have been running the backend on a server which was linked using a mapped network drive letter and path.
Now I'm trying to connect it to a path like this. Is it possible?
\aaat.comFoldersUS-SitesNY-JunctionPassdown-passdownfilename.xxx
View 1 Replies
View Related
Feb 22, 2006
Trying to get the app path of the database I have open to insert into my connection string. Currently using the following:
sPath = App.Path
Receive this error when debugging:
Run-time Error '424'
Object Required.
Thanks
View 2 Replies
View Related
May 12, 2006
Hi,
Ans1:
MyShortcut.TargetPath = "C:Program FilesMicrosoft OfficeOffice10Msaccess.exe "
Ans2:
MyShortcut.TargetPath = "C:Program Files..Msaccess.exe "
The Ans1 works fine.
The Ans2 doesn't work.
I want to work the Ans2, because every user machine's Office path is different.
For example:
MyShortcut.TargetPath = "C:Program FilesMicrosoft OfficeOffice10Msaccess.exe "
MyShortcut.TargetPath = "C:Program FilesMicrosoft OfficeOffice11Msaccess.exe "
MyShortcut.TargetPath = "C:Program FilesMicrosoft OfficeOffice12Msaccess.exe "
MyShortcut.TargetPath = "C:Program FilesMicrosoft OfficeOffice13Msaccess.exe "
So, I want to create the link with the target
MyShortcut.TargetPath = "C:Program Files...Msaccess.exe "
How can I do it?
Please let me know, thanks.
View 2 Replies
View Related