Freeze Panes - Similar Action On Access Form

Apr 12, 2005

Hi there peeps

I would be really grateful if anyone could tell me if it's possible to have a horizontal scroll bar on a form that only moves part of the form's contents... similar to the freeze panes option in excel.

Obviously vertically you can use the form header and footer, but there doesn't seem to be anything horizontally that is equivalent.

Many thanks in advance,

Chris

View Replies


ADVERTISEMENT

Modules & VBA :: Freeze Panes In Excel From Access

Aug 20, 2014

I need to freeze the panes in an Excel spreadsheet form within Access. I have the following code:

Code:

Dim ApXL As Object
Dim xlWBk As Object
Dim xlWSh As Object

Set ApXL = CreateObject("Excel.Application")
Set xlWBk = ApXL.Workbooks.Add
Set xlWSh = xlWBk.Worksheets(1)

With xlWSh.Range("B5")
ActiveWindow.FreezePanes = True
End With

The codes runs, but the panes are not frozen. (I got this from the Excel macro recorder)

I need both panes frozen. Where is my error?

View 5 Replies View Related

Checking For Similar Data While Using A Form In Access 97

Jan 18, 2006

I work for a voluntary organisation in a hospital environment. Older patients coming into A&E will get sent a letter from us offering help.

We send out about 3,000 letters a year and have just over this number of records on our simple Access 97 database.

The problem I have is when we enter data using a Form in the field Address Line 1 if we have sent a letter to this address before I want somehow for the program to inform me of this. However, I do not want it to stop me from entering the same address again so I can't use the No Duplicates option. The reason being, we may have sent the patient a letter six months ago in which case we would want him to receive another but if we only sent him a letter say 3 weeks ago then we wouldn't send him another. Alternatively, his wife may now be a patient and will get sent a letter.

At present we look at the admissions list, sort our table into Surname order and check if they have been sent one previously, however this is very time consuming and would value anyone's thoughts.

Unfortuantely, I can't program so tend to use the design features and wizards of Access 97

Does this makes sense?

I appreciate the time any of you may take in answering this Thread. As you can see I am a newbie to this. Thank you in advance.

Robin

View 2 Replies View Related

Freeze Form

Jul 14, 2006

Hey Guys,

Well i have a table with 39 observations. I made a form that updates the data of thid table. So the next values would be the observation number 40. What i wanted to do i that my form only showed the field that is not filled up, in this case would be the 40. Its like the form shows the 40 observation in blank and lets me fill up. After i fill it up it should only show me the 41 and so forth. And also block all the previous form editing.

Can anyone help

Thanks a lot :)

Kind regards

View 14 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

Now () When Adding (form), In A Table NOW () Must 'freeze'

Jan 8, 2006

When I add something in a table using a form, I always want an automatic date, namely today's date. So I set this in the form with NOW (). The only thing is, when I view my records a day later, it automatically adjusts the dates. I don't want to type in the date every time, because it's always todays date. But I don't want the table to adjust the data-capturing dates automatically.Any suggestions to get around this?

View 3 Replies View Related

Forms :: Access 2010 - Form Shows Similar Match In 1 Table - Alter Another Table?

Dec 16, 2014

I have two tables (Access 2010). One with a list of names (List1) and another with a very similar list of names (List2), but they differ in very small ways. For example, List1 might have John Smith, and List2 would have Smith, John L.; and Smith, John. List2 also has a unique ID associated with these names that I need to append to List1.

I need to design a form that will allow me to look up names in List1, and have it return all names that are similar in List2. I then need to be able to choose with record in List2 matches with the List1 entry (based on a few other columns in List2, such as birth date) and have the form add that unique ID to the List1 record.

PS: I am using Access 2010

View 1 Replies View Related

How Do You Do A Sumif In Access, Similar To Excel?

Nov 13, 2007

I'm trying to add a column to my make-table query that will give me the sum total of all rows in the source table which have a matching property.

For example all my orders have multiple lines and I'd like to have this column search the entire table for all the matching orders and then put the same total $$ amount in that column for all rows with the same order number. This is very easy to do in excel using a sumif command and I have played around with the crosstab query in access to no avail for this purpose.

If anyone has some advice to point me in the right direction, I'd appreciate it.

Thanks,

Rob

View 6 Replies View Related

Forms :: Design Form That Looks Very Similar To Either Split Form Or Subform

Jun 2, 2014

Basically I need to design form that looks very similar to either Split Form or Subform. I have attached a print screen of what I roughly need. The form is split into two parts. In the first/top part there are some List Box/Date fields that act as filters to the bottom form, so the bottom form displays only records that match values in red. The second part of the top form has some field that require input from user and then these records are added to the bottom form. I was trying to use both Split Form and Subform and none of it is working,I have attached an example of database and this form would be based on data from Query1.

View 5 Replies View Related

Tables :: Merge Duplicate / Similar Records Into 1 Record In Access 2010

Jun 9, 2014

Is there a way to merge duplicate/similar Access 2010 records into one record?

I have an Access table with 1,000 duplicate records, although they are similar and not exact duplicates. As you can see below, some records contain information that other records do not. Yet, the primary key is the same for all duplicate records. I want to find a way to merge data from filled cells of duplicate records into empty cells for each duplicate record. I do not want to concatenate the data (i.e. combine last and first name, etc.). I only want to fill empty cells if there is a match for it in a duplicate record. I will delete the newly exact duplicate records later. Short of correcting the records by hand.

Example

Code:
LastName FirstName SSN Address Phone Email
Doe John 123-45-7891 123 Anywhere St. NULL john(at)gmail.com
Doe John 123-45-7891 NULL (123)456-7890 NULL

Desired Result

Code:
LastName FirstName SSN Address Phone Email
Doe John 123-45-7891 123 Anywhere St. (123)456-7890 john(at)gmail.com
Doe John 123-45-7891 123 Anywhere St. (123)456-7890 john(at)gmail.com

View 2 Replies View Related

Modules & VBA :: Using Access 2013 To Create Action Button In PowerPoint?

Nov 22, 2013

I am using VBA in Access 2013 to make a PowerPoint presentation using data from the access database. know if it is possible to use Access VBA to create a button in the presentation that runs a procedure itself?

View 1 Replies View Related

List Box - Freeze Columns When Scrolling

Jun 3, 2005

HI

I have a list box which sometimes needs extensive scrolling to the right to see other data.

Im wondering whether I can freeze the first few columns (key info) so I can trace the other data when scrolling. (i.e. like in an Excel spreadsheet)

I dont mind what coding if I have to - any suggestions please?

View 2 Replies View Related

Freeze/lock One Record In Subform

Dec 14, 2004

hi! I asked this question before, and i didn't understand the answer.
I have a form with a subform. at first, i disable the subform until the main form is filled completely. Then, I have a button to enable the subform. This button also disables the main form.
My first line in the subform needs to mirror the info in the main form. To do this, i open a recordset, and then use .AddNew to fill in the details.
I don't want this first line to be edit-able or delete-able once it has been filled. How do I lock it from being edited? Also, if I later decide to delete everything on the form, will i be able to clear the whole form if this line in the subform is locked?
Please helpp

View 4 Replies View Related

Form Not Saving From VB Action

Sep 5, 2006

Hi,

On my Form I have a Label (Recnote) which gets changed by the VB code if criterior is true. My form does change this correctly however, once I quit (or close the Form) and come back, the changes dissappear.

But the strange thing is that every now and then it does save it.

Any ideas??? Any other command I should use?

The following works as it disables my Import button and changes the Label contents but does not save when exited


Private Sub CloseME_Click()
DoCmd.Requery

If [CountOfOracle Co] = 0 Then
MsgBox "Cannot Close ME Yet", vbOKOnly, "Circular Rec"
Else


Me.Recnote.BackColor = 65535
Me.Recnote.Caption = "Final Reconciliation"
Me.Recnote.ForeColor = 32768
Me.Import.Enabled = False
DoCmd.RepaintObject
DoCmd.Save
End If

End Sub

View 14 Replies View Related

Reports :: Save Report As PDF - Output To Action Cancelled With Access VB Macro

Jan 12, 2015

One of the users of my application, reports an error when saving a report to pdf by VBA code. She’s using Access 2013, on Windows 8.1.

The error is “error 2501 output to action was cancelled with access vb macro”

The VBA code is

StrReport = “RepInvoice”
StrDocumentName = “C:UsersMaryDocumentsAccessInvoice.pdf”
DoCmd.OpenReport StrReport, acViewPreview
DoCmd.OutputTo acOutputReport, StrReport, "PDFFormat(*.pdf)", StrDocumentName, False
DoCmd.Close acReport, StrReport, acSaveNo

This error occurs at the OutputTo line. This code is part of an user form with a button “save as PDF”.
When this code is run, the report is visible as an example (as meant to be) on the screen. The code stops at the OutputTo line.

When I use
DoCmd.OutputTo acOutputReport, StrReport, acFormatPDF, StrDocumentName,, False
the problem still exists.

I tried to save the report manually by Preview > Export > PDF. The preview is OK, saving as PDF results in the same error 2501. This may lead to the conclusion that this problem is not caused by the VBA code.

I verified whether user write rights are OK, and whether a default printer is available. Both are OK. The report consists of 1 page.
When this very same application is used with Access 2010, everything functions as expected.

View 8 Replies View Related

Mouse Wheel Action On A Form

Sep 25, 2006

I have a form and I do not want the mouse wheel to move through the records - it is a single form view and I do not want the use to use the wheel as it corrupts my calculations.

Is there any way to allow input of numbers input without the wheeldoing anything

I am sure that I am just missing something.

Thanks very miuch in anticipation

View 1 Replies View Related

Afterupdate Action In Form/Subform

Mar 16, 2005

I have a form (TransactionBody) & a subform (Detail) in the body I have an option group (Reg Office, Unaccepted and Returned) and want the returned button to be true "IF" a box Yes/No box called "Returned" is checked "yes" in the "Detail" form.
I have done simular things in regular forms but not with a subform. I know I need to setup a afterupdate event in the Detail subform in the "returned" yes/no box and I know the basic if..then...else lingo I just don't know how to reference the transactionbody form in the formula from the detail form.

Any help would be greatly appreciated.

Thank you.

View 3 Replies View Related

Modules & VBA :: Adding FlexGrids - Freeze Calculated Fields

Mar 24, 2014

I have to build an estimate worksheet from scratch on Access I am almost finished with the project but I have a few questions.

(SEE ATTACHMENT FOR CLARIFICATION)

1. There is a labor section on the form where the user selects the combo box adds the quantity of workers, and number of hours. The output would be what the total amount needed for that trade. On a different table i have the wages of each trade per month that is associated to the form. My problem is if there is a new wage amount for a trade it will affect all my previous records and i do not want that. Is there a way i can set it to only change my new records. In file maker there is something called defined record that is a solution for that program but i was wondering if i could do the same for access or Visual basic application for access. Another solution that I had in mind was like having a button where user could click and all field’s data will not be changed in the future.

2. There is a material section on this form where user input cost of materials. Once user is finished with data entry they click on a button that generates another form for presenting/printing purposes. The thing is that not all fields are always used i wanted to know if there is a way on to adding a flex grid so there would take less space up?

View 3 Replies View Related

Use Query Results OnLoad Of Form To Conduct An Action

Jan 2, 2008

Alright. I've tried searching, but to be honest, I'm not even sure what to search for.

I want to create some VBA that onLoad of the opening form of the database, it will take info from a query that looks for data entered for a student. It will be looking to see if there is data in two date fields. If it finds data in both fields, then I want to make a change to the EnrollmentID row of another table to changed the graduated column from No to Yes.

To expand on that, I'll want to check each ClassID row and if all of the associated students of that class have the column Graduated checked as yes, it will place the date in the date column for that particular class.

This is essentially my way of auto-archiving data as the combo box selections on my forms don't allow for class data to be shown if there is a Closed Date entered for the class and you won't be able to enter more test results for a student if the Graduated Column is checked in the Enrollment table (associates memberID, ClassID, CourseID into a single table)

Any insight on how to do this would be greatly apprecaited.

View 6 Replies View Related

Keep 5 Similar Tables Updated

Apr 2, 2008

I have 5 tables which comes from different departments in our company.
All of them have the same key "project no" but hold different information in other colums.
As a starting point I have secured that they all have same no. of records meaning all "project no" are in all tables but some table might not contain other information in that record than the project no.
I have put them into a quirie and on a form I am able to look at all data from all 5 tables.
I have linked them one to one and it works fine untill I add a record to one of the tables. Afterwards I am not able to write into fields from other tables because there is no automatic creation of the record in the other tables.
Please How would this be best/easiest to make for me. ?
The reason why I have to keep the 5 tables is that regular updates are avaiable form any of them.

Appricate any comments which can make me any progress.

View 3 Replies View Related

Similar Records In The Same Query?

Oct 28, 2005

This is a tough one. I am developing golf management software. There is a table of caddies. And there is a table of members. The Caddies carry two bags each one for each member. They are assigned their jobs through an assignment form. Therefore, a single caddie will carry for Member1 and Member 2.

Now I need to produce a report of how many times each member plays. So how can I query the assignment table where Member 1 and Member 2 fields exist so that I can have a single field of allMembers so that I can count their rounds in a report.

Thanks.....Jeff

View 2 Replies View Related

Crosstab Query Or Similar?

Dec 13, 2005

Hi,

I am trying to query on a table, predominantly made up of check boxes, so that I can get a summary which essentially shows the number of 'checks' in each field within a given date range. I have attached a Word file, which should explain exactly what I would like to achieve.

If anyone can help me I would be extremely grateful.

Many thanks and best wishes
Russell

View 5 Replies View Related

Delete Similar Records

Jul 31, 2006

I have a table of ~165k records and need to delete records that are similar (2 or more records have the same lastname, firstname, dob). These records are not duplicates as other field values in these records are different. I've tried several sql scripts and Access methodologies but can't get valid results.

Thanks,
Phil....

View 1 Replies View Related

Merge Similar Tables

Jun 5, 2007

Hi there, I'm quite new to Access.I have two tables which have very similar Data, but laid out differently. The main similarities are things like FirstName, LastName, Company. What I need to be able to do is merge the two tables together into one super table. I've tried linking FirstName with FirstName and LastName with LastName on both tables, and running a query, so I can check for duplicate names. But all that brings up is a list like this:Steve Smith Steve AbrahamsSteve Smith Steve McDonaldSteve Smith Steve PerrySteve Smith Steve Vere(those columns would be Old FirstName, Old LastName, New FirstName, New LastName)There are fields in the old table that are not in the new, and vice versa. But the core fields are labeled the same. What's the best way to proceed here?Cheers,Hob

View 5 Replies View Related

Situation With Similar Strings!

Apr 10, 2008

I have supplier records where the supplier name in each record is different. It may be Supplier ABC, AB,C, ABC!, ABC Inc., or several other variations. In addition each of these suppliers has their own supplier ID. The supplier ID can be one of 5 different versions since the data is from 5 different ERP systems. I am trying to create one table that does not have the supplier listed many times, but has one correct name and one ID that will be able to link back to the original file with all the different names and IDs. I hope this is a good explananation. Any advise?

View 2 Replies View Related

Grouping Similar Terms

Aug 11, 2006

I would like to take information from a table and combine all the like terms. For example, I have a list of items, and some appear multiple times. I would like access to group the items with the same UPC together and give me a running dollar total insted of viewing the same UPC item 3 times. Is this possible?

View 1 Replies View Related







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