Search results

  1. P

    query sql word convert into vba code

    I have a cross query which works well, it is: TRANSFORM Sum(t.stockqty) AS sumofstockqty SELECT t.pncode, t.unit FROM [SELECT querystock.pncode, querystock.unit, querystock.stockDate, querystock.PO, querystock.stockqty FROM querystock UNION ALL select 'Total' as pncode,null as...
  2. P

    could you please correct my following code

    thanks for all the help from this forum! I have solved the problem, and the idea is from the replies of the teachers here.
  3. P

    could you please correct my following code

    still waiting for help......:(
  4. P

    could you please correct my following code

    James, it doesn't work neither. actually I 've worked on this for over 10 hours. [sdate] is only a variant the table don't have this field.
  5. P

    could you please correct my following code

    I know it should be 'sdate', and I've tried, but there's no reaction at all; I checked sdate=20100607; why you say it is 5 characters?
  6. P

    could you please correct my following code

    thanks for your help. what would be the correct expression then?
  7. P

    could you please correct my following code

    After a textbox ("Name") I need a serial number in my form, so I write the following on the afterUpdate event of name: ************* Dim sdate As String Dim sNum As Integer sdate = Format(Date, "yyyymmdd") sNum = DMax("mid([dtjm],3,3)", "aa", "Right([dtjm],8)= sdate") If...
Back
Top Bottom