Solved

procedure cannot run

Posted on 1998-11-24
5
174 Views
Last Modified: 2012-05-04
i have tried your answer that u gave to nad22, but it cannot run. in my main menu driven program, when i chose option print(procedure print), it will not drive to another screen to print out the records.
why??????
 
0
Comment
Question by:HoLi
5 Comments
 

Author Comment

by:HoLi
ID: 1216176
i need to print my records that consists of serail no, tel no., check-in date,check-out date and paymode.

how do i save the data entered by user (after i ran the program?)
0
 
LVL 2

Expert Comment

by:kellyjj
ID: 1216177
Could you please be a little more clear on what you are trying to do?  thanks
0
 
LVL 3

Expert Comment

by:daitt
ID: 1216178
You want  to print all the records or one record ? If all the records had been entered is what you wanted to print, it's not neccessary to switch to another screen when you choose "print", it'd better print quietly :)
To save the data entered, you have to do 2 things:
   1. When the user choose "Save", you have to ask them the filename they want to save to, and write all the records into that file.
   2. When the user choose "Load", you have to ask them the filename they want to get data from, then reset the record list, and read the new list from the file.
0
 

Expert Comment

by:misguided
ID: 1216179
are u using pascal for windows? if not, what kind of print?? on screen or literraly printing on the printer???
0
 
LVL 1

Accepted Solution

by:
nabilaal earned 10 total points
ID: 1216180
Please provide me with the record members (e.g. NAME,TELE,ADDRESS, AGE, etc), and the output shape e.g.:
  NAME : xxxxxxxxxxxx          TELE : xxxxxxxxxxxxxx
    AGE : xxxxxxxxxxxx           ADDRESS : xxxxxxxxx

And I'll write you a complete procedures, and what you need is just call them!

Thanks.
NABILAAL@HOTMAIL.COM
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Twsocket as Twsocketserver 6 1,643
printers log data 3 358
calling Tcolordialog in dll make the form disappear 8 111
find a node in VST 2 68
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question