Search results

  1. A

    Trouble retrieving data from two tables

    I have a parts order form to suppliers and the order form is made up of item lines. The Order header and the order item lines are linked by the order number. My problem is I have some fields on the item line that are not on the order header and I want to create a file that has all the Orders...
  2. A

    Using vba to change a SELECT statement initiated by the user

    I have a continuous list of records, I want to change the selection criteria . How can I do it in vba. SELECT Orders.OrdersId, Orders.OrderNo, Orders.Arrived, Orders.DateArrived, Orders.AdditionalComments, Orders.OrderInstructions, Orders.Supplier, Orders.DateOrdered FROM Orders ORDER BY...
  3. A

    I keep getting a syntax error 3075 missing operator

    I found your code jdraw and don't think it suits my needs
  4. A

    I keep getting a syntax error 3075 missing operator

    I now get the above error. It's because the field Description is a Long Text field. How can I get around it
  5. A

    I keep getting a syntax error 3075 missing operator

    Private Sub Form_Current() ' ----- I need to find the latest Contact Log entry for this matter Me.CLogIdFld = DMax("MatterContactsMadeId", "[MatterContactsMade]", "[MatterId] = " & Me.MatterIdFld) Me.DescriptionFld = DLookup("Description", "MatterContactsMade", "[MatterContactMadeId] = " &...
  6. A

    Subform not showing enteries until I activate something on the subform

    I have a subform related to the parent, I also have an add new record button on the subform. The subform won't display all the transactions until I attempt to add a new record, When I click on the Add bNew Record button all the transactions that should be on the subform are displayed. Can...
  7. A

    Code to format email message body text

    Thanks guys I eventual used automation and sent the emails out without Outlook. I used the following code Public Function CreateEmailWithOutlook( _ MessageTo As String, _ Subject As String, _ MessageBody As String) ' Define app variable and get Outlook using the "New" keyword...
  8. A

    DoCmd SendObject - send an email with a richtext formatted field - not working

    Thanks guys , I have tried acFormatRTF and acFormatHTML same result. The text comes out with all the html code DoCmd.SendObject , , acFormatHTML, varName, varCC, , varSubject, varBody, False, False DoCmd.SendObject , , acFormatRTF, varName, varCC, , varSubject, varBody, False, False
  9. A

    DoCmd SendObject - send an email with a richtext formatted field - not working

    The table filed is specified as Rich Text, the same field on the form is specified as Rich Text. When I include the field in the body of the message I have all the html showing I use DoCmd.SendObject , , acFormatRTF, varName, varCC, , varSubject, varBody, False, False Any help would be great
  10. A

    I open a form from within a form and the new form goes in the background ???

    I want open a new form (B) when I'm in a form (B) that's open. Form (B) is opened in the background --- why ? I want it to open on top I know this is a simple thing - any hel[p would be appreciated
  11. A

    I have a syntax problem with a simple expression

    Thanks arnelgp. I should have tried that. I feel a bit embarrassed about putting up such a trivial request. I was making the problem bigger than what it was. Thanks again for your solution (y) :)
  12. A

    I have a syntax problem with a simple expression

    I want to concatenate an extra email address (from a variable) to the following variable Me.ToEmailFld = "nick@onegrp.com.au; & """ Me.InitiatedByEmail"""" any help please
  13. A

    Feeding a Combo Box from another combo box

    I reverted to only one combo box and it's now OK Thanks theDBguy :)
  14. A

    Feeding a Combo Box from another combo box

    I have two combo box and their source is the same table ComboBox 1 Control Source = PartNo Row Source = SELECT Parts.PartsId, Parts.PartNumber, Parts.Description FROM Parts WHERE (((Parts.PartNumber)<>" ")) ORDER BY Parts.PartNumber; ComboBox 2 ComboBox 1 Control Source = Description Row...
  15. A

    My Subform will not recognise past transactions

    arnelgp you were spot on - thank and everyone else who helped (y)
  16. A

    My Subform will not recognise past transactions

    I have the parent and child relationship on the right fields for both files. I can add a record into the subform - no problem. I check the source file to the subform and the new record is there and correct. I can run the query datasheet view for the subform and manually enter the criteria and I...
  17. A

    Subform not showing records

    WOW theDBguy - you were right onto it. OrdersSubform Data SourceObject - OrdersSubform Link Master Fields - OrderNo Link Child Fields - OrderNo Filter On Empty Master - Yes Enabled - Yes Locked - No
  18. A

    Subform not showing records

    I have the parent and child relationship on the right fields for both files. I can add a record into the subform - no problem. I check the source file to the subform and the new record is there and correct. I can run the query datasheet view for the subform and manually enter the criteria and I...
  19. A

    Closing your data base

    Thank you very much "The Doc Man" ours is a Monolithic Database with 16 users on a network. You have answered my question perfectly and and the other scenarios are good knowledge for our future development and expansion. Once again thank you :)
Back
Top Bottom