To explain this more clearly, The table that I use was created using the Data
Architect.
The Table structure are as follows:

Table name: Batchm.adt
Index: Batchm.adi
Tagname: BATCHNO
Key Expression: BatchNo

Field Names           Type          Width          Dec

1. Skey                   AUT            4                  0
2. BatchNo             C                 6                  0
3. BatchDate           D                 4                  0
4. PrintID                I                  4                  0
5. FromValue          DOU           8                  4
6. ToValue              DOU           8                  4

and here is my test prg:

*----
#include "c:\harbour\include\ads.ch"

request ADS


PROCEDURE main
  rddSetDefault("ADS")
  AdsSetCharType(2,.T.)
  set server REMOTE
  set filetype to ADT
  set scoreboard off
  set exact on
  set softseek off
  set deleted off
  set date british
  set epoch to 1920
  set talk off
  use i:\batbook\data\BatchM alias t2 exclusive new
  IF neterr()
    alert("Error opening BatchM")
    QUIT
  ENDIF
  t2->(OrdSetFocus(0))
  t2->(DbGoTop())
  replace t2->PrintId with 100
  replace t2->FromValue with 355.55
  replace t2->ToValue with 1358.58
  close all
RETURN
*---

and this doesn't update those fields in the first record or any record if I 
move the record pointer.
BTW, I'm using ADS 8.1 on Windows 2003 server.

Thanks again,

Ed

-- 
View this message in context: 
http://www.nabble.com/Some-problems-with-.ADT-files-tp17200684p17219438.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to