I have on one of my forms a tab control with 5 different tabs on it. Each of the tabs has a different set of fields but all from the same table. I was wondering if it is possible to hide a tab if none of the fields on it have any data in?
So for example tabs 2 and 3 have data on them but tabs 1, 4, and 5 dont. I would want to hide tabs 1, 4 and 5.
I have a tab control form with about 5 tabs. However when I move to the tab that has a datasheet form, the page moves down. You have to scroll up to see the above tabs. Is there something I'm missing on this simple tasks? Is it better to have it as a basic form for easier interface.
I' ve created an index (catalog) for the books in the database using a tab control and the code:
Private Sub TabCtl21_Change() If (193 + Me!TabCtl21.Value) < 210 Then Me.RecordSource = "SELECT * FROM tblBookTrackDetails" _ & " WHERE [tblBookTrackDetails.Details] Like '" & Chr(193 + Me!TabCtl21.Value) & "*'" _ & " ORDER BY " & Me.SortingTypeList & " ASC;" End If 'for english characters chr=97 If (193 + Me!TabCtl21.Value) >= 210 Then Me.RecordSource = "SELECT * FROM tblBookTrackDetails" _ & " WHERE [tblBookTrackDetails.Details] Like '" & Chr(194 + Me!TabCtl21.Value) & "*'" _ & " ORDER BY " & Me.SortingTypeList & " ASC;" End If If Me.Recordset.EOF Then MsgBox ("There are no books for this letter!") End If End Sub
It works ok but please take a look at the attached image to see what is happening after clicking two or three times the index letters.
After the tab's caption is "erased", if I pass over the mouse is being corrected. I tried the repaint and refresh commands but neither worked. Can anyone help?
I have created a new form with a few tabs, I need to let the value's of the last record be carry to a new record, but it must only show when I press the first letter on the new record, I did rerad about this, but only find it for normal forms. Did try to get it to work, but it dows not work on tabs form
I'm trying to clean up a form a bit and have it only show certain subforms/graphs if the data exists. I already have columns in a combobox query to show an "X" for if certain data appears:
Now, I know I could build another query and have some system go through and identify these things, but the easiest thing would be to reference the "X" in the columns of the combobox. Is there an easy way to reference values in the other (non-primary) columns? Or can you think of an easy way to make these subforms only be visible when the data exists? Maybe have an on load event for the subform?
I'm trying to make a very simple click through data entry screen in Access 2007. For each record I want to have a standard form with three buttons at the bottom. Each button opens a new form (each form has a set of tabbed pages on it as there is lots to enter).How do I make sure that each of the additional forms populate the same record as the main form.
hi iam new to this forum this is my first post , i'am trying to design a student database and i have designed it just want to know how to add different tabs to the view and how to add button/pull down menus to that certain tab when i try to add buttons the go ontop every tab and i can't figure out how to rectefy this any help is app , if you dont know what i'am on about let me know and i will email the database to you and you can see what i mean , thanks ccbup4it
Hi - Could anyone please help me. I have got a form on which I am using tabs. For some reason, when that form is opened, it is not showing the full number of records from the table. It is only opening in Add mode. If I then start to enter multiple records the navigation buttons at the bottom of the screen will show me how many records I have entered and you can use the navigation buttons to switch between them, however, if I think close the form and re-open it, it goes back to showing no records.
I have tried opening it in Add mode and in Show All mode, but neither is working.
The Cycle property is showing "all records" and the data is definately being stored in teh Source table.
Hi - Could anyone please help me. I have got a form on which I am using tabs. For some reason, when that form is opened, it is not showing the full number of records from the table. It is only opening in Add mode. If I then start to enter multiple records the navigation buttons at the bottom of the screen will show me how many records I have entered and you can use the navigation buttons to switch between them, however, if I think close the form and re-open it, it goes back to showing no records.
I have tried opening it in Add mode and in Show All mode, but neither is working.
The Cycle property is showing "all records" and the data is definately being stored in teh Source table.
On a form, what is the best way to hide a label or text box? I'm guessing that I can do a checkbox which would work for me and just write a macro to hide on a false value?
Hello,I was wondering if anybody knew if it was posslble to show an aproximated value of a field with decimal records. I would like to see only integer values on my form.
Is there a way to make it so when you open a database the forms, tables, etc do not appear in the taskbar and just appear in the bottem right of access.
So basically, like already but without the taskbar tabs.
Here's another one on this subject... But can't seem to find the answer in the "Search" Currently I am using the "Call fSetAccessWindow(0)" method.... Well, all works fine until I start getting into reports. I have read in some post of other methods to hide Access. But I have yet to find any examples of the "easier way"..... Can anyone direct me to a post or link?? Thanks Curtis
Let me just start off by saying, I don't have any code to post as it is just an idea I have.
This is a Lease return project for work. We have an excel sheet that is broken up into tabs. Master List, Not Returned and then a tab for every month.
Here is what I would like to do. If someone checks the box that says the leased computer was not returned, can I grab a certain batch of fields to automatically populate another Tab in this Access 2003 Form?
The second part to this would be if a person unchecks "Not Returned" in the Not Returned Tab, can I get that record automatically removed from that list view?
Similar principle for the Monthly shipping by a certain date. If the user enters in a shipped Date by say March 1, is there any way to populate a another tab into a list view?
Thanks for any advice that you gentlemen and ladies can provide.
Hi, I'm haven't much experience working with Access and I'm hoping someone out there can help me :)
I have a list of products with technical data in tables, however sometimes not all the products have the complete set of data. Is it possible to hide the cells where there is no data present when linked to a page?
Hi can you help. I am developing an access database for an alarm installation company. The database will consist of five tables (stock, supplier, customer, stocksupplier) all with forms.
The customer table holds data for three customer types business, private, caravan. Each customer type has different data stored for it for example the business customer has more than one contact address whereas the private has one.
The problems is on the form I do not want all the fields present as this would look a mess. Is there a way of clicking a radio button or choosing from a drop down list that would make the fields relevant to that customer type appear or grey out the fields that are not needed.
I would appreciate any help as the only alternative I can come up with is have them all on one form. I do not want separate tables as this would complicate the design. I hope this makes sense and thank you in anticipation Kind Regards :) :) Peter
i have a database that stores contractors/owners & the 4 types of city permits we will be issuing. i have created a form w/the wizard which contains all the info that i need the users to enter, however all info will not always be necessary. i would like to create a main tab with general permit information for users to enter (this is always necessary), and then 4 other tabs for which specifics may be entered dependng on which permit we will be issuing (at least 1, but up to 4 of these will be necessary). I would like 5 tabs...1 for main info, and the other 4 for specifics. i tried doing this manually in design view but for some reason i am unable to enter any data. :confused: does anyone know of a quick way to separate the fields that already exist on the form created by the wizard onto separate tabs??? thanx in advance! :)
Why does my form go to the next record when I reach the end of my tab sequence. And who does one get rid of the controls in the tab list. I had controls on there at one time, but now I dont and the control names are still in the list. But my biggest problem is why its going to the next record!