If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > Scan in Paradox 4.5 to increment a field

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-07, 17:24
rbenson41 rbenson41 is offline
Registered User
 
Join Date: Nov 2007
Posts: 1
Scan in Paradox 4.5 to increment a field

I am trying to remember how to do a scan in Paradox 4.5 that increments a field. I remember that you need to edit the table and hit alt-f10 to bring up a mini script. I have tried "scan a=1 a=a+1 a=[] endscan, but it only steps through the table without incrementing the field.

Any help would be appreciated.



rbenson41
Reply With Quote
  #2 (permalink)  
Old 12-08-07, 11:25
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 273
> I am trying to remember how to do a scan in Paradox 4.5 that increments a field


x = 1
scan
[myfield] = x
x = x + 1
endscan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On