Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Codebase > Re: Tags, blank...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 227 of 310
Post > Topic >>

Re: Tags, blanks, and seeking

by "Neil Devlin" <NDevlin@[EMAIL PROTECTED] > Dec 29, 2005 at 08:31 PM

The search will have to be as follows:

char tmp[32];
sprintf(tmp,"%-15s%-15s",first,second)
Data4.seek(tmp);


Neil

"NerdRunner" <sseverson@[EMAIL PROTECTED]
> wrote in message 
news:1135710273.047233.115070@[EMAIL PROTECTED]
>I have several tables where tags on multiple fields (concatenated) are
> required.  When I create the tag, are the blanks in the fields
> maintained?  For example, I have two fields that can contain up to 15
> characaters each.  The data stored in these fields contains my value
> plus blanks to make up 15 characters.  A tag created on these
> fields...will it maintain the blanks or eliminate blanks?
>
> Example
> Field 1 and Field 2 are of length 15 and are character/text fields
>
> The tag expression is Field1+Field2.
>
> Field1     Field2
> 123456   abcdef
>
> Does the tag contain 123456abcdef or 123456         abcdef         ?
> How would I perform a seek using this tag?
>
 




 2 Posts in Topic:
Tags, blanks, and seeking
"NerdRunner" &l  2005-12-27 11:04:33 
Re: Tags, blanks, and seeking
"Neil Devlin" &  2005-12-29 20:31:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 11:08:32 CST 2008.