Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 28th, 2004, 07:17 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Help with form

I have a fairly complex form that I have come up with for the ambulance company I work for. However I can't get it to do a couple of thing and I would really like some help. The call taking and dispatching form is the on I'm having problems with. The subform in that form should show only the calls for the current day however my inexperience is cause me problems cause I can't figure out how to make that happen. I don't know if is possible or not but I would like it also to be able when you click or double click on a record in the subform it to pull up the same record in the main form. I know that I may be asking for the impossible but if someone could just take a look and tell me how if possible or if it's not possible just let me know. I 've tried to attach a copy of the DB however the it keeps saying the file is too big. So if you have a FTP I'll sent it to you.

Last edited by Ryan_Baxter : January 28th, 2004 at 08:36 AM.

Reply With Quote
  #2  
Old January 28th, 2004, 09:32 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
If the main form and sub form is bound form then by placing query in the recordsource property of subform like "Select * from tableforSubform where datefieldinsubformtable = #" & Date() & "#". Access is one of the most powerful yet programmer friendly language with which you can do a lot. If you can post your db by zipping it, I can give you a correct answer. you can directly mail me supersubra@hotmail.com if it is less than 500K.

Reply With Quote
  #3  
Old January 28th, 2004, 09:35 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I tried to post it but for some reason it keeps saying the file is too big......it is 934K so I don't understand why it won't post......any other ideas on how to get it to you to look at?

Reply With Quote
  #4  
Old January 28th, 2004, 09:49 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
Have you tried with zip format.Otherwise create a new mdb and place form and blank table structure or preferably with one or 2 records and compact it from tools database compact menu and zip it. It will be definitely of a smaller size.

Reply With Quote
  #5  
Old January 28th, 2004, 09:55 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Give me a few minutes and I'll do that........The 934k is a zip

Reply With Quote
  #6  
Old January 28th, 2004, 10:08 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Go to Yahoo breifcase. Get a free FTP site and put it there and let us know the username and password (probably send it thorugh private message) and we will look at it.

S-

Reply With Quote
  #7  
Old January 28th, 2004, 10:10 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Ok.....I'll let you know when I have it set up......Thanks

Reply With Quote
  #8  
Old January 28th, 2004, 03:55 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Okay Ryan

Which form are we looking at,

And give me a detail explanation of what you want this form to do.

S-

Reply With Quote
  #9  
Old January 29th, 2004, 06:20 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
You are looking at the Call Taking and Dispatching form. Here is what I would like for the form to do. The subform should show the runs for current day only also when you click or double click on one of those runs it fills in the main form. If there is a way to do it when the inservice time is filled in I would like that run moved to a new table called Completed Runs.....I have know Idea how to do that. If you have anymore question please send a message and I'll write you back

Reply With Quote
  #10  
Old January 29th, 2004, 09:55 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Okay lets see if I understand you

You have a main form, that displays all needed info for editing and adding records. You want a subform that will display a listing of all the records (for that day) that you entered from the main form. When the run is complete and you edit it complete by selecting the run from the subform by selecting from the subform and the transferring it to the form, then when you complete your run you wish to transfer that info, out of this temp holding table in to a completed table.

Am I understanding you correctly


S-

Reply With Quote
  #11  
Old January 29th, 2004, 10:21 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
That sounds correct..........I know I'm not very good at explain this stuff but thank you for being patient with me.

Reply With Quote
  #12  
Old January 29th, 2004, 12:35 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Ryan

I uploaded you DB again

I tweaked your form a little bit, You can play with it and do what ever your want to it (frmCallTakeDisp).

I didn't add the feature that move a complete run to a different tab le becuase I didn't know which table to move it to.

Personnaly I would just leave it in the same table and just not display anything with an inservice date.

Let me know what you think and what else you need help with.

S-

Reply With Quote
  #13  
Old January 29th, 2004, 01:01 PM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Ok.......It is amazing what you have done......it looks great!!!!! I agree that just limiting them so that run don't show if completed but I don't know how to make that happen could you make that little adjustment for me. My boss is asking for something that I don't even know is possible or not...... if we have a patient that goes every monday, wed, and friday is there a way to put in all the runs at the same time, of course this is just an example. if it is too hard I understand. Just let me know ........Thanks again for all your help.

Reply With Quote
  #14  
Old January 29th, 2004, 01:19 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
Make it so that complete runs don't show

Adjust the query driving the ListBox so that in the criteria of the len(InService) =0


Yes it is possible to Duplicate scheduled Runs and then just change certain info.


You would make it so that you are looking at the Run you wish to duplicate. You would create a cmdbutton that says duplicate. In that cmdbutton you would execute an insert query that would take the values from the current "conf" and add it back to the table. and then have it display the new conf so that you can edit it.

Think through what you need to do, I will help you where you want it.

S-

Reply With Quote
  #15  
Old January 30th, 2004, 10:56 AM
Ryan_Baxter Ryan_Baxter is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Indianapolis, IN
Posts: 40 Ryan_Baxter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Thank you again for all your help.........I'm going to try to make some changes that you have suggested and I'll ask for your help when I get stuck again........Again the form you came up with looks great.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Help with form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump