Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many arguments - but only 23 parameters passed
Message
From
04/08/2004 12:07:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Too many arguments - but only 23 parameters passed
Miscellaneous
Thread ID:
00930681
Message ID:
00930681
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform