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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by reevda

  1. reevda

    datastore create() function help

    Try it this: 1) create a datawindow and save it (dw_test) 2) datastore lds lds = create datastore lds.dataobject = "dw_test" lds.SetTransObject( SQLCA_2 ) lds.Retrieve() 3) don't forget to destroy it when finished destroy lds
  2. reevda

    Avoid database connection when DataWindow is open for editing

    In the menu try: Design -> Option -> "General" tab, deselect "retrieve on preview".
  3. reevda

    datawindow question

    Hi Try this: long ll_rows, i integer li_del ll_rows = dw_3.RowCount() for i = 1 to ll_rows li_del = adw.GetItemString(i, "mark") if li_del = "y" then adw.DeleteRow(i) i-- ll_rows-- end if next
  4. reevda

    Accepting command line argument

    Try this run( "c:\program files\internet explorer\iexplore.exe http://www.yahoo.com")
  5. reevda

    SELECT STATEMENT

    Hi Kido, If you use SQL Server, try this: select c1, sum(isnull(case c4 when 'T' then c2 end,0) ) as C2_T, sum(isnull(case c4 when 'X' then c2 end,0) ) as C2_X, sum(isnull(case c4 when 'T' then c3 end,0) ) as C3_T, sum(isnull(case c4 when 'X' then c3 end,0) ) as C3_X from __test group by c1...
  6. reevda

    PB7 datawindow saveas function to Excel cannot exceed 255 characters

    I use a grid dw, not a freeform (can't read format). But if i use a freeform, the type is "char(4099)".
  7. reevda

    PB7 datawindow saveas function to Excel cannot exceed 255 characters

    Hi, i recetly had the same problem. I noticed that if the column > 255 on the DB, the datawindow retrieves only the first 255 char. The solution i found is to convert the column type to text. You must disable and enable the column in your datawindow again, and it should be ok.
  8. reevda

    how to clear dddw column when data is rejected

    Hi, try this: dw_1.AccepTtext // at the begining of then itemchange event.
  9. reevda

    OBTAIN THE SELECT FROM A DATAWINDOWCHILD

    Have you tried this: dw_header.getsqlselect( ) ?
  10. reevda

    semi-automatic filling dddw field

    I'm going to set the dddw to not editable. Thanks DR
  11. reevda

    semi-automatic filling dddw field

    Hi, I have a dddw field, and i would like that when the user types the first letters, this field gets automaticaly filled with a proposition (ex: user types "Eu", the field proposes "Europe" which is in the dddw list). PS: the field is allowed to editing. Can someone help? thanks DR
  12. reevda

    OLE command to move an excel sheet

    Hi everybody, Trying unsuccessfully to find the correct syntax to move a sheet in excel through OLE. (PB 8.02 with WXP pro.) Code which is ok: ---------------- xlapp.Application.ActiveWorkbook.Worksheets.Add xlapp.Application.ActiveWorkbook.Worksheets("sheet1").Name = "last" xlsub =...
  13. reevda

    Closing Cursor error

    No need to close the cursor if executed in pb. Automatic delete @ end of transaction.
  14. reevda

    DW scroll problem!

    Hi, did you check the Live scrolling option in the DW propriety ? Or try this line in a script dw_result.LiveScroll = true
  15. reevda

    How get objects of a datawindow

    Thanks forthe tip, it works. bye DR

Part and Inventory Search

Back
Top