It executes correctly, I checked the cval and it showed correct name, it
just does not put in field on form

Tom Hart

On Mon, Mar 18, 2024 at 6:56 PM Javier Valencia <
[email protected]> wrote:

> Have you "traced" the cide to se see in which line the is failing? Is it
> not retrieving the computer name or failing after that?
> You can run the CVAL command from the r> prompt and see if it executes
> correctly.
>
> Javier Valencia, PE
> Sent from my T-Mobile 4G LTE Device
>
>
> -------- Original message --------
> From: Tom Hart <[email protected]>
> Date: 3/18/24 6:19 PM (GMT-06:00)
> To: [email protected]
> Subject: [RBASE-L] - Rbase X5 to 11
>
> Just installed 11 on a new computer and when I run a compiled app
> something does not work.  I capture the computer name in a variable on
> startup and if a row does not exist(form new computer) a form will popup
> with the computer name in the field on the form.  This has worked for the
> last 10+ years but now it will not put the computer name in the field. This
> is the code I use
>
> SET VAR vcompname = (CVAL('computer'))
> SET VAR vrows INTEGER = 0
> SELECT COUNT(*) INTO vrows INDICATOR ivrows FROM storecomputer +
> WHERE compname = .vcompname
> IF vrows = 0 THEN
>   ENTER USING aacompinform
> ENDIF
> RETURN
>
> Basically if the row does not exist it adds new.  It works fine on the old
> computer with X5
>
> Tom Hart
>
> --
> For group guidelines, visit
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rbase-l/CABX9BNc6AH2vR0BFv2Nm8kCq7CFQxq8Z3R%3DBgvWxxEpiH_F-8w%40mail.gmail.com
> <https://groups.google.com/d/msgid/rbase-l/CABX9BNc6AH2vR0BFv2Nm8kCq7CFQxq8Z3R%3DBgvWxxEpiH_F-8w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> For group guidelines, visit
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rbase-l/E1rmMqS-006P7T-0I%40server126.web-hosting.com
> <https://groups.google.com/d/msgid/rbase-l/E1rmMqS-006P7T-0I%40server126.web-hosting.com?utm_medium=email&utm_source=footer>
> .
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/CABX9BNfVS%3DmBWHvRVW6gVmHsS-wLzbCe4WBKbZwGm8zkrFrcRw%40mail.gmail.com.

Reply via email to