Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Not so easy Function argument value or type error VFP6 SP4
Hi all,
I have been working on this for the better part of the day. I'm calling some code to test the value of a field from my menu item before I open a form.
The error I get when I compile to Exe and run the program is: Function argument value or type is in valid.
However when I test it in the debugger everything works great! Even if I run the exe from the debugger
Point in the right direction, Please?
Here is the menu set up and a sample of the code.
menu set up
File, Submenu, My Menu Item, Command, do prgtestfield
The code
sele myTable & the table is open(I checked)
if myfield.value=.T. &the field is logical(I checked)
do form frmname &have run the form from debugger(it works)
else
=messagebox("My message text", 0+16+0, "My Title")
enddo
Thank You
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement