Re: How to Append Data to the End of Existing File in infobasic

2013-02-28 Thread Qaseemuddin Shaikh
MY OUTPUT IS : CUSTOMER ID*MNEMONIC*NATIONALITY 100131*A0100131*PK CUSTOMER ID*MNEMONIC*NATIONALITY 100132*A0100132*PK On Wed, Feb 27, 2013 at 5:42 PM, Naveed Ahmed Nayyar nahmed.nay...@gmail.com wrote: Dear Qaseemuddin, kindly send me the output because Niraj said to me again that his

Re: How to Append Data to the End of Existing File in infobasic

2013-02-27 Thread Qaseemuddin Shaikh
Hope your fine. Rotuine is running OK! check your Customer data or in DEBUG MODE. On Wed, Feb 27, 2013 at 4:39 PM, Neeraj nirajka...@gmail.com wrote: Dear Naveed Thanks for your mail. Here is code that i compiled after getting your mail.

Re: How to Append Data to the End of Existing File in infobasic

2013-02-27 Thread Naveed Ahmed Nayyar
Dear Niraj, Kindly check below mentioned code. *- * Rating-46/Rating *- PROGRAM CUS.DISPLAY.TEST $INSERT I_COMMON $INSERT I_EQUATE

Re: How to Append Data to the End of Existing File in infobasic

2013-02-26 Thread Neeraj
HERE IS MY CODE *SUBROUTINE CUS.DISPLAY.TEST *** PROGRAM CUS.DISPLAY.TEST *** $INSERT I_COMMON $INSERT I_EQUATE $INSERT I_F.CUSTOMER *** GOSUB INIT GOSUB OPENFILES GOSUB PROCESS RETURN ** INIT: FN.CUS = 'FBNK.CUSTOMER' F.CUS = '' Y.CUS.ID = ''

How to Append Data to the End of Existing File in infobasic

2013-02-25 Thread Neeraj
How to Append Data to the End of Existing File using infobasic? scenario: currently when i enter the customer id, 193577 , then the related data to the Customer id is retrieved and write to a file . and then again when i run the same program and give another customer id , 193588 then the

Re: How to Append Data to the End of Existing File in infobasic

2013-02-25 Thread Sastry
Dear, Use OPENSEQ and WRITESEQ. Regards, SASTRY On Mon, Feb 25, 2013 at 1:48 PM, Neeraj nirajka...@gmail.com wrote: How to Append Data to the End of Existing File using infobasic? scenario: currently when i enter the customer id, 193577 , then the related data to the Customer id is

Re: How to Append Data to the End of Existing File in infobasic

2013-02-25 Thread Kevin Powick
On Monday, 25 February 2013 03:18:00 UTC-5, Neeraj wrote: How to Append Data to the End of Existing File using infobasic? Append to the end of an existing file, or an existing record? Two different things in multivalue databases such as jBASE. You say file, but you describe records. Show

Re: How to Append Data to the End of Existing File in infobasic

2013-02-25 Thread Dick Thiot
What type of file are you accessing? There are different solutions for the different file types. If the CustomerID is the key to the file and you are using a hashed file then your data shouldn't be overwritten using different CustomerIDs since hashed files require a unique key field and store