Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many arguments - but only 23 parameters passed
Message
De
04/08/2004 12:07:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Too many arguments - but only 23 parameters passed
Divers
Thread ID:
00930681
Message ID:
00930681
Vues:
60
Hi all

I am working vfp6 and am calling a c function created by another programmer here.

my declare for the function is :
DECLARE INTEGER DriverChangeFields IN EduIntegrationServer short lnMode, ;
  STRING @lcDriverNo, STRING @lcDriverID, STRING @lcLastName, ;
  STRING @lcFirstName, STRING @lcMiddle, STRING @lcSSN, STRING @lcLicenseNo, ;
   STRING @lcLicenseState, STRING @lcLicenseClass, STRING @lcLicenseExpire, ;
    STRING @lcDatehired, STRING @lcDateTerminated, STRING @lcJobTitle, ;
    STRING @lcDepartment, STRING @lcFuelCard, STRING @lcDriverStatus, ;
    STRING @lcAddress, STRING @lcCity, STRING @lcZip, STRING @lcHomePhone, ;
    STRING @lcWorkPhone, STRING @lcBirthDate
  SELECT 'cDriverTemp'
  GO RECORD lnloop
  SCATTER memvar

lnReturn = VehicleChangeFields(lnMode, @m.emp_No, @m.emp_ID, @m.LastName, ;
 @m.FirstName, @m.Midname, @m.SSN, @m.Lic_No, @m.Lic_State, @m.Lic_Class, ;
 @m.LicExpire, @m.hiredate, @m.termDate, @m.Job_Title, @m.Department, ;
 @m.FuelCard, @m.Status, @m.Address, @m.City, @m.postalcode, @m.Phonenum, ;
 @m.Work_Phone, @m.BirthDate)
but vfp is stopping at the function call everything saying too many arguments. I am taking off the last strings one by one to see if I can get it to work. But can anyone see someother reason for it to do this??

TIA
Beth
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform