How To Create A Spreadsheet Form With Connection To Calendar

Aug 20, 2012

I am a novice Access user. The idea is to build a visit tracking database. We are currently using excel to input appointments and outlook for statistics and patient data (as contacts). I am basically doing double the work.

The excel sheet is one week (Mon-Sun), the dates are in the top row; the names of patients are in t/he left-most column. The visit is marked by the name of the therapist. So, if John Doe has a visit from Linda on 08/25/12, there would be a "L" in the cell corresponding to the date and patient. There are also initial visits by the head therapist and there is a letter "IV" in the cell to indicate that.

I know that I can import the contact list from outlook and create a table and I know there's a calendar function.

Is there a way to
1. Create a form that will act as a weekly calendar (with each cell in a column having the same date, indicated in the top row) with connection/sync with outlook?
2. Be able to customize this form: add and delete patients in the left column.
3. Have the form count number of visits (# of total visits, # of total visits after the initial visit). In other words keep statistics of various sorts.

View Replies


ADVERTISEMENT

Create New Spreadsheet

Dec 29, 2005

I am trying to use the following code to export a table into a new spreadsheet that does not exist yet:

DoCmd.TransferSpreadsheet acExport, tbl_temp, "C:Spreadsheets" & rst!clientid & ".xls", True

but it won't work because the spreadsheet doesn't exist. How can I make Access create the spreadsheet?

Thanks in advance!

Vassago

View 3 Replies View Related

Create Connection Without Lock File

Feb 26, 2006

Hi there, we currently have a database that users write to through an excel form. Each time a user sumbits a record to the database we open a connection up with the below code, insert the record and then close it. This creates a ldb file for 1-3 seconds depending on how long it takes.

' OPEN DATABASE CONNECTION
Set dbConn = New ADODB.Connection
dbConn.CursorLocation = adUseClient
dbConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0"
dbConn.Open sConn

' INSERT RECORD THROUGH EXECUTE COMMAND
dbConn.Execute("INSERT INTO.... VALUES....")

' CLOSE CONNECTION
dbConn.Close

Is it possible to open the connection up without an ldb file being created so more than 1 user can insert a record into the database at the same time?

Thanks for your time,

Cheers

Tony

View 6 Replies View Related

Where To Use DoCmd.OutputTo To Create An Excel Spreadsheet

Sep 19, 2004

I want to run a report, I need to provide an option to export the output to an excel file or provide a print view. Where would I put the DoCmd.OutputTo command in the report to acheive this??

thanks

View 1 Replies View Related

Tables :: Data From A Database To Create Excel Spreadsheet

Aug 15, 2014

I'm exporting data from a database (using a query) to create an excel spreadsheet. I then import said spreadsheet into a new database. I was hitting lots of problems (subscript out of range, violating this that and the other etc etc) which I cleared up and actually imported the data. Well today I cleared down the new database and imported the spreadsheet again and got this.

the contents of fields in 0 records were deleted and 0 records were lost due to key violations.Thereby followed what to do when you get these things happening.Now to me 0 records deleted and 0 records lost means it's all worked. WRONG!! No records were imported at all.

View 5 Replies View Related

Create Calendar Table

Apr 27, 2005

Hello,

I am trying to find out if there is a way for me to create a table based on a specific month. For example I might select January 2005, I would then want to create a table with all the days of that month included, so that I could then add specific data to each day.

Is there a way that I can simply query the system calendar to do this sort of thing. I have spent quite a lot of time searching through this forum but have had no luck.

Thanks for any help

Mark

View 6 Replies View Related

Queries :: Create A Query That Can Run On Weekly Basis And Save Results To Excel Spreadsheet

Feb 18, 2014

I have a database of around 15,000 users and I'd like to create a query that I can run on a weekly basis and save the results to an Excel spreadsheet. The results need to be logical and understandable by my coworkers.

Unfortunately, the actual results of the query are not (in their raw form) logical or easy to interpret.

Let's say I have a table called "users" and within that I have:

Surname
Forename
FieldA
FieldB
FieldC

FieldA has a value of either NULL or a 12-digit number
FieldB has the values are "ENABLED", "DISABLED" and "N/A"
FieldC contains a value of either "1" or NULL

This means nothing to my coworkers who want each user to be sorted into a "category". As I'm running this on a weekly basis, I'd like this query to do the work for me, so I don't have to manually assign everyone to a category in Excel. Plus, of course, there is no chance of human error if the query does this for me.

Sooo... I'd like my query to categorise for me as follows:

Category1 = FieldA IS NOT NULL and FieldB="ENABLED"
Category2 = FieldA IS NOT NULL and FieldB="N/A"
Category3 = FieldA IS NULL and FieldB="ENABLED"
Category4 = FieldA IS NULL and FieldB="N/A"
Category5 = FieldA IS NOT NULL and FieldC = 1
... etc.

I'd like the final column in the query results to simply list the category name, so I can simply copy and paste the data into an Excel spreadsheet and be done with it, safe in the knowledge that it makes sense to all.

View 14 Replies View Related

Trying To Create A Report (calendar Style) Based On Weekly Activities

Jan 15, 2015

I have created a table for a Gym that shows which classes / activities are on which days. You will notice in the image below that i have assigned Boolean to associate a class with a day of the week.

I now am trying to create a Calendar STyle report that GROUPS all activities by the day they are on. So, for example, see below:

As you can see, all of Monday's activities will appear first (in a group) followed by Tuesdays.

One way I think I could achieve this is by doing a QueryMonday, QueryTuesday...etc so I have dataset or resultsset for each day. Then I could bring into a report, each query as a sub-report. I believe this is overly complex for what i'm trying to achieve. Also, using 5 grouping levels in one report doesn't achieve it either.

View 2 Replies View Related

How To Establish The Connection Between Ms-Access2000 & Oracle Using DAO Connection?

Sep 26, 2005

Dear Guys,
How to Establish the connection between Ms-Access2000 & Oracle using DAO Connection through Code?.

I created one table in Oracle and I created User-DSN in ODBC.
I linked that oracle table into Ms-Access MDB using Link table option in ms-Access.

Now, Whenever I open that mdb, we need to establish the ODBC connectivity automatically through code (I mean, we need to refresh automatically).

I need to hardcode all the information in the Ms-Access code.

My User DSN Name: abcd
Oracle Database Name: abcd
Schema Name(User Name): abcd
password: abcd

View 1 Replies View Related

Update Excel Spreadsheet That Link To A Form While Users Having Form Opened

Sep 17, 2014

What is the best way to accomplish this? I have a database that split into the Front end and the Back end. The form that the users entering the information uses the queries from two sources. One is the a table within Access and the other is an excel spreadsheet that I link to it. How can I update /replace the Excel spreadsheet while users are using the form of the front End?

View 9 Replies View Related

Form To Table Connection Going Haywire

Aug 1, 2005

The items involved are:
tblClass_Writing ==>Table that stores the data from sfrmClass_Writing
sfrmClass_Writing ==>SubForm that displays and allows users to add grades
frmClass_Writing ==> Form that contains sfrmClass_Writing

I am having trouble between the subform and the table. WhenI enter a selection in the subform, it displays correctly in the sub form (for example, "Applies spelling skills in daily work". However, when I look at the table (tblClass_Writing), it is displayed as the ID number for that subcategory.

On the reverse however, when you are in a new record in the table and click on the combo arrow for the field and choose an entry like "Applies spelling skills in daily work", it displays the text "Applies spelling skills in daily work" in the feild. Then when you go to the form, frmClass_Writing, and look at the subform, sfrmClass_Writing, an empty row of data is displayed in the form.

Any help in this confusing predicament would surely help - Thanks!

View 4 Replies View Related

View Spreadsheet Via Form

Jan 31, 2006

Hello all,

Thanks for your kind responses.

I have another question and hope you can help with.

On my form which gets informaiton from a query, I have among other fields an Account field. I have a query, Details, that provides details on the account field, the fields of the query include Account, invoices #s, invoice amounts e.t.c.

I would like to create a button on the form that would
1) take the account # showing on the current form and run the details query based on that account #
2) display the results of the query in a spreadsheet.

Thanks again for your kind help.

View 14 Replies View Related

Linking A Spreadsheet (it Is A Form Question)

Jun 17, 2005

When I create a form, it will not allow me to edit or add or delete. I can only view it. Allow Edits, Additions, Deletions, FIlters are all set to yes. Also Recordset Type is not set to Snapshot. Could someone help with this?

Thanks!

View 4 Replies View Related

Creating Spreadsheet For Each Record On A Form

Dec 16, 2004

I am trying to put a spreadsheet on a form that will allow me to enter data on the spreadsheet and store the information for each record.

Example: I have patients that I am using a combo box to bring up their name and address information. I want a spreadsheet tied to each patient that I can keep a running total of their payment history. Is this possible and How? Thanks for your help!

View 1 Replies View Related

Tables :: How To Use Spreadsheet In Tab Control In Form

Oct 5, 2012

i have created a form and added a tab control with a spreadsheet on each tab,(ex. column headings in spreadsheet, date of service,minutes tab headings ot visits, pt visits, dr visits, , however, i will need each spreadsheet to be visable when printed because forms will be used a cover sheet with summary of data

View 1 Replies View Related

Forms :: Excel Spreadsheet On A Tab In A Form

Feb 17, 2015

I would like to add a spreadsheet to my form on a tab just like on the asset tracking data base template in access 2010. I can add an unbound object frame but then I can not edit it on the form??

Pic of what I want to do : excel sheet.jpg

View 3 Replies View Related

Forms :: Spreadsheet Control In A Form

Aug 24, 2013

I want to have a spreadsheet type control in a form to be use for data entry and also to perform calculation. Is there a way to do that and save the data afterwards?

View 2 Replies View Related

Split Form With Spreadsheet View On Top

Oct 14, 2015

Is it possible to create a split form with spreadsheet view on top and when you click on any field in that line it shows a regular form with field information below?

View 3 Replies View Related

DNS Connection --> DNSless Connection

Jan 9, 2005

Right Ok i hope i can get some help cause im absolutely stumped..
i cant get my login page to work since moving it from my PWS(iis on xp) DSN connection
to a 24/7 server on the net with DSNless connection
here is the code for the include file "conntopwd.asp"
http://www.pritchardwebdesign.pwp.blueyonder.co.uk/conntopwd.txt
the username and path has been changed slightly for security purposes,
and the code for the login page which attempts to access the database is here
http://www.pritchardwebdesign.pwp.blueyonder.co.uk/login.txt
the connection has been tested by one of the tech support guys at brinkster and he told me it was ok,
the problem was the way that the data is called from the data base is wrong ..
The tech support guy said that it was this line that was causing the problem..
MM_rsUser.ActiveConnection = MM_conntopwd_STRING
Any help would be much appreciated as im stuck for now..

View 2 Replies View Related

Populate Form With Data From Excel Spreadsheet

May 3, 2005

Hello.

I currently have a data-entry form that users fill-out with data (duh!). The data comes an excel spreadsheet that is created during the work-flow process.

I would like to add an "Import" button the field that, when clicked, would prompt the user to select a spreadsheet (different each time) and once that was selected import data into the form (and ultimately the table). The data will always be in the same location (cells and sheet) within every speadsheet.

Any ideas?

Thanks in advance.

Sean

View 6 Replies View Related

Forms :: Add Record Lines To Spreadsheet Form

Apr 25, 2013

I want to create an access spreadsheet form in which the user can add data, which will be - after being processed - added to a database table. The spreadsheet form is for this reason not directly linked to a database table.

In the spreadsheet that I actually have, I manage to copy paste data from an Excel spreadsheet. However, only the first row is pasted. Access doesn't add new record lines for the other rows of my spreadsheet.

How can I make Access add record lines in function of the data on that is pasted? Or if this is not possible, how can I add sufficient additional lines myself?

View 2 Replies View Related

Modules & VBA :: Import Spreadsheet With Form Variables

Jul 18, 2013

I'm looking at importing data into a table from a spreadsheet. The spreadsheet will only contain a single column of data, while the table in Access will have a few more, some of which will would be will provided from the form the user is using to import the data, and some at a later date.

Is there a way to do this? I've found the "DoCmd.TransferSpreadsheet acImport" command, but not sure this fulfills what I need, as I can't see a way to set variable data.

Here is a brief idea of what my Table would look like, where where the data to import would be obtained from

Fields:
PromoID, DiscountID, PromoCode, AddedBy, DateAdded, UsedBy, DateUsed

Spreadsheet
PromoCode

Form:
DiscountID, AddedBy (environ("username") query), Date ( DATE() )

Note, the PromoID is a autonumber.

View 2 Replies View Related

Modules & VBA :: Button On Form Which Calls Module To Show Calendar Form

Sep 11, 2014

I have a button on a form which calls a module to show a calendar form. The user picks date and time, and saves it. The calendar form closes and adds the date and time to a text box on the initial form.I want to save the record so that the underlying table/query is updated, but it's not working. The record is not saved until the initial form is closed.Here's the form vba...

Code:

Option Compare Database
Option Explicit
Private blnFlag As Boolean, blnSaveIt As Boolean
Private Sub btnDelete_Click()
On Error GoTo Err_btnDelete_Click

[code]...

View 3 Replies View Related

Forms :: How To Create A Form That Can Edit Or Create A Record

May 13, 2014

I am trying to create a form to enter data in a table. I would like to make it pull in info from a switchboard. If the record already exists I would like it to find it and allow me to edit the info. If the record doesn't exist I would like to be able to add a new record with the data input. What is the best way to accomplish this?

View 1 Replies View Related

Calendar On A Form

Oct 13, 2006

I have been trying to find a calendar that I can put on a form to set up reminders, notes, and other things. I have had no luck finding such a thing.
I tried using Calendar Control 9.0, but that will not work for my needs.

If anyone knows where I can get a calendar like this, or if there is some sort of code that will make this happen, please let me know.

Thanks in advance,
PuJo

"On The Bayou"

View 3 Replies View Related

Calendar On Form

Oct 16, 2005

I currently have a form where a user can enter the criteria to print a report. For a date based report I would like to have 2 "pop-up" calendars where the user can click the start date and end date criteria.
Can anyone recommend a program or add-in that I can use with Access97?

View 14 Replies View Related







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