Solved

procedure cannot run

Posted on 1998-11-24
5
175 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TZConnection connected in separate thread 2 1,008
Inno Registry write String value that is last of Sequence 2 520
Inno Setup -> Add App Pin to Task Bar 1 730
Convert Jpg /PNG To GIF 5 150
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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