Hello Drew,Actually let me ask you this - how would you do it in MS Access - maybe we can find a similar approach in Base?What I would like to do and what I have done with Access is that in frmInspection value of fmtWeek .Text was calculated according to value of DateField.Text and inserted in a table. To make it more clear: if user update/change Date, Week number (0-52) has to be automatically calculated and displayed in a DateField. And, yes, I want to use it from the form frmInspection. Hope that I succeed to clarify a topic a bit. Not a problem - you will need to use a scripted macro for this ( unless someone can show me how to do it otherwise ). You would call this macro in the After Record Action event. The macro is not particularly difficult to envision, I am just curious how you will link the two ( or more records ). Looking at the data I see that the field "inspection" is not unique. Is there some combination of fields that will yeild a unique ( natural ) key?Just to explain you 'the name of the game': during construction we do not accept all the things: for such cases we have conclusions 'REJECTED' and 'OWC'. In both cases same item has to be inspected at least one more time. It would be handy to have information which items have to be re-inspected on one place (separate table?). Query of table tInspection with R or OWC as criteria can not help: doesn't mean that same Item is not accepted on some later date. Of course, situation is more complicated, all records in such (new) table has to be unique. Moreover if one re-inspect an item, there is no guarantee that this item will be accepted - two-three-inspections are not unusual, depending on a Builder. So basically, on insert of new record macro has to check if such record already exist in a 'new' table: if exist and if conclusion is R or OWC, macro suppose to update a date in those new table; if conclusion is something else (not R or OWC) macro suppose to delete that record from the new table. If record doesn't exist and conclusion is R or OWC, macro suppose to add record to the table - Date and Inspection are Ok. However, all records has to be 'intact' in a table tInspection. Do you mean the database gets slow at 2500 records?So far (783 records this morning) I haven't came across any degradation in speed and performance. But, yes, I'm afraid that it can happen - let's say 2000 records in tInspection (with memo field), 30-50 in tIssue (with memo field) and constantly 10-30 records in a 'new table' we're talking about. Have a nice day, Deki Andrew Jensen wrote:
--
![]() |
- Re: [dba-users] OOoBase - Exa... Frank Schönheit - Sun Microsystems Germa ny
- Re: [dba-users] OOoBase ... Andrew Jensen
- Re: [dba-users] OOoB... Frederick Frazelle
- Re: [dba-users] OOoBase ... Andrew Jensen
- Re: [dba-users] OOoB... Deki Djokic
- Re: [dba-users] ... Andrew Jensen
- Re: [dba-use... Deki Djokic
- Re: [db... Andrew Jensen
- Re: [db... Andrew Jensen
- Re: [db... Andrew Jensen
- Re:... Deki Djokic

