RE: Coding Help Needed!!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Paul B. (PaulB_at_discussions.microsoft.com)
Date: 03/09/05


Date: Wed, 9 Mar 2005 12:19:04 -0800

I don't think there is any way of putting two seperate pieces of data into
one field. I'm still learning this myself, so please take this with a grain
of salt.

Why not create a second field for 'Producer2'. Then you could test for a nul
value when you go to figure out if you need to split commissions.

Alternately, maybe you could concatenate the string names into one string. I
don't know if this would work, only a guess, but then you would have to
seperate the string if possible, and then figure out your math for splitting.

Like I said, I'm no expert, just something to think about.

"Sky Warren" wrote:

> Hello all,
>
> I have a table "Application" where sometimes two agents share equally in a
> insurance application. I need to divide percentage between them equally so
> both agents get a fifty, fifty slice.
>
> Right now I have a combo box that I select an agent name from. I can add one
> or the other, but not both agents names without filling out a whole new
> application record.
>
> Here's what I would like to do:
>
> 1. Add first agent into the "Producer" field to create the first record.
> 2. Add second agent into the "Producer" field and make this a second.
>
> I hope I explained this right, and I hope this can be achieved too!
>
> Thanks in advance...
>
> -Sky



Relevant Pages

  • Re: Some questions about decode/encode
    ... way to seperate the words. ... string, how did it determine to seperate the string every 2bytes ... a precise mapping between characters and bytes. ... while cur < len: ...
    (comp.lang.python)
  • determine col num from column headers
    ... seperate 'colheader' string array and the data matrix. ... string from each file in the data set to be certain the ...
    (comp.soft-sys.matlab)
  • Re: SP/FN help with Strings
    ... however,my problem is how do we extract the string values ... seperate COLUMNS. ... holding the new seperated string values. ... >> multiple values with a comma deilimiter. ...
    (microsoft.public.sqlserver.datawarehouse)
  • Re: Reading Words from File
    ... > I want to read in lines from a file and then seperate the words so i ... > candidate for the Supreme Court and assured skeptical conservatives ... > that his lawyer... ... With no idea the length of any string or line or whitespace. ...
    (comp.lang.c)
  • Re: display this comma delimited text ??
    ... How would I step through that string and seperate the words by the ... M S Herfried K. Wagner ...
    (microsoft.public.dotnet.languages.vb)