Joe, To answer your second question. On the Form's On Before Start EEP set the variables you want to use to NULL. Ex: SET VAR vJobhrs DOUBLE = NULL SET VAR vJobrate CURRENCY = NULL
James Belisle -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Joseph Drake-Brockman Sent: Friday, February 04, 2011 1:40 AM To: RBASE-L Mailing List Subject: [RBASE-L] - DUPLICATE DATE IN NEXT ROW HELLO ALL: I am using a scrolling DBGRID in a 2 part form. I use 7.6. How do I go about getting the date to increment by 1 day from the previous row when I insert a new row. It still has to be editable as a one day increment can be wrong (it might be the same day for example) but a one day increment is mostly ok. Best would to be two save buttons - 1 save-new row-repeat date 2 save, new row, increment date by 1 day. On another tack - how would I initialize eep variables so they do not throw up errors when I open the form. The Eep is very simple - just calculates the job amount from hours entered and rate entered. But it does not initialize until I enter 1 row of data. After that it's ok. I guess on open form eep???? Joe DB Drake-Brockman Geoinfo Pty Ltd 404 Great Eastern Highway Woodbridge, Perth, Australia, 6056 Tel / Fax +61 8 9274 5477 Mob 0427 525952 Email [email protected]

