User Profile

Collapse

Profile Sidebar

Collapse
DaAdmin
DaAdmin
Last Activity: Apr 8 '11, 11:51 AM
Joined: Jan 7 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I used your logic to figure it out, the answer in crystal would be simpler though,

    Code:
    stringvar array text;
    
    text := Split({lt_mtg_ins.pmi-pymt-ftrs}, ";");
    text[1]
    See more | Go to post

    Leave a comment:


  • DaAdmin
    started a topic Array not printing out beginning and end

    Array not printing out beginning and end

    This is a formula I am writing in Crystal Reports and vb is the closest thing to it so hopefully someone can figure this out.

    I am dealing with a long string that looks like 0.0055;0;0;0;0. It looks like an array but doesn;t act like on. For example, I only need the first value but if I ask for myArray[1], I get "0", myArray[2] yields ".", etc. So I created this for loop to get what I want:

    Code:
    
    
    ...
    See more | Go to post

  • DaAdmin
    started a topic OldValue function not working

    OldValue function not working

    I am making a Cancel button to close a form without saving. I check for changes in each control and if it changed I want to restore it to the old value, I get an error saying I can't assign value to this object. Here is my code

    [CODE=vb]Private Sub Cancel_Click()
    'Check for changes
    If Me.Dirty Then
    Dim ctrl As Control
    ' For each control.
    For Each ctrl In Me.Controls...
    See more | Go to post
    Last edited by Killer42; Jan 10 '08, 01:32 AM.
No activity results to display
Show More
Working...