Hi Jim,

Open the form in the designer. Select off of the menu across the top 
"Variable" then "Edit" from drop down. Then highlight the variable you wish 
to delete. Then click the Delete button or press [Alt][D]. It will ask if you 
want to remove the variable from the form if it is located there. I always 
answer yes and then recreate with the new definition. You can redefine the 
variable data type instead of deleting it but I like to make sure I have a clean 
slate. In fact after deleting the variable I will save the form and then recreate 
it with the new data type. Just call me paranoid...

Best regards,
Mike Young

On Fri, 8 Jun 2001 17:17:20 -0400, J. Andrus wrote:

>RBWin 2000, Ver 6.5+
>
>       Column CONID was initially a text column.  Form FCONT had a 
variable field
>VCONID where I intended to determine the next alpha-numeric ID 
available in
>an entry EEP.  I would then set CONID = .VCONID after incrementing 
VCONID
>       I later decided to make column CONID integer and revised TCONT 
accordingly.
>Now, in the EEP I am unable to set VCONID = (.VCONID + 1) because 
VCONID
>continues to be defined as text when I enter the form even if I set it to
>integer prior to entering the form.  Also, in the EEP, if I set VCONID
>INTEGER (changing it from TEXT as the form is entered) I then get the 
error
>message "Your value does not have the same type or scale as your variable
>(2178)".
>       In the Form Designer Variable Object Properties in the section 
labeled
>Variable Name how does one delete a variable shown there so it can be
>redefined as a different data type based on the revised data type for the
>column?  I am unable to find anything in the User Reference section on 
Forms
>that tells he how to delete or modify a variable shown in the Variable Name
>pane of the Variable Object Properties.
>
>Jim
>
>



Reply via email to