Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ping99
  • Content: Threads
  • Order by date
  1. ping99

    Difference bewteen CE and BO

    Hi all, what is the difference between Crystal reports XI et Business Object XI ? TIA.
  2. ping99

    Get 3rd field from 2 previous 2 fields in Query

    Hi all, I have mytable with 2 fields ( Name1 and Name2 ) and want to get Newtable or newQuery with 1 field called Name3: blank and blank2 are fixed. if Name1 = blank then Name3 must = ccccc if Name1 = aaaaa then Name3 must = aaaaa if Name1 = blank then Name3 must = blank and not blank2...
  3. ping99

    IIF problem inside Select

    Hi all, I have a select SQL with more than 13 IIF inside that always gave an error message : Complex expression WHY ???? Maybe Access 2000 can handle only 13 IFF, Please give some advices or ideas how to solve the following Select : select iif(mid([fieldName],1,4)="0602","aaa"...
  4. ping99

    1 field become 2 fields in newtable

    Hi, I am a novice in VBA - Access coding : I have an oldtable in Access oldtable ( 1 field ) called amount with 2 records. amount 10000 (1st record) 20000 (2nd record) How to get a Newtable with 2 fields ( amount1 amount2 ) already created ? newtable ( 1 record with 2 fields ) amount1...
  5. ping99

    Update with record number

    Hi all, Is it possible to update with record number not with field name ? update mytable set field1 ="OK" where recno() = 1 ; I means here record number refering to index key 1,2,3,4 etc... index key 1 equal record 1 index key 2 equal record 2 TIA
  6. ping99

    How to get last 12 months date

    Hi all, I would like to get last 12 months date for example: 200609 to have 200506. ( year and month only ) I have tried this : year(now -360) & month(now - 12) gave me 2005-3 instead of 200506 Please assist or guide me. TIA
  7. ping99

    Compact a MDB

    Hi all, I used a tool - database utility - database compact always gave me an error message : '''Invalid Argument ''' and then kick off Please assist to explain WHY this happened ? TIA
  8. ping99

    Can not delete table

    Hi all, I can not delete a table in *.mdb and gave an error message: Database Engine Microsoft Jet can not find an object '~TMPCLP410071'. Can someone got this error before and how to resolve this problem, please assist me ? TIA
  9. ping99

    Maximum of fields

    Hi all, What is the maximum of fields in Access 2000 o 2003 in one single table we can create ? because I have a text file with 1200 fields to be imported into Access table. TIA
  10. ping99

    SAS to VBA module

    Hi all, I have the codes in SAS below in the module or function called Macro_test.sas '----------------------------------------------------------- 'Parameter: Basetest=test , Scoring=test10 , month=9 %macro Macro_test(Basetest= ,Scoring= , MONTH= ); libname mydata &Basetest; libname mydata2...
  11. ping99

    Import text file over 3 GB with SQLLoader into table

    Hi all, Is it possible to load a text flat file over 3 GB with SQLLoader into an oracle table ? I have tried with small flat file about 62 Kbytes which was worked fine but when try to load with 3 gb file the same structure, never worked. Please give some advice or ideas to result this...
  12. ping99

    Crosstab query help

    Hi all, I have tried this example from Microsoft help to create cross tab query for multiple values but not lucky enough to get the results expected because it confused me a lot where I see to figure out this line : Field: Expr1: Year([OrderDate]) & " " & "Order Total"...
  13. ping99

    Export several queries to Excel

    Hi all, I use this routine to export 2 queries to a single excel worksheet but always overwrite in the sheet1 with a second query below instead of having 2 sheets Public Sub export() DoCmd.OutputTo acOutputQuery, "qry - watchlistVP", acFormatXLS, "C:\temp\pme\pme_vb\watchlista.xls", 0...
  14. ping99

    IIF more 14 times, give error

    Hi all, I run this query that works fine but I add one more IIF means more than 14 IIF gave an error : WHY SELECT...
  15. ping99

    Transform table into crosstab query

    Hi all, I have mytable that had 5 fields: dateyearmonth typename cause numLoss totalloss 200601 flex aaaaa 10 1000 200602 flex aaaaa 20 2000 200603 flex aaaaa 30 3000 200604 flex aaaaa 40 4000 to get a new crosstab queries table with these results in SQL statment if possible: 200601...
  16. ping99

    Insert into does keep the same value

    Hi all, I try to insert a string value date into a temptable ACCESS table but changed to unexpected value : WHY ? dim strdate as string dim strsql as string strdate = "2006-04-30" strsql = " INSERT INTO TEMPTABLE(VDATE) VALUES ("&strdate&")" docmd.runsql(strsql) but always gave me the...
  17. ping99

    Open Access with ADO

    Hi all, I am newbie to ADO to open an NorthWind.mdb such as employee table . Can someone help me with the syntax in VB to do this ? Sqlstr = ' select * from employee ' TIA
  18. ping99

    Select top 3 within many groups

    Hi all, I have a mytable with 2 fields: team score AAAA 10 AAAA 12 AAAA 14 AAAA 16 AAAA 18 AAAA 20 AAAA 22 BBBB 11 BBBB 22 BBBB 33 BBBB 44 BBBB 55 BBBB 66 CCCC 22 CCCC 77 CCCC 88 CCCC 99 DDDD 10 DDDD 12 to have in mynewtable AT LEAST the top 3 in each team if that team has more than 3...
  19. ping99

    select to 3 within a group

    Hi all, I have a mytable with 2 fields: team score AAAA 10 AAAA 12 AAAA 14 AAAA 16 AAAA 18 AAAA 20 AAAA 22 BBBB 11 BBBB 22 BBBB 33 BBBB 44 BBBB 55 BBBB 66 CCCC 22 CCCC 77 CCCC 88 CCCC 99 DDDD 10 DDDD 12 to have in mynewtable AT LEAST the top 3 in each team if that team has more than 3...
  20. ping99

    delete all records with a same group

    Hi all, I have a mytable with 3 fields: team amount option AAAA 1000 NO AAAA 2000 YES AAAA 3000 NO AAAA 4000 NO BBBB 1000 NO BBBB -2000 YES BBBB 3000 NO BBBB 4000 NO CCCC 1000 NO DDDD 2000 NO EEEE 8000 NO EEEE -700 YES in order to have data after DELETE team amount option AAAA 1000 NO...

Part and Inventory Search

Back
Top