RGoldthorpe
Technical User
hi
Well it raining and wet and misserable outside
And I have a problem with a local views I have writen a program that runs to create the local view code below
OPEN DATABASE "data\data1.dbc" exclusive
CREATE SQL VIEW ctdview as SELECT * ;
FROM 'data1!contact details table';
WHERE ((ALLTRIM(contact_details_table.ctd_sorg)==?org) OR (EMPTY(?org)=.T.));
AND ((ALLTRIM(contact_details_table.ctd_saddress4==?regions) OR (EMPTY(?regions)=.T.)))
It creates the local view fine but when I try to modify the local view it comes up.
Index does not match table. Delete the index file and recreate the index.
is there anything obviously wrong with code does it mean contact_details_table or the view.
I really stuck it used to work and now it does not.
All help appreciated
Rach
Well it raining and wet and misserable outside
And I have a problem with a local views I have writen a program that runs to create the local view code below
OPEN DATABASE "data\data1.dbc" exclusive
CREATE SQL VIEW ctdview as SELECT * ;
FROM 'data1!contact details table';
WHERE ((ALLTRIM(contact_details_table.ctd_sorg)==?org) OR (EMPTY(?org)=.T.));
AND ((ALLTRIM(contact_details_table.ctd_saddress4==?regions) OR (EMPTY(?regions)=.T.)))
It creates the local view fine but when I try to modify the local view it comes up.
Index does not match table. Delete the index file and recreate the index.
is there anything obviously wrong with code does it mean contact_details_table or the view.
I really stuck it used to work and now it does not.
All help appreciated
Rach