Access 2000 SQL Design View

Dec 12, 2006

Hi all. I'm trying to figure out how to make a SQL query require ALL of the data in one record match ALL of the data in another record. I may be using the wrong term when I say record.

What I have is a job order form where I list order details. I list location, start date, client all of the skills the job requires. I also have a candidate form that lists candidate locations all the skills they possess. The skills for each form are drawn from a SkillsInventory table. Once I enter all of the job info into the job order form, a subform lists all matching candidates based on state, availability/start dates, skills and a couple of other items. Everything works fine with the exception that I am returning any candidates with any of the skills in the job order verses only those candidates with ALL of the skills I select for the job order.

I would assume I would enter something under one of the columns in my sql builder/design mode. If I view SQL view, here is what the statement says:

SELECT [EmployeeSkills].[SkillID], [JobOrderSkillsList].[SkillID], [Employees].[LastName], [Employees].[FirstName], [Employees].[MiddleInitial], [Employees].[EndDate], [JobOrders].[OrderID], [Employees].[City], [Employees].[DoNotCall]
FROM ((JobOrders INNER JOIN Employees ON [JobOrders].[StateID]=[Employees].[StateID]) INNER JOIN JobOrderSkillsList ON [JobOrders].[OrderID]=[JobOrderSkillsList].[OrderID]) INNER JOIN EmployeeSkills ON ([JobOrderSkillsList].[SkillID]=[EmployeeSkills].[SkillID]) AND ([Employees].[ContactID]=[EmployeeSkills].[ContactID])
WHERE ((([Employees].[EndDate])<=Date()+14) And (([Employees].[DoNotCall])=False))
ORDER BY [Employees].[EndDate];

View Replies


ADVERTISEMENT

Forms :: Unable To View Object Properties In Form Design View (Access 2010)

May 16, 2014

Why the ability to view the properties of an object within a form is not available when you double click on it in design view?

I was happily working away double clicking on a command button to edit some code when for some reason the next time I tried to edit it did not open up for me.

I was unable to access it even by right clicking on the object & selecting properties as that also appears to be disabled, not greyed out or anything but just does nothing when selected.

Have I inadvertently changed a setting somewhere that prevents the properties from being displayed?

View 3 Replies View Related

Design View Keyboard Shortcut - Expand Columns In Design View Of A Query

Jun 5, 2014

I'm looking for a keyboard shortcut to expand the columns in "design view" of a query.

What I mean by this is rather than selecting all of the columns and double clicking to see the entire text, I'd like to be able to a shortcut.

The entire process as I see it involves 3 steps so I will need thesolution to the 3rd step.

(1) [ctrl+spacebar] to select initial column
(2) [shift+arrows] to select all of the columns I need
(3) [keyboard shortcut] will expand all of the columns "field" names to the size of the column heading

Alternatively, if you know of a shortcut that will expand the columns without having to select them first I'll take it!!

View 4 Replies View Related

MS Access 2000 Design Guidelines

May 31, 2005

Ok, I am getting to know MS Access much better than now that I am asked to design a MS Access database...

We have a small company of 20 users. The reason for the database creation is to keep track of the hardware & software inventory that we have. Sometimes, users borrow softwares or laptops and we want to keep track of it. My boss also wants to know how many workstations and how much memory we have in there kind of things. You know, basic inventory...

So, we have 3 servers, 20 workstations, 5 printers, licensed softwares, few hubs, and router... Nothing fancy, a small shop.

So to design this database, I read some MS Access database design guidelines... However, I am still not clear whether I have set it up right because I learned that design part is the toughest part. If the design is good, then rest should be easy... At least right?

So I am thinking about creating 2 tables. Why? Our inventory really is hardware and software, I think. I don't think we have other things...

One table I am thinking of creating is Hardware_Inventory and the other Software_Inventory since that is our goal to create an inventory to keep track of what we have, who has it, where is it, when did we purchase it, how much is it, and what is in the hardwares?

So I created in each table - fields, but I'm not sure whether this is done correctly. Again, I wanted to answer few things if someone were to look at the database: what is it, where is it, who has it, when did we purchase it, how much is it for soft and hardwares, and what is in the hardwares?

Note: Property_Code is going to be a key number or a property tag I will get to put on it and have it as a Primary Key.

Hardware_Inventory_Table:
Property_Code
Description
Make
Model
Model_Number
Year
Serial_Number
Purchase_Date
Purchase_Price
Warranty
Department
Location
On_Loan_To
Duration
Checkout_Date
Checkin_Date
Comment


Software_Inventory_Table:
Property_Code
Description
Vendor
Version
Product_Key
Year
Purchase_Date
Purchase_Price
Warrnaty
Department
Location
On_Loan_To
Duration
Checkout_Date
Checkin_Date
Comment


Then I was going to link the Year, Purchase_Date, Purchase_Price, Warranty, Department, Location, On_Loan_To, Duration, Checkout_Date, Checkin_Date, and Comment....

I need some expert advice whether I have it set up right in the design, whether I have chosen the correct fields, and whether I have made the correct link? Or anything that I need to address or re-design...

thank you,

carboncopy

View 4 Replies View Related

How Do View The Data Types Returned By A Query In Access 2000?

Jun 3, 2005

I am working in MS Access 2000. I have a query that is returning a table with various types of data. The problem is I can't seem to find anywhere in the Access GUI that will show me the data types of columns it has returned so I can't manually create a table to hold the values returned by query. Question is two fold:

1. Is there a way in Access SQL to import data returned from a query into a table that is not yet defined. Some like this:
a. Create a table that has a primary key but doesn't yet know the number of columns and/or data types of those columns.
b. Import the data from a query into this table and have it create the columns and copy the data types and populate the table while also numbering each row by primary key.

or
2. Is there a way to find out what the data types are for a table returned by a query in MS Access. I have checked the properites of the query and have been up and down the gui looking but I can't find a way while looking at the data returned by a query to explicitely see the data type (i.e., number, Date/Time, etc..) used by each column.

Any info would help. Thanks.

View 1 Replies View Related

Access Forms Design View

Aug 28, 2007

(Forms) How do I insert a Page below the Detail Bar?

View 3 Replies View Related

Access 2007 Not Saving Changes In Design View

Oct 29, 2012

I'm working on an Access 2007 database and any changes I make to a form or control will not save. I click the save button, and try keyboard shortcuts but when I close the form I get a prompt "Do you want to save changes to <whatever>":

If I click "Yes" the changes still do not save and I when I close the form it starts the cycle over.If I click "No" the form closes and the changes are not saved (obviously).

There is no VBA in the project but I've still tried a recompile as suggested for older versions of Access but no luck. There are quite a few embedded macros but I'm not sure how they could be causing this.

View 1 Replies View Related

Forms :: Access Form Must Be Opened In Design View Before Use

Oct 1, 2013

I have a access form that has a text box that holds a search term. The search term is used as a variable in a query. The query results populate a list box. Selecting a result in the list box populates the rest of the form where the record can be edited. All of that works great...sort of. When first opening the form you cannot view any records. The search function works fine and the list box populates but selecting a record does not populate the rest of the form. Attempt to navigate (next, first, etc.) and you get a "You can't go to the specified record" dialog. There is a simple fix for this. Open the form as normal. Then switch to design mode. Do absolutely nothing. Switch back to form mode. All is well.

View 1 Replies View Related

Forms :: Switching From Design View Causes Access To Freeze?

Dec 30, 2014

Access 2013 on Windows 7 ..I have a Main Switchboard form which is Pop-up and Modal. Everything on it is working as required, but if I am in Design View and try to switch directly to Form view, the form disappears and the Access screen freezes - the mouse moves, but no menus or objects can be selected. If I have the VBA window open, I can carry on working in it, saving the modules and closing that window as usual. But the only way to open a form or do anything else in the main screen is to kill Access by closing the Access window in the system tray (or using the Task Manager).

If I close the Switchboard when in Design view and then open it in Form view, everything's fine.

The only recent change I can think of is upgrading from a 32-bit implementation of Access to 64-bit.

View 4 Replies View Related

Access Crashes When Try To Open A Macro In Design View

Oct 21, 2015

Without having made any changes to my setup, Access now crashes when I try to open a Macro in design view. I have checked the Trust Center and the folder where my database is stored is trusted (including sub-folders).

I am running Office Pro 2013 with Windows 8.1.

View 5 Replies View Related

Queries :: Access Freezes When Switching To Design View In Open Query

Jul 22, 2013

My issue is that one of my queries can be run, opened in SQL view, but not opened in design view. When I attempt to view in design view, Access freezes and I am forced to close the program. My database is split, FE on my local, BE on another computer on my LAN.

Below is the SQL, I tried to just copy and paste this code into a new query and I encountered the same issue.

Code:
SELECT tbl_SurveyJobs.job_number, tbl_JobTypes.job_type_description, tbl_Clients.company_name, tbl_SurveyJobs.start_date, tbl_SurveyJobs.end_date, tbl_SurveyJobs.comments, tbl_SurveyJobs.contact_notes, tbl_SurveyJobs.regplan_number, tbl_SurveyJobs.sheet_number, tbl_SurveyJobs.mplan_number, tbl_SurveyJobs.lot_block, tbl_SurveyJobs.township, tbl_SurveyJobs.concession, tbl_SurveyJobs.township_lot,

[Code] .....

View 2 Replies View Related

Queries :: Create Update Query To Budget Table Using Access Design View?

Feb 17, 2015

trying to create an update query to Budget table using the Access Design View:

Field: PctSls (in tblBudget) Update to: [Expense] / [Sales]. The update query always returns 0. However, if I create a Select query using the same calculation, the correct results is displayed. PctSls is defined in the Budget table.

I haven't worked with Access (2003) for several years but this seems too simple to be causing me such frustration. (Was only a casual user even then).

View 6 Replies View Related

Forms :: Text Boxes Showing In Design View But Not Display In Form View

Apr 19, 2014

I have a Form which I have linked correctly to a subform. The Text boxes are showing in the Design view but are not when one switches to the Form View. Labels for Fields are visible in the Form View. Have even created a new subform and that will also not display the Text Boxes.

View 1 Replies View Related

!!??? All My Forms Are Blank Under Form View - But Fine Under Design View!!!

Jul 13, 2006

Anybody ever heard of this before? I open a form, and it is empty, just a blank window. I open the same form in Design View, all appears well. :mad:

View 2 Replies View Related

Field In Design View Not Showing In Table View

Jul 2, 2007

I have a table called NewTransactions_tbl that I have been using for some time. I am trying to add a new field called CustomerProjectNumber. It's not being displayed when I look at the table view. I've attached an image showing the settings for the field. I am probably missing something obvious.

Any ideas why it is not showing?

I am using Access 2000.

View 7 Replies View Related

DATASHEET --- Allow Design Changes: Design View Only DOES NOT WORK

May 18, 2007

I have a sub form in DataSheet view and I would like to lock the design so that the User should not change the layout

Even when I set the property of the Datasheet “Allow Design Changes: Design View Only” users are able to unhide the hidden columns and they can also change the size of the column by dragging the column end line



Does any one know how to lock the design of datasheet ( I am using this sub form datasheet for data entry but do not want users to change the layout)



Thanks
Rahul

View 1 Replies View Related

Design View - Where'd The Table View Go ?

Apr 18, 2008

You know how normally in design view there would be a table at the bottom of the screen where you can drag your fields from the view above.

Well, I have a query where this table view has disappeared ?

I can edit the query in SQL view, the query works, just the table view is missing.

Ever happened to anyone else ? I've done the obvious and scrolled down as far as I can and nope, it's not there ??? :confused:

View 3 Replies View Related

Normal View -v- Design View

Jul 20, 2005

I am wondering why the alteration to my form in design view is not reflected in the "normal" form view. I have included the two views. In design view I moved "Staff In"/"Staff ID" to the top of the form believing that as I work left to right thay would appear on the left hand side in normal view.

However, in the image of "normal" view you can see that "Staff In" is way over on the right hand side of the form.

Any ideas how I can fix this?

Thank you
http://www.btinternet.com/~peter_paterson/Access/SubFormDesign.jpg
http://www.btinternet.com/~peter_paterson/Access/SubformFormView.jpg

View 7 Replies View Related

Access 2000 Security - Authenticate With Windows 2000 Server Credentials

Oct 24, 2005

Hi

I have a database that currently has security in place so that users input their own usernames and passwords to access the database. The users have recently been added to a windows 2000 server and I want to be able to use their windows 2000 server logon credentials to provide them with automatic access to the database. Is there anyone out there who knows how to set this up? It is a rather urgent request if you could get back to me either on this forum or via email

chris@ctbjs.co.uk

many thanks

Chris

View 1 Replies View Related

Any Problem If I Design The Database In 2003 And Use In 2000

Aug 20, 2007

I design the db in 2003
include form,report,and query
any problem??

View 1 Replies View Related

Opening & Closing Excel 2000 Workbooks From Access 2000

Jun 2, 2006

I am opening and closing a series of Excel 2000 Workbooks using Access 2000 VBA and want this sequence to be able to complete without any human intervention.

However, there are 2 instances when this stops and waits for a human option to be selected:

1. When the spreadsheet is password protected
2. When the spreadsheet has automatic links I get the message:

"The Workbook you opened contains automatic links to information in another workbook. Do you want to update this workbook with changes made to the other workbook?"

How can I code it so that in situation 1 it skips this file and in situation 2 it automatically defaults to do not update?

Any help most appreciated.

Dalien51

View 1 Replies View Related

Link/Transfer Data From Access 2000 To Excel 2000

Mar 27, 2006

If I have a report in MS Access 2000 generated based on the criteria selected of a project with work order "9999" with the labor costs, materials costs and the Totals of each crew1, crew2,... and I would like to have those expenditures populated in corresponding cel in Excel for each crew, HOW would I do it?

To think it out loud, could I create a button on a form, so when I select the criteria for the work order, and when I click the button, it should refresh/update the Exel file with the new data...?? How do I write VBA code for that...?

Please help...Thank you so much....

View 3 Replies View Related

Access 2000 & MSSQL 2000 Multiuser Problems

Aug 20, 2007

Hi everybody,

I have recently been doing a conversion for my boss for a access 2000 database (both front and backend) to a MSSQL backend.

I finished the conversion today (as quite a lot of the code / queries ran slow due to access running the queries locally rather than on the server). And tested it on my and my boss's machine with no problems so he gave the go ahead to update everybody to our new mssql 2000 backend with the modified frontend.

This is when the problems started; We had two different sets of forms for accessing one of our databases systems - the log system, one is the original dynaset based form, and the other is a newer set which uses snapshot views and preforms updates via queries. Nobody uses the old dyanset system apart from my boss and one of the administrative team as they have things on that window which they need to see. About 30 minutes into the release of the new database the system frooze up on my bosses computer and nobody could create a new log (the server was timing out). I assumed this had something to do with the old dynaset's creating locks on the table.

I offlined the database and kicked everybody out of the front end, turned it on again and tied again, this time banning everybody from the dynaset system. Within 10 minutes another computer frooze up, again with a timeout on the insert query. I discovered that after you had added a new log to the database it would timeout on all subquent additions (something it hadn't done during testing) . Further investigatiion showed it was the snapshot list window causing the error, so coded the add log window to close the list before preforming the insert query and then reopen it afterwards. This allowed my machine to make multible additions without flaw. So I released a new client to everybody. 15 minutes later it was timing out again, but this time there you could not even make one new record.

I checked for locks on the table though the server management table and couldn't find any for the Log table. I have restarted the SQL server box and with no avil. So I reverted our backend to the access mdb file and told people to use the old client.

I am at a complete lose to why this is happening, if anybody has had any expericences like this or knows the cause please tell me.

Some information on the database in question.

It was made as an access 2 database all intergrated into one file, then it was seperated into two files (frontend and backend). Upgraded to Access 97, then to 2000 before this final update to MSSQL 2000.

The log system has two main tables. The first is the log title / info table which links (one to many) to a log entry table. This problem only occurs on the main log table and does not appear to be reoccurring anywhere else within the database. The main log table has just under 18,000 rows in it.

Thank you in advance for any help,

Dom

View 10 Replies View Related

Blank Form In Form View But Fields Present In Design View

Oct 19, 2005

After reading many of the posts here, I decided that one of the problems with the tables in the db I was working on was in the primary keys. I had used the same field name as the primary key in all of my tables. This was RecipID, which was a user entered textbox with an example in a label beside it showing the format to use.

After reading stuff here, I decided this wasn't a good idea. So I changed RecipId to be an autonumber in the parent table (Household_Info) and a long integer foreign key in the children. Also, I added some fields to the parent table to identify the head of household (lastname, firstname)

I already had a continuous form made with a subform and a pop-up form associated with it based on my previous tables. Reran the query underlying the form, and the new fields showed up in the field list box for the form. The fields are all still present in design view, but I get a totally blank form in form view. I checked the forms recordsource and made sure that it was set to the new query.

Can anyone give me an idea about what I'm overlooking? Do I have to recreate the form?

(Sorry if this is a repeat of a question someone has already addressed, but I couldn't turn up any relevant threads after several hours of searching.)

Thanks, Charlotte

View 11 Replies View Related

Replication Between SQL Server 2000 And MS Access 2000.

Nov 15, 2006

Is it possible to have the master datebase in SQL Server, the replica in Access format and still can sychronize them?

Thank you in advance.

View 3 Replies View Related

Design View...

Aug 18, 2006

I should know this but it's has me stumped at the moment - When I have a form open I can right-click and it let's me go into design view. How do I turn this right-click option off?

View 13 Replies View Related







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