David Higgs
Programmer
I would like to add a Column to Cursor 'curLogbook'.
I currently populate 'curLogbook' using:
SQLEXEC(SQLCONN,lcFields_List,'curLogbook')
I would like to add a "ALt_Col" Field and tried using the following code:
which resulted in an Error No: 1525 'Function not supported on remote tables'
As the following code works ok, I assume the error is because I'm using a remote MySQL Database to populate 'curlogbook' in the above example.
Regards,
David (G4NVB)
Recreational Developer and End User of VFP for my own personal use in 'Amateur Radio' and 'British Railways' related Applications.
I currently populate 'curLogbook' using:
SQLEXEC(SQLCONN,lcFields_List,'curLogbook')
I would like to add a "ALt_Col" Field and tried using the following code:
Code:
X = "Alt_Col Num(6)"
ALTER TABLE curLogbook ADD COLUMN &x
which resulted in an Error No: 1525 'Function not supported on remote tables'
As the following code works ok, I assume the error is because I'm using a remote MySQL Database to populate 'curlogbook' in the above example.
Code:
CREATE CURSOR Cntry_Band (Band C(3), Band_tot Num(1) )
INSERT INTO Cntry_Band (Band) VALUES ("160")
INSERT INTO Cntry_Band (Band) VALUES ("80")
INSERT INTO Cntry_Band (Band) VALUES ("60")
X = "Alt_Col Num(6)"
ALTER TABLE Cntry_Band ADD COLUMN &x
Regards,
David (G4NVB)
Recreational Developer and End User of VFP for my own personal use in 'Amateur Radio' and 'British Railways' related Applications.