ltannous
12th May 2005, 23:34
I had a requrest to allow the user to change order on a maintnence form.
The original form only had one option for search. My session is based on timrp943 table. When I added the option on the form to change the search order,and i scroll to the next record, I am getting the following errors:
host variable expected after ':'
Syntax error: '.' not expected
Found 2 errors durig scanning/parsing
Error 302 (SQL Syntax not correct) on select
How can I get this to work?
v_chandra
13th May 2005, 11:53
Hi
What kind of form is this 1, 2 or 3 also it would help if you can send screen dump. And how many indexes does this table have.
ltannous
13th May 2005, 15:21
I noticed that the table shows only one index, but in GTM i can see 2 indexes.
Is this hte issue??
It is a type 3 form.
v_chandra
17th May 2005, 08:37
Hi
When you say table shows only one index, do you mean its in table definition session in tools ?
And how GTM is showing 2 indexes if its only one table definition, is it the right company you are looking into ?, Also can you check is this table is the main table for the session.
Follow the steps once you are through with above
Actually the table definition and GTM should be in sync:
Step 1: Do a convert to run time for the table definition and run a reconfig also for same int he respective company
Step 2: If even then the problem exist, do a convert run time for the session also.
ltannous
17th May 2005, 20:46
The table with 2 indexes was in a different VRC. I copied this to the proper VRC, but still having the same errors.
Is is in the program script??
v_chandra
18th May 2005, 08:33
Hi
After copying it to proper VRC did you followed the 2 steps that i have mentioned in my previous reply. Try doing it, i think the problem should get resolve. Because Change order is Baan Standard and i don't think any thing in script should effect that.
And did you check that the table you are mentioning is Main table for that session, then only its going to work otherwise not.
kathuria
18th May 2005, 12:16
Hi,
You can also check with change key option in maintain session. There might be select only one index.
Sanjay
ltannous
18th May 2005, 18:23
Hi,
You can also check with change key option in maintain session. There might be select only one index.
Sanjay
Where is this change key option
v_chandra
19th May 2005, 07:28
Hi
If you are using BAAN IV it is on ttadv2100m000 Maintain Session, i think its Ctrl F4 just check it on this session. In that it has got how many index are currently applied to session .
ltannous
19th May 2005, 17:53
I have updated the indexes in the session, create runtime, but still the same errors as mentioned in the first posting. Would this have anything to do with the program script?