Tables :: Form That List Available Static IPs In Network Range Blocks

May 29, 2013

I've been tasked with coming up with a table structure that will allow me to make a form that lists the available static ip's in my various network range blocks (we have multiple off-site locations and use different ip ranges at each site).

I have the vision in my head of the form, you would select the block range from a drop down list, then see all the available addresses in that range. From there you could assign mark one as used and it is no longer listed on the form (I'm thinking a simple yes/no checkbox). What my co-workers would love to see is if there were entering a new PC assignment and put one of those available IP addresses into that forms record (different table too) then the ip would get deleted from the available pool as well.

View Replies


ADVERTISEMENT

List All Assigned Static IP's

Jan 30, 2008

Hi guys, back on the development trail!!

I have a database, the 3 tables of current interest are:
tblStaticIP (IP)
tblComputerIPAllocation (ID - IP - ComputerID)
tblHardwareIPAllocation (ID - IP - HardwareID)

Realtionship via IP (no RI enforced).

I would like to be able to list all allocated IP's in a single query, even better prevent allocation of IP's allocated elsewhere?

Can anyone advise?
Thanks,
Phil.

View 8 Replies View Related

Tables :: Static Import From Excel

May 14, 2015

I want too import data from excel, this data is test results and contains the students names as well as the answers to the questions.

Currently my import looks like this:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "Resultyear", "C:UsersjesseDesktop est-7-2015.xls", True, "Worksheet!A11:AV32"

However is it possible to import 2 lots of data ranges from the one import? as in can I have "Worksheet!A11:C32" + "W11:AA32"?

View 4 Replies View Related

Modules & VBA :: Static Webpage Form - Export To HTML Using Template

Mar 12, 2014

In my DB I have a query that I need to create a static webpage from, now in excel I can do the record button and bingo, but access is a lot more confusing.

I have a template named doc_tplt.html that when I do the export from the query it creates the webpage using this template.

I want to have a form with a selection of command buttons on it to export to html using the template for various queries and tables.

What is the VBA code to export the query (qry_docs) and apply the template (doc_tplt.html) and save to the same directory as the DB itself.

View 2 Replies View Related

Modules & VBA :: Code For Querying A List Of Filenames Within Network Directory?

Dec 12, 2013

After several days of searching, I haven't been able to find any threads related to this. I'm making a search form that queries a pdf library table. Once a search query is entered, the user is able to open the files from a results form. Currently, I am entering the filenames from the network directory manually into the pdf library table.

For example, I manually enter the following information into the tblPDFLibrary table that contains the fields:

Date added, Filename, File Path, Series, Class, Title.

I was wondering if there's a way to have Access query all the filenames in the directory for me. In other words, if the directory contains the filenames: AccountsPDF, InventoryPDF, CustomerPDF. Can I have Access query all the filenames within the directory and automatically add all the file names (AccountsPDF, InventoryPDF, CustomerPDF) to the Filename field within the tblPDFLibrary table? If I am able to do this, I can code the other fields to populate information because the filename contains all the other field information (except for file path but I can program it insert the UNC path).

View 4 Replies View Related

Reports :: Can't Average Blocks Of Weighted Grades In Report

Aug 7, 2013

I'm having a problem getting a report textbox to display the average value that I want.

Background:I have a DB that tracks student grades. The course is organized into blocks, with several tests in each block. Students can take the same test multiple times, in cases of failure, or if they get rolled back in class. The DB tracks whether or not each test is a retest or audit.

The tests are also weighted. For example, the Geo Quiz could be worth 10% of the grade for a block, and the final exam 90%.

Goal:My report needs to display the class number, student name, block, test, and associated scores; it needs to show the total grade for each block; and it needs to display the student's average grade across all blocks. I need to be able to generate the report at any point in the course, not just after all blocks and tests have been completed.

Setup:Since I want to display the assigned grade, but calculate the weighted grade into the block grade, I set up a query (qryWeightedGrades) to calculate the weighted grade for each test (e.g. Score of 98%, weighted at 10% of block, results in a 9.8 for the weighted grade). When it comes to calculating the block grade, I just sum the weighted scores.

In the report (based on qryWeightedGrades) I have the grouping levels set up for Class#, Student name, then Block; the test name, score, weight, retake info, audit info, etc. appears together on a row.

How to do, get the average of all the block grades. I can't get the textbox in the Student Name group level footer to average the Block grades in the Block group level footer, without getting an error. I've thought of creating another query that averages the block grades for each student, but how to incorporate that into the footer of the Student Name group level.

Here's an example of what I want the report to look like:

Class#: 13010
Student Name: Smith, Peter
Block: WF101 (4 tests in block)
....Test: Quiz1, Score: 95, Weight: 10
....Test: Quiz2, Score: 90, Weight: 10
....Test: Essay, Score: 80, Weight: 40
....Test: Final Exam, Score: 85, Weight: 40
Block Grade: 85

[code].....

Student's average grade: 91.93 <--Getting this # is giving me problems

Class average grade: ##.##

View 2 Replies View Related

General :: Number Of Blocks Of Shared Files Are Exceeded

Jun 20, 2014

I have an Application with several users that share tables located in a Design Master file at a server. The tables are shared in several computers with a Replica of the Design Master in each computer. When we try to synchronize any Replica with the Master Design, it gives back an error message stating that the "Number of blocks of shared files are exceeded" And the message ends stating that I must increase the MaxLocksPerFile in the Register.

View 4 Replies View Related

Modules & VBA :: List Box Items And Date Range

Jun 17, 2015

I have a multiselect listbox and two date fields (StartDate & EndDate) in an Access form.I am trying to add records to the Table through the form on a button click.I select multiple items from the list box and the date range between the start date and end date will be equal to the items selected from listbox.For each item selected from the list box I need to add a separate record with a date.So the first record will have List box item selected1 and the start date.Next record will have item 2 from list box and date as dateadd("d",startdate,1)And final record will have last item selected from the listbox and date as enddate.

View 5 Replies View Related

General :: Rewriting Repeated Blocks Of Code For Combo Boxes

May 10, 2013

I just recently started programming in MS Access. I have some forms with lots of combo boxes. I do not want users to type anything in the boxes, but to only select stuff that is contained in the drop down menus.I found this useful code and I am using it in my combo boxes on the key down event to do what I want.

Private Sub cmb_a_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode <> vbKeyTab And KeyCode <> vbKeyReturn Then KeyCode = 0
End Sub

Private Sub cmb_b_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode <> vbKeyTab And KeyCode <> vbKeyReturn Then KeyCode = 0
End Sub

Private Sub cmb_c_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode <> vbKeyTab And KeyCode <> vbKeyReturn Then KeyCode = 0
End Sub

The issue is because I have so many combo boxes, is there a better way to rewrite the code so I don't have to repeat the same code in 20 places?

View 5 Replies View Related

Linked Tables Across Network Are Read Only

May 22, 2006

I have a main computer where my Access Application runs but I also want other computers with the application runnign on it but linked to the backend database on the main computer, however when linking to the tables they are only read only.

How do you link to tables accross the network so you can read and writ e to them?

View 5 Replies View Related

Tables :: Hyperlink To A Network Share

Jan 24, 2015

In my 2002 Employee table, I have a field which is a hyperlink to photos: C:photosemployee1.bmp (This is what I have entered into the Field as the Hyperlink)...However, from other PCs, I connect to this database and photo folder as a different drive letter, say Z, so when I am on the other networked PCs, and I click on the Hyperlink field, the data will not come up?

View 3 Replies View Related

General :: Create List Of Month / Year Between Data Range

Aug 19, 2013

I have a list of customers with multiple rent start and end dates. I need to create a query where each customer will have a record for every month/year between their respective rent start and end dates. I generally use macros but can't figure out a way to do it without VBA. My field names are Rent StDt and Rent EndDt. My query name is QCalcREndDt. I use version 2010.

View 6 Replies View Related

Linked Tables Running Slow Over Network

Oct 12, 2006

Hi

I have a couple of acces databases running on a peer to peer network (database A and B, which are housed on PC1). The database B has a link to a Customer table in database A. This was running fine until another user on the peer to peer network wanted to use database B on their pc (PC2). I had to change the the file location of the linked table to show it's location on the network so PC2 could open it. Unfortunatley this greatly slowed the operation of the database B on both machines.
If anyone has made it this far - Is there any way round this?

Regards

David

View 3 Replies View Related

Need Help To Optimize Performance On Linked Tables On A Network

Oct 13, 2004

I have a problem trying to improve performance on a database with linked tables across a network. I found in MS Access Help that you can do the following (see bullet below), but I have no idea how to use the OpenRecordset method. Can anyone give me an idea how to code this, or update the linked table with the information given below.

*You can greatly enhance performance when opening the main database and opening tables and forms by forcing the linked database to remain open. To do this, create an empty table in the linked database, and link the table in the main database. Then use the OpenRecordset method to open the linked table. This prevents the Microsoft Jet database engine from repeatedly opening and closing the linked database and creating and deleting the associated .ldb file.

I'd appreciate your help.


Thanks in advance,
JYMALY

View 1 Replies View Related

General :: Relinking Tables To BE On Network Share?

Aug 8, 2012

I am having trouble relinking tables in my Front End database to my Back End database. My BE DB is on a network share and when I try using the link table manager to navigate to the correct folder I get an error message upon entering the network share folder that says:

The Microsoft Access database engine cannot open or write to the file "etworkfolder" It is already opened exclusively by another user, or you need permission to view and write its data.

I have permission to the folder and have ensured that this folder is a trusted location path.

View 2 Replies View Related

Tables :: Replicate NETWORK DAYS Formula In Excel

Jul 29, 2015

Is there a way to replicate NETWORKDAYS formula in Excel to Ms Access?

View 2 Replies View Related

Forms :: Value List Values In Form Not Saved In Tables

Feb 11, 2015

I created a form with subforms that are all linked to their own tables. Values that are entered in to the form (i.e. just numbers or names) all save into the tables as I would expect; HOWEVER, all of my value lists (0,1,2 or 1-5) do not. I can change the values in the forms and as long as I am toggling between them they appear in the form but they are not populating the tables.

Other details. They are defined as numbers in the property table, I did change them to a value list in the form properties and did assign values to the property list.

I looked through some other threads that seemed similar but the solutions didn't apply. Because the straight up data entry saves, I feel like it is something specific to me creating those value lists...

View 2 Replies View Related

Tables :: Auto Fill Part Of Form From Project List Table?

Nov 14, 2012

I have a master list of projects, with project reference number, project name, and nature of project.

I have also got a form for individuals to fill in details of project events, with date, time, name, and two or three other fields - also included are project reference and name. I'd like the name field to be auto filled when the user selects the project reference from a combo box; I think? (the list only shows open projects).

I'd did something similar some years ago in Access 2003 (I think) but cannot figure it out in the version I'm currently using 2010.

View 8 Replies View Related

Range Lookup In Two Tables

Feb 15, 2007

Hello,

I have two tables in my access database.

A. Lets call one table "Map" and Map table has the following fields:

1) ZipCode_From
2) ZipCode_To
3) Salesperson

ZipCode_From : ZipCode_To : Salesperson
00001 : 10000 : Smith
10001 : 19999 : Jones
20000 : 29999 : Johnson

B. Second table is called "SaleMap" and SalesMap table has the following fields:

1) ZipCode

ZipCode :
00252 :
12568 :
22563 :

C. I would like my end query to look like this:

ZipCode : Salesperson
00252 : Smith
12568 : Jones
22563 : Johnson


Any help would be much appreciated.

View 1 Replies View Related

Adding Static Fields To A Select Query

Nov 15, 2005

I wish to add a static field to a select query i.e a field that does not exist within a table.

Does anyone know how I can do this?

Thanks

View 4 Replies View Related

Reports :: Setting Static Textbox To Null?

Sep 15, 2013

I am new to access. I have created a report form a query and have fields with a value of "0" or "$0.00" I would like to set a static textbox to Null. I belive it can be done with the IFF function but I get a syntax error.

View 6 Replies View Related

Queries :: Left Function With 2 Static Characters

Jul 23, 2015

I have to query a record with 2 of the same static characters. "-".I can get the left function with the first " but I can't get the rest up to the second "-"

Example: B-4352B-PXP02W01-10

TagNo: Left([EventInstanceID],InStr([EventInstanceID],"-")) Brings me the first char plus "-" The next section is needed also but the remainder is not.

Needed: B-4352B

Is there a Mid Function that I could add to go to the second chaacter instead of stopping at the first one?

View 6 Replies View Related

Queries :: Find Static Deviation With Query

Mar 8, 2014

ID machine value
1 111 0
2 112 1
3 113 2
4 111 0
5 112 2
6 113 2
7 111 1
8 112 0
9 113 -1
10 111 2
11 112 1
12 113 -1
13 111 1
14 112 -1
15 113 1
16 111 1
17 112 1
18 113 0

I have three machines. They all have random variations, but a machine could also have a static deviation. If the last 4 values are above 0, the deviation is considered static and should be corrected. In this example 111 has a static deviation

Nowadays the operators look at the graphs and when they observe the static deviation they will adjust it.

Question is: Is it possible to use a query to extract 111? In that case I can give operator a warning in stead of him looking at the graph.

View 1 Replies View Related

Tables :: Interval Or Range Of Values

Oct 2, 2014

In a table, i have a field called operating draft (ships). I would like to be able to put an interval of data in this field, for example between 3 meters and 6meters. Indeed, for few ships the draft is flexible.

What kind of data type should i select and how can I set up an interval data.

View 1 Replies View Related

Can I Export A Data Access Page To Static HTML?

Jan 15, 2008

Good morning! I'm using Access to redesign our company's electronic phonebook. Our intranet uses SharePoint technology and our IT people have cranked our security settings up pretty high, so I can't use data access pages or ASP. Therefore, I'm going to use static HTML, producing a single page which the CEO's secretary will upload once a month, allowing our 800+ employees to view the entire phonebook at once. CTRL-F is their friend.

I've managed to design a data access page that looks very much like we want it to, but I don't know how to export it to static HTML. Can such a thing be done, or am I just being wacky? If so, is there a way to automate it so the secretary can just push a button to generate the page?

Thanks,
Andreas

View 4 Replies View Related

Reports :: Unable To Produce A Report Which Uses A Static Design And Does Not Change

Jun 13, 2013

I'm trying to produce a report which uses a static deisgn and does not change. For example,I require in the detail of the report a table say 3 * 8 ....and in the report I need the data to fill each one of these cells. However I may not have 8 records , therefore I need the remaing columns/cells empty - the design of 3 * 8 must not change... at the moment I have a dynamic design so if i have 3 records I have 3 *3 table leaving a massive gap on the report.

View 2 Replies View Related







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