Recent content by Bobadopolis

  1. Bobadopolis

    Filter parent data by child data?

    Thanks Got it! Took me a little while to figure out I had to change the context - I was using "=" before the subquery which didn't work, but changing this to "In" did it! Thanks namliam
  2. Bobadopolis

    Filter parent data by child data?

    All, Is it possible to filter parent records by child records (or subdata) without showing multiple instances of the parent data in the form/query? Cheers, Bobadopolis
  3. Bobadopolis

    stop form going to new record

    Why not attach the requery to the OnClose event of the input form (provided the viewing form stays open): [Forms]![myForm].Requery You could use the combo box wizard for a simple method to navigate to a desired record in a form. An alternative to this is to filter the form's RecordSet using an...
  4. Bobadopolis

    stop form going to new record

    Make sure in the Form's property sheet you set AllowAdditions to "Yes". The code will take care of it thereafter... What other problems are you having? Bobadopolis
  5. Bobadopolis

    stop form going to new record

    You could put some code in the OnCurrent event of the form: Me.AllowAdditions = IIf(Me.RecordsetClone.RecordCount = 0, True, False) This turns AllowAdditons off if there are records, and on if there are none (hence your control won't disappear). Bobadopolis
  6. Bobadopolis

    Help with get current record on different ids...

    I think something like: strWhere = "[skjema_16_gr1_ID] = " & Me!skjema_16_gr1_ID & " And [skjema_16_gr2_ID] = " & Me!skjema_16_gr2_ID Bobadopolis
  7. Bobadopolis

    Linking fields on form

    OOh, and make sure your foreign keys are not unique indexes!
  8. Bobadopolis

    Filtering!!

    I'm not sure about MS date picker but it seems to me that when you're fitering by time you are actually filtering by date and time - hence, when you filter by just date you want a wildcard or something for the time part(?). As for automatically deleting records... you could run a delete query...
  9. Bobadopolis

    How to Load a Form into Memory without showing it?

    Well I didn't know that - you learn something new everyday (or lots of new things if you're a dummy like me!) :) vtrm - I have not used the 'Load' function before but at first sight it looks like it will not do what you want. I think you'll definitely be wanting to use the code we've...
  10. Bobadopolis

    Linking fields on form

    You need to restructure your data... I envisage the same 3 tables but with the following structure: tblArtists - details of each artist (stored once for each) ArtistID (PK) FirstName LastName DateOfBirth etc... tblArt - details about the art work created by each artist ArtID (PK) ArtistID...
  11. Bobadopolis

    "#Deleted" when navigating to new record

    I didn't mention before that I'm using SharePoint as by BackEnd... I made a copy of the database FE and converted all the linked tables to local tables. The error I descibed above didn't happen! :confused: So I think I'll give up now since i don't think there's anyhing I can do about it! The...
  12. Bobadopolis

    auto date Field?

    Place: =Date() in the DefaultValue property for the control. Also, you may want to look up the 'Format' function in Help if you want to change the way the date is displayed. Bobadopolis
  13. Bobadopolis

    How to Load a Form into Memory without showing it?

    DoCmd.OpenForm "MyFormName" To make it invisible include this line afterwards: [Forms]![MyFormName].Visible = False You can make it visible again by changing this to true To refer to controls you can use something like: [Forms]![MyFormName]![MyControlName].Property for a property or simply...
  14. Bobadopolis

    "#Deleted" when navigating to new record

    I don't think a requery will help here. I tried this in the OnCurrent event of the form and it simply removed the #Deleted record from the RecordSet! Grr... :mad: In the mean time I've simply removed the ability in the form to navigate backwards to already entered records - not ideal but...
  15. Bobadopolis

    "#Deleted" when navigating to new record

    Hi, I have a data entry form/subform with an embedded graph allowing users to preview the data they input. When I navigate to a new record in this form the the fields in the form and subform echo "#Deleted". Yet the data is still there, it is just not shown in this form. I have tried copying...
Top Bottom