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 Chris Miller 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: SamC
  • Order by date
  1. SamC

    Update on Key Fields in partitioned Table

    Thanks Stefan, just tested. Worked fine. Sam
  2. SamC

    Update on Key Fields in partitioned Table

    Hello, sorry for the beginner question. My problem, i have a partitioned table. The Key Fields are somthing like FieldA and FieldB. Data is stored all went fine. Some time later i have to update the date of the key fields, cause i found an error i made while calculating the values of this...
  3. SamC

    DDE Conversation - Multiple Clients running

    Hi dx111ge, thanks for your response. I'm not sure i discribed my problem well. I have a format (dbsisissystem, hi Sven ;-)). This form has multiple fields. One of this fields is a fill-field. The ButtonID of the FillField is set to 1000. In the action of this butto is to start the external...
  4. SamC

    DDE Conversation - Multiple Clients running

    Hi, i'm new to PSC-programming/customizing and need a little help from the gurus. I want to transfer data from an external application to sc via dde. There is no prob as long as only one client is running on the machine. If more than one client is runnig only the last client started becomes...
  5. SamC

    Trigger problem

    hi cyberant, i would try to solve the problem with a procedure call to return the next generator value. then insert the received value in your insert statement.
  6. SamC

    TMemo to TDBMemo Delphi 4

    you can also use FieldByName('NOTES').AsString := Memo1.Text; Sam
  7. SamC

    using DBGrid to make changes to Interbase

    if you're accessing known data (table) you can DEFINE the needed statements at design-time via wizzard.
  8. SamC

    using DBGrid to make changes to Interbase

    that's right. the result is the same. but you'll get it without one line of code.
  9. SamC

    using DBGrid to make changes to Interbase

    i would think so. the whole edit and navigation stuff is handled by the VCL. the only thing you have to do is to configure the needed statements.(Insert,Modify,Delete,Refresh). if interested i could give you a short explanation.
  10. SamC

    using DBGrid to make changes to Interbase

    hi dazzled, what version of Delphi are you using? have you tried the TIBDataset?
  11. SamC

    InterBase delete

    hi dazzled, why dont't you just use a TIBquery to do the job? ibq.SQL.Text:='delete from customers where year="' + intTostr(form1.workingYear) + '";'); ibq.Transaction.StarTransaction; try ibq.ExecSQL; ibq.Transaction.Commit; except ibq.Transaction.Rollback; end;
  12. SamC

    Working with TWordDocument...

    hi joacir, the following code works for me. //------------------------------------------Connect it . . wapp->Connect(); wdoc->ConnectTo(wapp->ActiveDocument); . . //------------------------------------------Change it AnsiString s = &quot;<EMPFAENGER>&quot;; AnsiString d...
  13. SamC

    Working with TWordDocument...

    What are the Components? Office97, Office2k? Here is an ex. for Delphi7-Office2k. procedure TMainForm.ReplaceWordText(t, r: string; ra: boolean); var _text : OleVariant; _replacement: OleVariant; _replace : OleVariant; begin if (Assigned(wapp)) then begin _text :=...
  14. SamC

    Interbase Access without gds_db entry in Services

    Hi, is it possible for a client to access the ib-server without the entry gds_db 3050/tcp in the services? SamC
  15. SamC

    get the local shares

    sorry markus, in german i would say: ich war sehr dankbar für Dei Beispiel. es hat mir sehr geholfen. Ich wollte Dich nicht kritisieren. SamC
  16. SamC

    get the local shares

    hi markus, thanks for the example. i've changed it a little and now i've got it. great. SHARE_INFO_2 = record shi2_netname : PWideChar; shi2_type : DWORD; shi2_remark : PWideChar; shi2_permissions : DWORD; shi2_max_uses : DWORD...
  17. SamC

    get the local shares

    thanx for your replies, markus: please can you give me a short example. in the help there is only a link to WNetEnumResources and a comment '...is obsolete.' i need something like the result of 'net share'. SamC
  18. SamC

    get the local shares

    hi, i need to query the local shares of the computer the prg is running on. Is there an API-Call to do this?
  19. SamC

    Write directly to COM1 in Windows 2000

    //--------------------------------------------------------------------------- void __fastcall TForm1::OpenTray() { //Kasse auf Knopfdruck öffnen unsigned long res=0; unsigned int i =0; HANDLE com=CreateFile(&quot;COM1&quot;,GENERIC_WRITE,0,NULL,OPEN_EXISTING...
  20. SamC

    Conversion From Interbase 5.5 to Interbase 6.0

    if you are using IBConsole to access your data you can define an alias ('Register Database') for your db. there you can choose 'Database Dialect'. in ddl it's 'SET SQL DIALECT 1'. what is the way you access your data?

Part and Inventory Search

Back
Top