Recent content by maikon

  1. maikon

    SQL returns "not into" other query

    Hi people, Do exists a way to a query return what doesn't into other query? For example: SELECT * FROM table WHERE "NOT INTO" (SELECT * FROM table WHERE ... ) Someone understood?! Thanks a lot!
  2. maikon

    2 table query problem

    Please see it: https://www.access-programmers.co.uk/forums.xf/index.php?posts/354939/
  3. maikon

    Enlighten me please...

    Well, if I understood what do you want... Sub AddButton() Dim a, b, c as String a = TextBox1 b = TextBox2 c = TextBox3 DoCmd.GoToRecord , , acNewRec TextBox1 = a TextBox2 = b TextBox3 = c End Sub
  4. maikon

    Show a pop up box when report shows null values returned

    Did you try something like: Sub Report_Load() If Report = Null Then OtherReport.Show End Sub It's an idea..........
  5. maikon

    Just getting started and need help

    Well, I've a recomendation to you: The better place to you begin your research is on the Access help. Start your job, and when you have a question come to here and share your doubts. Good Luck.
  6. maikon

    filter query returns same value every time!!

    I guess you need to requery your query... For example: TextBox1.Requery []s
  7. maikon

    Form objects...

    Well, I guess something in this way could functions: Sub Form_Load() Dim MyControl as Control MyControlList.Clear 'MyControlList is a ComboBox For Each MyControl in MyForm.Controls MyControlList.Add MyControl.Name Next MyControl End Sub After this, you can create a button...
  8. maikon

    Remove "Enter Parameter Value"

    It's function: SELECT [Customer Table].CustomerID, [Customer Table].Name, [Customer Table].Address, [Customer Table].Telephone, [Customer Table].Email, [Customer Table].Company FROM ([Customer Product] INNER JOIN [Customer Table] ON [Customer Product].CustomerID = [Customer Table].CustomerID)...
  9. maikon

    Me.Undo leave autoincrement !?!

    Frankly, I don't need accurately sequential number, but I thought I didn't need to waste that numbers that autoincrement waste everytime I locate the table in a new record...
  10. maikon

    Refresh form from report

    Try it: Form_frmMain.subWebLCSel.Requery Why: "Form_frmMain" is the VBA form name, and not the access form name (normally frmMain). []s
  11. maikon

    Requery SubForm

    What's the sCriteria function? I think "Where 1=1" always returns an error... Please, say what do you want with your code...
  12. maikon

    Obtain first two words in memo field

    Jo, I did that code quikly, but appearly functions... Private Sub Command0_Click() FirstSpace = InStr(1, Text0, " ") FirstWord = Left(Text0, FirstSpace - 1) SecondSpace = InStr(FirstSpace + 1, Text0, " ") SecondWord = Mid(Text0, FirstSpace, SecondSpace - FirstSpace) MsgBox...
  13. maikon

    Please help!

    If I understood, you want go to other form, to include a new customer type, is it? If yes, you can put in your form package a combobox to list the registered customer types, and if user don't found the customer type, he click on "New Customer Type" button and register a new record.
  14. maikon

    Me.Undo leave autoincrement !?!

    Hi there, I've a button that position the table on a new record: DoCmd.GoToRecord , , acNewRec And I create a button to cancel that action: Me.Undo But the code field (autoincrement) continues autoincrementing! Explaning: 1. I click on "Add" button 2. The table's positioned on...
  15. maikon

    Synchronize a combo-box and a text box

    You can use that code: Sub ShowDate() 'Don't forget to define the YourComboBox.RowSource to YourTable Set x = YourForm.RecordsetClone x.FindFirst "[YourCodeField] = " & YourComboBox If Not x.EOF Then YourForm.Bookmark = x.Bookmark End Sub Call that Sub on the YourComboBox...
Back
Top Bottom