lashwarj
I think you misunderstand the concept of this forum. It's a bit like someone asking "How do I develop a complete VFP application?" And we are suppose to post the whole code for the application so he can achieve his whole application based on what we say. It's tedious and
some of the work has to come from him . We enjoy answering specific questions, but there is a limit. For example in this thread you are making 4 comments
in a row, without waiting for a response, so when it comes time to respond to your first comment, you have obviously either solved the issue and moved on.
lashwarj (IS/IT--Manageme) Sep 11, 2002
Ok this looks great but I have no clue what your doing, I havent tried it in my code yet. Here is what I am looking at on my end
Thisform.bldg_id.value = Thisform.location_info.Value
simple as that, I need to get the Thisform.bldg_id.Value to change the format...I mean is it as easy as this
x = Thisform.bldg_id.value
?TYPE("x"

SET DECI TO 0
y = VALU(X)
?TYPE("y"

y = INT(VALU(X))
?y
lashwarj (IS/IT--Manageme) Sep 11, 2002
And where would i place that, would it be right after the command button statement that sets the value
EX in my code would i put that right after the
Thisform.bldg_id.Value = Thisform.location_info.value
lashwarj (IS/IT--Manageme) Sep 11, 2002
After trying it in my code it gives me a valu.prg not found, so it is looking for a program file where you are delcaring the y value
lashwarj (IS/IT--Manageme) Sep 11, 2002
and then how do I refrence the converted value, would i still refrence it as
Thisform.bldg_id.value = Thisform.location_info.value
or would it be
Thisform.bldg.value = x
I dont know how you are doing it so I am sorry but I need details
Mike Gagnon