UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Video Library (Loaning a film)    
 
   
fredrisg
post Apr 6 2005, 04:42 PM
Post #21

UtterAccess VIP
Posts: 1,795
From: LA, CA, USA



Not sure if the attachment zip included the file so here it is again . . .

Steve
Go to the top of the page
 
+
wij_man
post Apr 8 2005, 09:57 AM
Post #22

UtterAccess Enthusiast
Posts: 53



Cheers, although No help so far :-(

I just need to create a loan and return form, the loan form needs to save the loans in it...

are there any examples floating around here? I can't seem to find any..

cheers
Go to the top of the page
 
+
fredrisg
post Apr 8 2005, 03:44 PM
Post #23

UtterAccess VIP
Posts: 1,795
From: LA, CA, USA



Did you look at the download?

Steve
Go to the top of the page
 
+
wij_man
post Apr 9 2005, 04:48 AM
Post #24

UtterAccess Enthusiast
Posts: 53



I didn't realise that was revised.. cheers for your help !
However I'm a bit more confused...
I'm not sure how to implement what you did in the actual way that i want .. (I think that makes sense)

cheers
Go to the top of the page
 
+
ScottGem
post Apr 9 2005, 08:47 AM
Post #25

UtterAccess VIP / UA Clown
Posts: 25,041
From: LI, NY



Both Steve and I have given you a lot of information and help. Steve even went further then I think he should have to give you a nice rental setup.

You need to spend some time digesting the information you have been given and making use of it. You seem to expect us to do the work for you and thatt's expecting too much.
Go to the top of the page
 
+
fredrisg
post Apr 11 2005, 12:24 PM
Post #26

UtterAccess VIP
Posts: 1,795
From: LA, CA, USA



wij_man

I agree with Scott . . . it takes some time to get used to programming access . . . and I suggest getting one of the books recommended at this site.

I put some code in your db just so you can see what it looks like and how it works . . . nothing really too fancy . . . but keeping it simple coding wise ususally produces a simply user interface.

Likewise, I've used some VBA code using DAO recordsets . . . that's a whole discussion in and of itself but the sample code should give you a good start . . .

In any event, moving beyond the wizards is a big step! Interestingly, I never used them . . . having programmed before, I just went straight into basic coding and never looked back . . . but I've still got a lot to learn and I too visit this site for various insights and coding tips.

Steve
Go to the top of the page
 
+
pottywithit
post Apr 11 2005, 01:50 PM
Post #27

New Member
Posts: 6



i am currently making a video loaning system and am having problems with caluclating the overdue cost for a video.
can someone please help!!!
Go to the top of the page
 
+
pottywithit
post Apr 11 2005, 01:58 PM
Post #28

New Member
Posts: 6



where can i download the Northwinds sample database please?
Go to the top of the page
 
+
wij_man
post Apr 11 2005, 02:09 PM
Post #29

UtterAccess Enthusiast
Posts: 53



Hey potty, where you from ? (I don't want you copying my courseowrk.. lol)

anyways here's an example of a overdue for a video..
BTW to cover my own back I'm saying right now that if you intend to pass this off as your own work in anyway do not use it.

to work out your days overdue here is the code to put in your "Control source" of your "Days overdue field"

=DateDiff("d",[Date Due Back],Now())+Int(Format([Date Returned],"ddmmyyyy")<Format([Date Due Back],"ddmmyyyy"))+1

For the cost I've used this..

=[Days Overdue]*[Hire Cost]

hope that's helped ya..
Go to the top of the page
 
+
fredrisg
post Apr 13 2005, 01:16 PM
Post #30

UtterAccess VIP
Posts: 1,795
From: LA, CA, USA



pottywithit - where can i download the Northwinds sample database please?

It comes free with Access and should be in your Samples folder in Office in the Programs folder.

Steve
Go to the top of the page
 
+
pottywithit
post Apr 13 2005, 04:28 PM
Post #31

New Member
Posts: 6



hey i was wonderin how i would make a RENEW button for renewing a video. i kno wi need to create a button but what would the code be.

thanks
Go to the top of the page
 
+
ScottGem
post Apr 15 2005, 11:35 AM
Post #32

UtterAccess VIP / UA Clown
Posts: 25,041
From: LI, NY



First, it would be a good idea to start your own thread trather then piggy back on an existing one.

Second, adding a renew feature is dependent on a number of factors. Do you want the renewal to be a separate loan transaction? Or do you just want to extend the due date? How do fees figure in? There is no way we can give you a code sample without knowing how your system works.

I suggest you start a new thread (Renew video rental) with more info so we can help.





Edited by: ScottGem on Fri Apr 15 12:36:14 EDT 2005.
Go to the top of the page
 
+
pottywithit
post Apr 16 2005, 07:55 AM
Post #33

New Member
Posts: 6



hi sorry, i actually dont know how to start a new thread.
With the renews I'm not sure whether I want to extend the due date or make it a separte loan transaction. at the moment the due date is calculated by validation in the table by ()+3 (which means that the due date is three days after the video has been rented. which way would be most suitable for me?
Go to the top of the page
 
+
ScottGem
post Apr 16 2005, 08:39 AM
Post #34

UtterAccess VIP / UA Clown
Posts: 25,041
From: LI, NY



You select a forum appropriate to your topic and then click on the Add New Post link. It would help if you read the instructions.

That's a question YOU need to answer. Either way is viable, but its a business rule, not an access one.

HTH
Go to the top of the page
 
+
pottywithit
post Apr 16 2005, 12:43 PM
Post #35

New Member
Posts: 6



ok ive chosen to make it a separte loan transaction. how would i go about making the renew button to renew a video for 3 more days?
Go to the top of the page
 
+
ScottGem
post Apr 16 2005, 05:42 PM
Post #36

UtterAccess VIP / UA Clown
Posts: 25,041
From: LI, NY



Generate and run an Append query that takes the data from the current loan record and changes the Loan date. You might also want to add a flag to indicate its a renewal.

HTH
Go to the top of the page
 
+
pottywithit
post Apr 17 2005, 09:56 AM
Post #37

New Member
Posts: 6



what fields would i have to use for that append query?
Go to the top of the page
 
+
ScottGem
post Apr 17 2005, 02:35 PM
Post #38

UtterAccess VIP / UA Clown
Posts: 25,041
From: LI, NY



How do you expect us to know? Its your database. Its also YOUR assignment. We can provide direction ans suggestions, but we are NOT going to do the work for you.
Go to the top of the page
 
+

2 Pages V  < 1 2
Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 03:44 AM