dbTalk Databases Forums  

2.5/DOS browse column widths

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss 2.5/DOS browse column widths in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul bouchard
 
Posts: n/a

Default 2.5/DOS browse column widths - 01-25-2004 , 08:15 AM






In 2.5 for DOS the command "browse fields A:6,B,C,D" will show only
the first 6 characters of field A, and all of fields B,C,D. Is there a
way to show only the last 6 characters of field A rather than the
first 6 characters? Thanks in advance for any help anyone can offer.

Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: 2.5/DOS browse column widths - 01-26-2004 , 09:34 AM






Paul,
As long as you don't need to update that data, try:
browse fields A:6,end6A=right(A,6):6,B,C,D

If you want only the last non-blank characters, then try:
browse fields A:6,end6A=right(rtrim(A),6):6,B,C,D

Rick

"Paul bouchard" <paulbouchard (AT) pobox (DOT) com> wrote

Quote:
In 2.5 for DOS the command "browse fields A:6,B,C,D" will show only
the first 6 characters of field A, and all of fields B,C,D. Is there a
way to show only the last 6 characters of field A rather than the
first 6 characters? Thanks in advance for any help anyone can offer.

Reply With Quote
  #3  
Old   
Paul bouchard
 
Posts: n/a

Default Re: 2.5/DOS browse column widths - 01-30-2004 , 08:32 AM



"Rick Bean" <rgbean (AT) NOSPAMmelange-inc (DOT) com> wrote

Quote:
Paul,
As long as you don't need to update that data, try:
browse fields A:6,end6A=right(A,6):6,B,C,D

If you want only the last non-blank characters, then try:
browse fields A:6,end6A=right(rtrim(A),6):6,B,C,D

Rick

"Paul bouchard" <paulbouchard (AT) pobox (DOT) com> wrote in message
news:9b1618d.0401250615.783aab46 (AT) posting (DOT) google.com...
In 2.5 for DOS the command "browse fields A:6,B,C,D" will show only
the first 6 characters of field A, and all of fields B,C,D. Is there a
way to show only the last 6 characters of field A rather than the
first 6 characters? Thanks in advance for any help anyone can offer.
Hi Rick:

Thanks a million for solving my problem. I just tried it, and it works
just like you said it would. Wow! I'm very impressed with this site.
I'll keep checking it. I'd like to be able to help someone else
sometime, but that is probably not very likely. I certainly appreciate
your help -- thanks and God bless.

Paul


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.