Search results

  1. J

    How to detect same name

    Thank you for your reply! I am a newbie, I don't know how to do and what is Allen's code, would you please get me an example. Thank you!!!!!!!!!!!!!!! Please.
  2. J

    How to detect same name

    Hi: I need help. the Members table has member's personal information including "first name" and "given name", it is possible to have more than one person with same first name and given name. When I am using the Form to enter members information, how to detect the members who has same first...
  3. J

    For...Next statement and convert strint to currency

    Hi, r.harrison thank you for your help, it is still not work, but I did some test, the result are enlightened, maybe can help you to solve my problem. thank!!!!!!!!!! I think it can't check the text box "" or not"" within the opened recordset, check it after the procedure done and do it on the...
  4. J

    For...Next statement and convert strint to currency

    this time has a error message: Run time error '3021': Ether BOF or EOF is true, or the current record has been deleted. Requested operation requires a current record.
  5. J

    For...Next statement and convert strint to currency

    Hi: Both are not work, just work on recordset with value not null.
  6. J

    after run follow code can not add up

    Not work still stay null and uncalculable, can someone give me more help?
  7. J

    For...Next statement and convert strint to currency

    I tried many methods but never set $o.oo value on the null text box, how can I use the Null value text box as a calculable text box. Thank you!!!!!!!!!!!!! Private Sub CombYear_AfterUpdate() Dim strFundCode As String Dim i As Integer For i = 1 To 12 strFundCode = "GEN"...
  8. J

    after run follow code can not add up

    After I ran the follow code, some text box are blank because there are no records but I want to set it in $0.00 in order to be a added text box, I tried (if isnull("text box") then Me.text box=Ccur(0)), but it doesn't work. Why? Somebody can help????Thank you!!!!!!!!!!! Private Sub...
  9. J

    For...Next statement and convert strint to currency

    I need one more help on this code. If the controls are null, I want to put $0.00 on the Null controls because I will add all the controls value up at the end. If the controls are null will cause the error. thank you!!!!!!!!!!!
  10. J

    For...Next statement and convert strint to currency

    thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  11. J

    For...Next statement and convert strint to currency

    For...Next statement and convert string to currency How can I combine three groups of 'For..Next" statements into one Statement and convert the "total" form string to currency. thank you!!! Private Sub CombYear_AfterUpdate() Dim conn As ADODB.Connection Dim rst As New ADODB.Recordset Dim...
  12. J

    Text box cannot catch the value from Array?

    Galaxiom, thank you! I am a new guy to learn VBA, thank you for your suggestion.
  13. J

    Text box cannot catch the value from Array?

    Private Sub Form_Load() Dim conn As ADODB.Connection Dim rst As New ADODB.Recordset Dim sql As String Dim total As Double Set conn = CurrentProject.Connection For i = 1 To 2 sql = "select sum([Offering Query].[Among]) from [Offering Query] where [Offering Query].[FundCode]='GEN'" & _ "and...
  14. J

    filter form by specific date from text box

    Hi! has a syntax error, can you help me most.
  15. J

    filter form by specific date from text box

    Hi: Please tell me what's wrong on the following, the beging date is ok but the end date is error. If put actual date instead, the statement will be ok. why? Dim LSQL As String LSQL = "Select * from [Offering] where [Offering].[OfferDate]" & _ "between #" & Format(Me("TxtBeginDate").Value...
  16. J

    delete two record in different table with one sql statement

    How to delete two related records in two tables with one sql statement, please correct it. Thank you!!!!! Private Sub delete_Click() Dim conn As ADODB.Connection Dim rst As New ADODB.Recordset Dim cmd As ADODB.Command Dim sql As String Set conn = CurrentProject.Connection Set cmd = New...
  17. J

    Access form Problem

    thank you again!
  18. J

    Access form Problem

    thank you!!! Can you tell me why? I am a new guy on Access.
  19. J

    Access form Problem

    on the red, if instead by the true value(family ID on the record) then it will work fine or randomly typing down any word then it will pop up a box saying "enter parameter value", if I type down value of family ID then it will work fine as well. But it is not what I want. I would like dynamic...
  20. J

    Question Please tell me what wrong

    The following work on the combo box Private Sub Given_Name_AfterUpdate() Dim conn As ADODB.Connection Dim rstset As New ADODB.Recordset Dim sql As String Set conn = CurrentProject.Connection sql = "select [Members ID and Name Query].[Member ID] from [Members ID and Name Query] where" _ &...
Back
Top Bottom