Search results

  1. Solo712

    Multiple Backends

    This is one instance where I have to disagree with the majority opinion expressed here. Creating a "switchboard" that connects a single FEs to different BEs poses no added security issues (per se) that I can see. It can be gainfully used for managing multiple projects or business accounts (I...
  2. Solo712

    CLOSING ACCOUNTING PERIOD

    I too am unsure why the "accounting period closing" would require data to be saved. Unlike manual systems which require a closing date for a month period to tabulate accounting data for reports and to manage later corrections, an electronic accounting database is an open book which assigns items...
  3. Solo712

    Exchange Rate/ currency conversion

    Good work, arnel. I made two small adds: 1) a form to get the exchange on any two currencies using USD as reference. 2) a column in the table that converts the date string for updates for sorting on dates.
  4. Solo712

    Solved Undo Updates on a Subform

    Public variables are accessible from the subform via Parent.varname. Jiri I am with you on this. What's more is that the tenant data is not dependent on the tenancy data so the requirement the two should be updated at the same time is suspect. The main-sub setup allows reassignment of the...
  5. Solo712

    The Many to Many Evolution

    Look guys, you may gang up on me all you want, but you are just shooting the messenger. Much experience as you might have you don't get to decide what is what in "databases". If you want to argue that "real/true" one-to-one relationship exists only where two tables have the same PK, you better...
  6. Solo712

    The Many to Many Evolution

    All I am saying is that it is the "rule" that decides what relationship he have between data entities in any given situation. . The examples you are giving do not address the 1-1 rule. Obviously you can reassign a desk, or write a new lease for an empty apartment. But you cannot assign them to...
  7. Solo712

    The Many to Many Evolution

    Dave, I am not accepting the new semantics that MajP and you are introducing here. They are over the top and only confuse matters. Two tables should never "share" the same PK. That's just bad practice. Even where you partition a single table with a single identifying entity into several...
  8. Solo712

    The Many to Many Evolution

    I beg to differ. The one-one relationship is not called for by some abstract nature of "data" but by business or social rules. I don't care if someone wants to call it "assignment" or whatever. If a company assigns one desk to one person, one can philosophize that it really is just an instance...
  9. Solo712

    Form Controls as Pseudoarrays

    What is the error number?
  10. Solo712

    Form Controls as Pseudoarrays

    Thanks, Colin. Guys, I made no claim to a historical discovery in the OP. It's just that a number of posters at AWF seem unaware that this coding style is available and very effective for a task like creating an event calendar. Take e.g. the collection of calendars and date pickers that MajP...
  11. Solo712

    Form Controls as Pseudoarrays

    Hi everyone, Every so often I see requests on Access boards inquiring about a way to streamline events for multiple controls of the same kind, so they are executed as a single function. Surprisingly, most answers are negative in the sense that VBA (unlike VB) doesn't know control arrays...
  12. Solo712

    Solved Syntax: rs.Findfirst...Not rs.NoMatch

    strCriteria = "EmployeeID=" & Me.EmployeeID & " AND Year = '2021'" & " AND Quarter = '2nd Qrtr'"
  13. Solo712

    LOOP

    You should always test for an empty recordset and move to first record before moving to next, e.g. If Not rs.EOF Then rs.MoveFirst Do While Not rs.EOF : rs.MoveNext Loop Best, Jiri
  14. Solo712

    How to automate re-linking tables from FE to BE, if the location or name of the destination folder changes?

    Assuming that the network mapping is the same for the developer and the users, then after the BE has been relocated to a new location, the new FE at the individual stations will not have to be re-linked. Most larger organizations have a network share dedicated to corporate data, and use a...
  15. Solo712

    Solved Find next sequential number

    FYI, you could have used the DMin domain aggregate function and save yourself unnecessary coding: Nz(DMin("ID", "tblNewNames", "ID >= " & Me.NumberID)) would give you the requisitioned or the next record number in sequence. Best, Jiri
  16. Solo712

    "Run-time error '-2147024882 (8007000e)': Out of memory." while building ADO recordset

    Closing a recordset will release whatever system resources it holds. Only the object itself will remain. Jiri
  17. Solo712

    "Run-time error '-2147024882 (8007000e)': Out of memory." while building ADO recordset

    Doc, I am aware that dbForceOSFlush is used normally in transactions. Now whether it has effect on dynamic buffering is somethinbg I don't know but it wouldn't hurt to try. At any rate you could easily flush the allocated ADO space by closing and reopening the ADODB connection in the loop...
  18. Solo712

    "Run-time error '-2147024882 (8007000e)': Out of memory." while building ADO recordset

    CJ, this assumes the text file has line delimiters. If it is a fixed-length record text stream, you would want to use random-access IO File Read. FWIW, I think the problem is with the ADO recordset not releasing allocated memory. I would try using a DAO recordset, and if necessary do a...
  19. Solo712

    Solved error on auto refresh linked tables with VBA code

    I have noticed that the subfolder for the excel files is "utility" but for the cvs file it is "input". Do you have the csv's in the correct directory? Best, Jiri
  20. Solo712

    Getting UK postcode using address

    It's Vladimir. Like Putin. :) Best, Jiri
Back
Top Bottom