Dennis:

Why don’t you TRACE your code and see where your variable changes from TEXT to INTEGER; my guess is that somewhere in your code the variable is redefined or deleted and then the system redefines it to what ever it thinks it should be. I have run into this type of problem before and it normally turn out to be a portion of code that I had forgotten about, such as an EEP that runs on entry to code or something similar; tracing your code will show every command that is executed.

Javier,

 

Javier Valencia, PE

President

Valencia Technology Group, L.L.C.

14315 S. Twilight Ln, Suite #14

Olathe, Kansas 66062-4578

Office (913)829-0888

Fax (913)649-2904

Cell (913)915-3137

================================================

Attention:

The information contained in this message and or attachments is intended

only for the person or entity to which it is addressed and may contain

confidential and/or privileged material.  Any review, retransmission,

dissemination or other use of, or taking of any action in reliance upon,

this information by persons or entities other than the intended recipient

is prohibited. If you received this in error, please contact the sender and

delete the material from all system and destroy all copies.

======================================================

 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Dennis Fleming
Sent: Thursday, September 29, 2005 7:59 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Leading zeros

 

RB 7.1

In a form, a part number (15 char text) is added, and saved in a variable.
When the user goes to another add form, the variable is used as the default part value.
But, if the part number is something like "012345" it is saved correctly in the part form but appears as "12345" in the second add form. (i.e., an integer value would drop leading zeros.)
I even set the variable to Text (again) in an "On Entry EEP"

Anyone else see this?

Dennis
*****


Dennis Fleming
IISCO
Phone: 570 775-7593
Mobile: 570 351-5290

Reply via email to