Search results

  1. E

    Datepicker tabbing change setfocus

    The only thing that I have tried is to setfocus to the next field on afterUpdate and OnChange. I have also nullified manual entry of the date (as that causes problems) The vba (yellows out) error just tells me that I can't go to the field. I also wanted to populate an additional field Date5...
  2. E

    Datepicker tabbing change setfocus

    I have a bound form with four date fields. For brevity the user needs to input four dates. I have disabled the manual entry. The form opens with the focus on Date1 showing the datepicker. I want to: select a date, setfocus to date2, select a date, setfocus to date3, select a date, setfocus to...
  3. E

    DCount to decide

    Thanks Guys. Schoolboy error!
  4. E

    DCount to decide

    Im struggling to get this to create a message for the user. I have an import spec that imports my data to a holding table, checks that the data isn't already in the main table then adds if not. Private Sub Command0_Click() DoCmd.RunSavedImportExport "Import-AllocatedCash" ' I now...
  5. E

    Error Handling Log

    Thanks Minty I'll give this a go and report back.
  6. E

    Error Handling Log

    Minty I have put the Function into my database. How would I now "Call" it in my VBA code?
  7. E

    Error Handling Log

    Hi Ridders. This is on a network and as such add-ons are problomatic.
  8. E

    Error Handling Log

    I currently have several on errrors go to eg: IMPORTATN: DoCmd.OpenQuery "dltErrorLog", acViewNormal, acEdit DoCmd.RunSQL ("INSERT INTO tblErrorLog ( Errortext )VALUES ('There has been an error with importing ATN');") DoCmd.Quit These are used for specific parts of my code to...
  9. E

    Access Querys to SQL

    Thanks PBaldy and Minty (did you see who I left out?)
  10. E

    Access Querys to SQL

    Thanks Minty. I have just discovered "Views" which I shall experiment with. I think that the problem is that our network is incapable of processing data efficiently and the provider is telling us that it's an Access problem. Ten querys Five Tables Table 1 = 100k records Table 2 = 200k records...
  11. E

    Access Querys to SQL

    Could somebody please point me in the right direction? I am converting my Access database to SQL and trying to replicate my querys. In one instance I have eight querys that rely on one another. Query within a Query Two questions: 1. Am I to assume that I would have to create nested SQL to...
  12. E

    Select a file to import then process

    Hi Mark Thanks for your response. The issue with <FILE TO IMPORT HERE> is that the file name will change. (See original point 2) what I need is: DoCmd.TransferText acImportDelim, AllocatedCashImportspecification, tblAllocatedCashImport, <FILE THAT IVE JUST SELECTED >, 1
  13. E

    Select a file to import then process

    Thanks Guys I was being dumb and figured it out. However my imports are csv files not a spreadsheet. I have saved an importspecification Could you help with the correct way to import a csv. I've tried to follow the website and got this far but it pulls an error. DoCmd.TransferText...
  14. E

    Select a file to import then process

    Hi Ranman Thanks for you time. I have placed the Function into a Module but I am unsure what the "usage: vfile etc " is? Could you help further? I'm afraid my VBA is somewhat basic. I have Microsoft Office 15 Object Library installed as a reference.
  15. E

    Select a file to import then process

    I've always struggled with this but never pursued it. 1.I want my user to press the cmdbutton. The window directs to a specific folder on my computer. 2.The user selects the csv file (could be named anything - usually date orientated eg Income 2018.csv) 3. The file is uploaded the window...
  16. E

    Was anything changed on my Form ?

    Thanks Gasman I can get that to work on the OnChange of the specific Fields within my SubForm but it doesn't work on the SubForm's On Data Change event !!
  17. E

    Was anything changed on my Form ?

    Thanks RanMan I started to go down that route but I'm struggling to reference the cmdbutton on the parent form. Basically if a change in SubForm1 Then ParentForm.CmdNextButton.visible = TRUE
  18. E

    Was anything changed on my Form ?

    I have my form with sub forms and wondered if there was a quick fix to see if anything has been changed (on either the main form or sub forms) The reason for this is that I want to create a MsgBox that states "You haven't submitted any changes" I have tried "On Data Change" but this doesn't...
  19. E

    windowHeight WindowWidth

    The holder solution worked. I created a single form then attached my continuous form as a sub form linked the relevant data and now open the "Holder" form from my main form.
  20. E

    windowHeight WindowWidth

    I have a (Do not display) Tabbed Documents database. I would like to open a (pop up) continuous form to my desired size auto centred. I've tried Private Sub Form_Open(Cancel As Integer) Form.WindowHeight = 5670 Form.WindowWidth = 5670 End Sub But it tells me that this is not updateable. I...
Back
Top Bottom