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 strongm 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: *

  1. Rock4J

    SQL debit & credit from amount (with negative and positive sign)

    ...gl in 1 local nbal select tr_date,entry_ref,desc,source_cd,ref1,ref2,acct_no, ; iif(amount>0, amount, 0000000.00) as debit, ; iif(amount<0, amount*-1, 0000000.00) as credit, ; 000000.000 as balance ; && my foxpro program version might be older from transact order by acct_no,tr_date COPY TO...
  2. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    ...: local nbal select tr_date,entry_ref,desc,source_cd,ref1,ref2,acct_no, ; iif(amount>0, amount, 0000000.00) as debit, ; iif(amount<0, amount*-1, 0000000.00) as credit, ; 0 as balance ; from 'c:\documents and settings\administrator\desktop\transact.dbf' order by acct_no,tr_date COPY TO...
  3. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    ...code is correct: select tr_date,entry_ref,desc,source_cd,ref1,ref2,acct_no, ; iif(amount>0, amount, 0000000.00) as debit, ; iif(amount<0, amount*-1, 0000000.00) as credit, ; 0 as balance ; from transact order by acct_no,tr_date COPY TO "c:\documents and...
  4. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    Thanks Olaf, I need some time to create the code. I'm confused to work with both transact.dbf and account.dbf at the same time (key: acct_no). I'm don't much knowledge in this. I do understand the scan code is something like do-until/while-loop in vb classic. Regards, Rocky
  5. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    What I'm trying to do is actually, exporting the query result into excel, because the original program are written in DBASE programming and I don't have any knowledge about DBASE programming. That's why I hope at least I could get the data for the DBF tables using Foxpro Command windows. :)...
  6. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    Thanks again Olaf ! :) Does the scan code can be done in the COMMAND windows ? I found a code like this: Local nBal nBal = account.ytd_bal Select cards Go top Scan nBal = nBal + debit - credit replace balance with nBal endscan go top but I do not know how to implement it in the...
  7. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    Thanks so much Olaf for the clear explanation and alternatives. :) Regards, Rocky
  8. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    ...; transact.ref2,transact.acct_no, iif(transact.amount>0, transact.amount, 0000000000.00) as debit, ; iif(transact.amount<0, transact.amount*-1, 0000000000.00) as credit, ; INCREASING_VALUE_FROM_YTD_BAL as balance ; from transact ; INNER JOIN Account on transact.acct_no = account.acct_no ...
  9. Rock4J

    SQL debit &amp; credit from amount (with negative and positive sign)

    ...My SQL Code is like this: select tr_date,entry_ref,desc,source_cd,ref1,ref2,acct_no, ; iif(amount>0, amount, 0) as debit, ; iif(amount<0, amount*-1, 0) as credit, ; 0 as balance ; from transact order by acct_no,tr_date But unfortunately the field for "Debit" do not show any amount, but...
  10. Rock4J

    ASP Classic - Form to MDB Database (Error 0x80004005)

    Wow ! it works XWB .. Thanks so much.. [thumbsup2] By the way, I'm still using XP too. Regards, Rockyhttp://files.engineering.com/getfile.aspx?folder=6d639303-6a13-45a2-b657-4b465dff8c87&file=inserted_successfully.JPG
  11. Rock4J

    ASP Classic - Form to MDB Database (Error 0x80004005)

    Hi, I try to learn a tutorial to send data from a html form to MDB database but I receive this error: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /MyWeb/form_to_database/add_to_database.asp, line 35 The code is like this: 1. form.htm...
  12. Rock4J

    ASP Classic - Form to MDB Database (Error 0x80004005)

    Thanks jbenson001 ! Regards, Rocky
  13. Rock4J

    ASP Classic - Form to MDB Database (Error 0x80004005)

    Hi, I try to learn a tutorial to send data from a html form to MDB database but I receive this error: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /MyWeb/form_to_database/add_to_database.asp, line 35 The code is like this: 1. form.htm...
  14. Rock4J

    Could not find TREE on Windows XP Mode (in Windows 7)

    YES !!! FINALLY I GOT IT !! Woohooooo!!!! xD It's my mistake.. I use the same COMPUTER NAME for both the windows 7 and Windows XP Mode.. LMAO!!! Silly me.. xD Regards, Rocky
  15. Rock4J

    Could not find TREE on Windows XP Mode (in Windows 7)

    Ok, I have solved this problem myself. And I want to share the solution. It might helpful for somebody else in the future, 1. Run the Windows XP Mode 2. Click on "Tools" at the top menu and select "Settings" 3. Click on "Networking" and change the "Adapater 1" value appropriately. (I prefer to...
  16. Rock4J

    Could not find TREE on Windows XP Mode (in Windows 7)

    Hi there, I have a new computer with Windows 7 Pro operating system in my work place, The server is Novell 4x Server and I've been looking for a way to use Novell Client software from Windows 7 and I've read about Windows Virtual PC and Windows XP Mode. I have installed Windows XP Mode on the...
  17. Rock4J

    Acer Aspire 4730Z - Could not switched on after contact with water

    Thanks rclarke250.. I really appreciate that.. :) Regards, Rocky
  18. Rock4J

    Acer Aspire 4730Z - Could not switched on after contact with water

    Hi, I want to know if the notebook still can be rescued after contact/flowed (sorry, my english is weak) with water due to chilling problem. Please view the picture that I have attached. Please tell me if the notebook still can repaired if i change the switch panel. Any help or info are...
  19. Rock4J

    What does Calculate Sum(Val(Evaluate(My_Var))) stand for?

    Alright Olaf, I get it. Thanks so much.. :) By the way, here is what I get about the GoApp: GoApp in the main program code is goApp=CREATEOBJECT("cApplication") And, goApp.Fld_Epfno = Config.Fld_Epfno Where 'Config' is a Table which have a field named 'Fld_Epfno' which store a...
  20. Rock4J

    What does Calculate Sum(Val(Evaluate(My_Var))) stand for?

    I set My_Var Type as Long.. I will check goApp.fld_Epfno too in the meanwhile.. :D Regards, Rocky

Part and Inventory Search

Back
Top