| Data Bases > Xbase Codebase > Re: Tags, blank... |
|
| << 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:
|
"NerdRunner" &l |
2005-12-27 11:04:33 |
|
"Neil Devlin" & |
2005-12-29 20:31:21 |
|
Post A Reply:

|