Search results

  1. MajP

    ItemGenie location address

    Here is the fix Public Sub RecurseIGTree(Optional ByVal ParentID As Variant = Null, Optional RS As dao.Recordset = Nothing, Optional ByVal Path As String = "") 'This assigns the levels and tree sort 'if the top level parent ID is null do not pass in anything Dim strCriteria As String...
  2. MajP

    ItemGenie location address

    Let me redo that. I can see that is not correct for the dining room shelves.
  3. MajP

    ItemGenie location address

    There are two ways to do this. You can leverage the tree once it is loaded or you can do a recursive loop of the data. The E2E uses the tree, but it is kind of clunky. I used an intermediate dictionary to hold the values so I did not have to do it recursively. Here is a more generic method...
  4. MajP

    Getting an error 3825, complaining about multi-valued fields, but none are involved.

    Since you do not specify any columns are your completely sure that all the fields line up and same data type?
  5. MajP

    Getting an error 3825, complaining about multi-valued fields, but none are involved.

    Any chance there is an attachment field? Which is a MV field but many people do not call it one so might not have been recognized as one.
  6. MajP

    ItemGenie location address

    No, in fact I demo this concept in several places In this image the "paragraph" outline numbering is done this way by a recursive call. As you move the node it recreates the outline number (location) TopLevel.Child.grandchild.greatgranchild........levelOrder...
  7. MajP

    Getting an error 3825, complaining about multi-valued fields, but none are involved.

    Should that be of the form INSERT INTO external_table IN 'C:\Path\To\ExternalDB.accdb ... not INSERT INTO '[C:\Path\To\ExternalDB.accdb].[tableName]'... https://support.microsoft.com/en-us/office/insert-into-statement-e12fd58b-33b1-479c-8221-e9f245ab8d24
  8. MajP

    Variable assignment not working.

    What you describe seems strange, but out of curiosity does this give the same error? in your module where you declare you global what if you did something like Public glblRRE as RegExp Public Function getRRE() as RegExp if glblRRE is nothing then set glblRRE = new RegExp set getRRE =...
  9. MajP

    Solved Using ACCESS, WORD and OUTLOOK to send bulk E-Mails

    Although Chat will probably give better info now a days, here is some simple Word automation to import and export to Word. https://www.access-programmers.co.uk/forums/threads/get-data-from-word-table.320386/post-1853433
  10. MajP

    Solved Data entry creates a new client

    Again it may be fine the way you have it. By now we have a little better ID of what this is, but it was never explained how transactions, relate to UCAs, to budget. You would only need an intermediate table if there was a requirement to group transactions for a customer and that group of...
  11. MajP

    Solved Data entry creates a new client

    As Mark said you have to look at your business process. I do not know your business, but I would think that the answer is yes. You create a receipt something like TblReceipt -ReceiptNumber -ReceiptDate -ReceiptDescription -ClientID_FK (relates to tblDemoClients) Then you assign transactions...
  12. MajP

    Solved Data entry creates a new client

    No it is not correct. The client name combobox is bound and chooses a value from a combobox pulling in existing values. That makes no sense, even if this is not set to data entry. You could make it a text box as I did but it should not be editable since you are adding from the pop up instead.
  13. MajP

    Solved Data entry creates a new client

    See demo. You can search for existing clients and add transactions. Your table relationship is simply Clients to transaction, but no intermediate table. Normally you have something like a Receipt table. That has a ClientID and things like receipt date. Then inside the receipt are multiple...
  14. MajP

    Solved Data entry creates a new client

    Yes. However, are you suggesting that for a given client they can only have a single revenue receipt? If not you tables are not designed to allow one client to have more than one revenue receipt.
  15. MajP

    Solved Data entry creates a new client

    That is because the field is bound. When you open the form it is open to a new record. When you select a name it puts it in the clientname field which is a bound field. If you want to move to an existing client then that field should be unbound with code to find that client. But then you will...
  16. MajP

    Solved Using ACCESS, WORD and OUTLOOK to send bulk E-Mails

    To me the error is still strange. If I try to create and object that I cannot create I would expect this. I should get that error when I do this.
  17. MajP

    Solved Using ACCESS, WORD and OUTLOOK to send bulk E-Mails

    If you are using "new" (web based outlook) you have bigger problems than that.
  18. MajP

    Solved Using ACCESS, WORD and OUTLOOK to send bulk E-Mails

    Or try a decompile / recompile and see if then you can get it to compile. https://www.fmsinc.com/MicrosoftAccess/Performance/Decompile.asp
  19. MajP

    Solved Using ACCESS, WORD and OUTLOOK to send bulk E-Mails

    Not from what you are showing. If you defined a constant with the CONST keyword and then tried to reassign a value you would get that error, but that is not what you are doing. So I guess it is a bogus error message. Sometimes when things do not compile you can get weird errors. I would...
  20. MajP

    DEMO: How to display different background colours on a Continuous type form.

    Also I am not sure if there ever was ever a bug. That thread has a work around because the OP caused the problem. @AHeyne points this out here...
Back
Top Bottom