I am trying to display data from a table. One of the fields is entered via a combo box. When displaying that data on a form I need to be able to allow items not on the list(created by a select query) to be displayed for this field. The data was created some time ago and it seems that records have been deleted in certain places which has resulted in inconsistent data.
I am happy resticting data entry for new records, but need to allow items not on the list to be displayed for historical data. Data entre and displaying of historical data take place on seperate forms so this is no problem.
My problem is that I am only able to disable limit to list if I make the bounded column anything other than 1 and doing this displays the wrong data!
Am I attempting the imposible or if not, can anyone help?
I have a form, which lists all reports i have available in my dateabase. But there is 1 report which i dont want visable to users, how do i restrict access to this 1 form, either by it not showing on the list or password protecting it. users have to double click the report name to open it from the list.
I have 2 tables. One is Quotation and the other one is Contacts.
In Quotation Table i use a combo box to select a Customer from Customer Table. Also in Quotation Table a have a combo box (TO) to select a name from Contacts Table. The problem is that i want to select contacts only related to Customers and not view the complete list.
For example Vodafone Company has several contacts. When i press Vodafone in my quotation form then when i go to (To) combo box i would like to view only the related contacts.
I tried the SELECT statement WHERE but i can to figure out how i will limit the list depending the Customer Name? Please help.
I got 2 forms that are relatively similar. One of them works fine but the other does not. It still lets me enter data into the field even though Limit To List property is turned on. I believe this is a combo box and I gave this field a value list for the user to choose from.
Is it possible (without using VB) to limit the number of selections a user can make in a multiple value list?
My list is one a form and when in the form field it brings up a total of 15 names with checkboxes, allowing you to "check" each name you want. However, I want to be able to have as many names as I need in the list, but limit the user to selecting only two of them.
In my access form I provide the user a list of locations from various countries in a listbox . But the list is too long so I provide him a combobox for selecting a country. Selecting the country should update the listbox showing only the locations in that specific country.
So my SELECT from the listbox must cover the unselected state and show all entries and when a country is selected it must narrow the selection.
I tried to get this happen with the following SELECT statement containing a variable. Choosing a country in the Combobox results in a change of the variable and in a requery. This works after the first country is selected and for each country change, but the initial list is empty.
VBA in the loadform 'Application.TempVars.Add "varcountryselect", "*" SELECT in the listbox "lstlocationsperproject" SELECT tbllocations.locationID, tbllocations.country, tbllocations.localstreet, tbllocations.localcity FROM tbllocations WHERE ((tbllocations.country) Like [TempVar]![varcountryselect]);
VBA in the combobox Application.TempVars("varcountryselect") = [Form]![kombcountryselect].Column(0) Me.lstlocationsperproject.Requery
The values in [kombcountryselect].Column(0) are texts like "SPAIN", "MEXICO", etc.
Any hints, how I have to use the * for getting the complete list on the initial view ?
I am trying to uses a inputbox. I need it to end the script if cancel is hit, but the value from the input box can be zero? So cant filter it that way.
Also
Does the SQL command LIMIT work in access and is it possible to number row in order?
We use a custom built Access “97 version” database at work that keeps track of our internal manufacturing processes. The database stores jpg’s and dwg files that use up a lot of precious DB space and if we had it to do over we would use hyperlinks to these files to save space. But this database we built long ago and we have reached the 1 gig limit of Access 97.
1) If we upgrade to a newer version of access will this increase the database limit to 2 gig’s 2) Is this kind of upgrade easy to do or should this be done by a Access professional
I am use to SQL commands... I am currently working on a MS ACCESS DB for a web site.... I have a program that uses LIMIT, but ACCESS does not use LIMIT... I know MS ACCESS uses top, but here is the dilemma.
I have over 200 rows in a table. I want to have a query of 1-50 rows... then another with 51-100 and so on...till I reach the end of my table.... The problem is ... TOP does not let me choose where to start in the DB and stop... can anyone help with this issue??
Hello,I have a form that I use for searching. It takes all the records in the database and then people can type things they are searching for - numbers, dates, names, descriptions etc. - into a text box, and as they type, the selection window shows fewer and fewer matches.What I would like to do now is give the user the option to limit where the underlying query searches, but only if he wants to do this. In other words, I want to be able to search the entire database [default], or only within a certain year, or amongst the products of one manufacturer, or a certain model etc. and I want to be able to combine parameters so that more than one can be applied at the same time. I have 5 or 6 parameters and I was thinking of using drop-down boxes for the user to select a value for these parameters. My problem is that when I specify parameters to limit the search, I have to have a value in all of them. What do I need to do to make those optional?Thank you.
Hi i just wanted to find out how many tables can one get data from to make a query. is there a limit? im in the process of making a query which will get data from 5 tables but im having problems. Any help will be highly appreciated.
My undertsanding is that text fields are limited to 255 characters. A friend has a databse with some "notes" type fields with data a few sentences long. Is there any way around this limit. If not, what database recommendations can anyone make for someone who needs a questionnaire component in his database?
I have a combo box that worked fine. Now it will not show any records after the 65530th record. I can remove a record and it will show the next one down so it appears to be a setting that controls the nuber of records shown. Any suggestions on how to show all the records would be great.
Order Forms in my database have a combo box Refference from Quotation. When i select a refference then automatically i create an order. Is it possible to limit the list on Refference, lets say when i have selected the refference once do not display it again?
I was able to get a response to a question on sorting records which was great. So I've decided to post one that I am concerned about.
Once I have completed my DB, I would like to send this out for review. How do I limit the viewing to a 30-day demo? Once the 30-day period has expired I would like the DB to prompt for a User Name and Registration Code before allowing any further access.
I’ve seen programs that use your system hardware to return a unique ID. Once you have this unique ID the user is required to provide this for a registration code unique to that machine. I just don’t want someone to copy my DB and place it onto other computers without purchasing the license from me. Is this possible without having to purchase these programs? I would also like to understand the process that the DB goes thru to return this information. I think this would help me understand how Access works.
I had thought of purchasing Installer Pro but this only stops the installation process. Once this has been placed on one computer can’t you just copy the DB and place it onto another computer? If I needed to purchase this software I would like to have the program install the unique ID in the registry and have my DB check the registry to confirm that the unique ID is there if not then it would prompt for the User Name and Unique ID and close if it didn’t match. So if someone copied my DB and placed it onto another computer (not using the installer program) then it would not detect the Unique ID in the registry and close.
Sorry I rambled on but I’m not sure if this is how it works or not. I’ve spent a lot of time developing my DB and once I have secured it I would like to keep others (less knowledgeable) from using it.
Any help or explanation would be greatly appreciated.
I'm trying to limit the number of records entered into a database, and return an "error". Not an error exactly but it should pop up and say "the limit of 25 members allowed to sign up for this class has been met". I figured out how to go in access and create a validation rule so that "ID < 26", and it has successfully blocked records #26 and up from being saved, but it shows on the form that it was submitted. How do I get it to "know" when to say "the limit has been met"??
Hi All a newbie here so any help will be appreciated,
sorry for the long post but trying to give you all the information you might need.
I wrote a basic access database for my Church to aid in a paperwork audit for a charity food drop which we do monthly to give free food to the needy.
But each month it gets harder to find out who was in line first so I thought with all your help we may be able to randomize the names each month in a different order as to avoid confusion and also avoid people waiting in line as they turn up at 5am and we don't start until 9am.
So if this will work in access they can all come for 9am
I don't mind creating a new database and adding the additional information, if that's what it would take.
My Background I have created basic databases from scratch not using wizards, But I don't know much about code or how to implement it so any help in where code goes it would be very much appreciated.
Database details (Microsoft Access 2002 version)
Table Name = details Field name = ID (auto-generated) Field name = FirstName (text) Field name = Surname (text)
If possible it would be nice to keep a record of the randomized lists (in the database somewhere ?) each month in case anyone wants to see it or disputes the lists, where I can just create a report to show the details.
There will be approximately 90 to 125 names.
Thank you in advance for all your help in this matter
I have created my tables and form and am now trying to run reports to organize the data. I have figured out how to group the individuals by group and treatment, but can't figure out how exclude individuals from the final list if they are already in another. As background, some of the individuals are eventually excluded from the experiment, though I keep the initial data. When the exclude individual checkbox is checked ("True" on the report) I do not want the individual to be listed in the "False" list, even though there are entries for that individual when that checkbox wasn't checked (when it was "True"). This is so I can get an idea of the current totals in each group.
Implant Period >Treatment >>Exclude individual? >>>Individual ID
I feel like this should be a fairly simple task, but I cannot figure it out... Maybe there is coding to exclude individuals from the "False" list if they are already listed in the "True" list?
Allen Browne's "Use a multi-select list box to filter a report" solution, in particularly with two multi-select list boxes? The code works fine for me for either box so long as I code it for one box alone. Combining the two into one code results in a type mismatch error. I'm trying to use the code to pass the contents of both multi-select boxes as Where conditions to a report. Both boxes are based on number fields. To try to isolate the problem, I've removed Allen's setDescription and OpenArgs conditions. We're unfortunately still on Access 2003 as the company desires to squeeze every dime by using until end-of-life next year.
Code: Private Sub cmdPreview_Click() On Error GoTo Err_Handler 'Purpose: Open the report filtered to the items selected in the list box. Dim varItem As Variant 'Selected items
I have created listbox with one column (contains one column only), now i would like to display all the characters of list item (want scroll bar to listbox).
How do i display all text of list item, I have already fixed Column Widths to max length (22";0.1"). However when scrolling to right, it is going to next blank column of list box, which is created only to change Column Widths property.
I've apparently hit the two gig limit in access. The database won't let me compact/repair. it wont let me save changes to tables. I can't open access by itself and repair the external table. I'm sure that the database could be shrunk down if I could get it to do the repair! I get an "Invalid Argument" error on everything I try to do.
Anyone experience this? Anyone have any suggestions?