UniBasic is the best way, by far. --Bill
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles Barouch Sent: Monday, March 12, 2007 8:11 AM To: u2-users@listserver.u2ug.org Subject: [U2] Re: Sanjeeb, You can generate reports in many, many different ways. BASIC is just one set of options. You should first look at the ReTrieve language, which is a query language, like SQL, but with a much simpler syntax since the JOINs are built into the schema, not the query. As to BASIC, the PRINT command sends things to the designated output (printer or screen), and repeating information can be done with a simple loop. Your core structure will look something like this: FERR = '' OPEN 'AR' TO AR.FILE ELSE FERR:='AR;' IF FERR # '' THEN ABORT 201, FERR * DONE = 0 LOOP READNEXT AR.ID ELSE DONE = 1 UNTIL DONE DO READ AR.REC FROM AR.FILE, AR.ID THEN GOSUB REPORT.ON.ONE.RECORD END REPEAT * STOP * * Start of Subroutines * REPORT.ON.ONE.RECORD: * Put your report row building logic here RETURN This logic would pull one record at a time from your AR file, based on what ever list of records you have pre-selected, and do *whatever* your REPORT.ON.ONE.RECORD subroutine does. - Chuck Sanjeebkumar Sarangi wrote: > Hi > > What type of report is generated in Universe Basic ? > Can any one tell me how to write a program that will generate a report ? > Please give me some example that will provide me a clear idea regarding > reports generation in Universe Basic. > > Sanjeeb > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > > -- Charles Barouch ([EMAIL PROTECTED]) www.KeyAlly.com (718) 762-3884 x 1 P. O. Box 540957, Queens, NY 11354 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/