Normal Topic Non-Repeating Values with Printstring (Read 442 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Non-Repeating Values with Printstring
Jul 17th, 2009 at 6:25pm
Print Post Print Post  
Hello!
I would like to use the printstring to print the  Subform  Data as  a table und  would like to have  the first column with non-Repeating Values.

Thanks for your help.

Dr. Belhareth
  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Non-Repeating Values with Printstring
Reply #1 - Jul 18th, 2009 at 1:55am
Print Post Print Post  
I assume you mean that you want the first column to be blank if the value matches the value in that column from the previous row.

Here it is in psuedocode:
Code
Select All
if(new_value = old_value)
{
    print_value = ""
}
else
{
    print_value = new_value
    old_value = new_value
}
PrintString(print_value, ...)
 



Your use will have to be somewhat more complicated than that to assemble the string to be printed. But that is the basic logic.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged