473,408 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

How to run a form to execute expired dates at the opening of a database?

Hi
I have a database which i want to execute expired records which are tagged a date,at the opening of the database these expired i want them to be displayed on a form

many many thanks to my rescue
Patrick
Jan 20 '11 #1
3 1102
patjones
931 Expert 512MB
Hi Patrick,

You're asking a pretty general question, so I can give you a general answer that really has multiple steps to it.

Essentially, you want to
  1. set the form in question to open when the database opens
  2. have a date query that runs in the On Open event of the form and,
  3. display the results of that query on the form.

You may or may not know how to complete any number of these steps, which we could help you with further. But I would suggest looking into how to accomplish these steps and letting us know if you are having problems with a particular part of the process.

Pat
Jan 20 '11 #2
Hi pat

thanks i was able to follow your steps it did right but, i was a bit wrong to generalise the question but my issue is that am building a database for loan management, i have worked on other issues like giving a loan with interest, they work fine but one problem i got is that i want the database when it is opening to be able to execute loans which are due and when i click on it, it opens a form with that loan which has expired, if in case there is no loan which due the form should appear that is my big problem thanks alot
Jan 31 '11 #3
patjones
931 Expert 512MB
Patrick,

You just need to have your form open and display the expired loans in say a list box using a simple query.

This being said, I think you are still asking way too general of a question. I'm pretty sure I understand what you're trying to do, but the steps I laid out previously should work. You have to teach yourself how to do each component of what you need to make this work, and then we can help you with specific issues that arise.

Pat
Feb 1 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Vincent Jones | last post by:
I already have a calendar from VBScript but I need it to bold on the dates when there is an event. I've created the Database connection but I can't seem to figure out how to integrate the two. ...
8
by: Steve Mills | last post by:
I opened an mdb file with a text editor, deleted random chunks of data from it and then saved it. Now it won't open. Fortunately, it wasn't one of mine - it was from the accounts department, but...
2
by: Zlatko Matić | last post by:
Hi! How to prevent opening the database window (tables, queries, modules) in MDE? I have created MDE and set in Startup that database window is not visible. I also disabled Access shortcut...
7
by: SueB | last post by:
Hi. I want to execute a routine, at database startup time, to relink the backend tables. I have the code for the function, but I don't know where to invoke it. I tried putting a call to the...
1
by: Lee Fallows via DotNetMonster.com | last post by:
I have been using the MSACAL calendar form successfully. Until I installed another VB application on my PC. Now the form appears but does not have any dates shown on the form. It still works as...
1
by: Manisha Chowdhary | last post by:
Hello, I have newly created a Database and when i try to open it back its getting mounted but not opening It shows the following error ORA-01157: cannot identify/lock data file...
1
emandel
by: emandel | last post by:
Why do I always get a security warning when opening my database file which i created on my computer? "this file may not be safe if it contains codes....."
2
by: wb228 | last post by:
Hi, I have a form called "2_Form_Courses" and in my menu I open the same form, just applying different filters. My upcoming courses button doesn't work with dates properly When I run this...
1
by: rolyestemonio | last post by:
I have a problems of comparing dates in mysql.Can anyone help me out? the codes goes like this: function getlocal() { $sql = mysql_query("SELECT * FROM tbl_localnews");...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.